static int[] uncompact(int compactConstraints) {
    int length = 0;
    for (int c : ALL_CONSTRAINTS) {
      length += (compactConstraints & c) == c ? 1 : 0;
    }
    int[] list = new int[length];

    int i = 0;
    for (int c : ALL_CONSTRAINTS) {
      if ((compactConstraints & c) == c) {
        list[i++] = c;
      }
    }

    return list;
  }
Unpack a single int into an array of constraints.

@see #compact(int[])
jobdispatcher/src/main/java/com/firebase/jobdispatcher/Constraint.java