@Override
 public void onStop() {
   super.onStop();
   if (mSettingsObserver != null) {
     mContentQueryMap.deleteObserver(mSettingsObserver);
   }
   mContentQueryMap.close();
 }
 public final ContentValues c(long paramLong)
 {
   if (b) {}
   for (ContentValues localContentValues = a.getValues(Long.toString(paramLong)); localContentValues != null; localContentValues = null) {
     return localContentValues;
   }
   return c;
 }
  @Override
  public void onResume() {
    super.onResume();

    // Make sure we reload the preference hierarchy since some of these settings
    // depend on others...
    createPreferenceHierarchy();
    updateLocationToggles();

    if (mSettingsObserver == null) {
      mSettingsObserver =
          new Observer() {
            @Override
            public void update(Observable o, Object arg) {
              updateLocationToggles();
            }
          };
    }

    mContentQueryMap.addObserver(mSettingsObserver);
  }
  @Override
  public void onResume() {
    super.onResume();

    // Make sure we reload the preference hierarchy since some of these settings
    // depend on others...
    createPreferenceHierarchy();

    final LockPatternUtils lockPatternUtils = mChooseLockSettingsHelper.utils();
    if (mVisiblePattern != null) {
      mVisiblePattern.setChecked(lockPatternUtils.isVisiblePatternEnabled());
    }
    if (mTactileFeedback != null) {
      mTactileFeedback.setChecked(lockPatternUtils.isTactileFeedbackEnabled());
    }
    if (mPowerButtonInstantlyLocks != null) {
      mPowerButtonInstantlyLocks.setChecked(lockPatternUtils.getPowerButtonInstantlyLocks());
    }

    mShowPassword.setChecked(
        Settings.System.getInt(getContentResolver(), Settings.System.TEXT_SHOW_PASSWORD, 1) != 0);

    KeyStore.State state = KeyStore.getInstance().state();
    mResetCredentials.setEnabled(state != KeyStore.State.UNINITIALIZED);

    // Location Settings
    updateLocationToggles();

    if (mSettingsObserver == null) {
      mSettingsObserver =
          new Observer() {
            public void update(Observable o, Object arg) {
              updateLocationToggles();
            }
          };
      mContentQueryMap.addObserver(mSettingsObserver);
    }
  }
 public dqc(Cursor paramCursor)
 {
   a = new dqe(paramCursor, "_id");
   d.clear();
   a.addObserver(new dqd(this));
 }
 final void c()
 {
   for (;;)
   {
     Object localObject2;
     long l1;
     boolean bool;
     try
     {
       b = true;
       d.clear();
       Iterator localIterator = a.getRows().entrySet().iterator();
       if (!localIterator.hasNext()) {
         break;
       }
       localObject2 = (Map.Entry)localIterator.next();
       String str = (String)((Map.Entry)localObject2).getKey();
       if (str == null) {
         continue;
       }
       l1 = Long.valueOf(str).longValue();
       localObject2 = ((ContentValues)((Map.Entry)localObject2).getValue()).getAsString("canonicalName");
       d.put(localObject2, Long.valueOf(l1));
       if ("^f".equals(localObject2))
       {
         e = l1;
         if ((e == 0L) || (f == 0L) || (g == 0L) || (h == 0L) || (i == 0L) || (j == 0L) || (k == 0L) || (l == 0L) || (m == 0L)) {
           break label701;
         }
         bool = true;
         E = Boolean.valueOf(bool);
         continue;
       }
       if (!"^i".equals(localObject2)) {
         break label250;
       }
     }
     finally {}
     f = l1;
     continue;
     label250:
     if ("^r".equals(localObject2))
     {
       g = l1;
     }
     else if ("^u".equals(localObject2))
     {
       h = l1;
     }
     else if ("^k".equals(localObject2))
     {
       i = l1;
     }
     else if ("^s".equals(localObject2))
     {
       j = l1;
     }
     else if ("^t".equals(localObject2))
     {
       k = l1;
     }
     else if ("^b".equals(localObject2))
     {
       l = l1;
     }
     else if ("^g".equals(localObject2))
     {
       m = l1;
     }
     else if ("^^cached".equals(localObject2))
     {
       n = l1;
     }
     else if ("^^out".equals(localObject2))
     {
       o = l1;
     }
     else if ("^io_im".equals(localObject2))
     {
       p = l1;
     }
     else if ("^^important".equals(localObject2))
     {
       q = l1;
     }
     else if ("^^unimportant".equals(localObject2))
     {
       r = l1;
     }
     else if ("^^sending".equals(localObject2))
     {
       s = l1;
     }
     else if ("^^failed".equals(localObject2))
     {
       t = l1;
     }
     else if ("^p_mtunsub".equals(localObject2))
     {
       u = l1;
     }
     else if ("^p_aunsub".equals(localObject2))
     {
       v = l1;
     }
     else if ("^punsub".equals(localObject2))
     {
       w = l1;
     }
     else if ("^p_abs".equals(localObject2))
     {
       x = l1;
     }
     else if ("^p_bs".equals(localObject2))
     {
       y = l1;
     }
     else if ("^sua".equals(localObject2))
     {
       z = l1;
     }
     else if ("^p_ag".equals(localObject2))
     {
       A = l1;
     }
     else if ("^p".equals(localObject2))
     {
       B = l1;
     }
     else if ("^sps".equals(localObject2))
     {
       C = l1;
     }
     else if ("^lcs".equals(localObject2))
     {
       D = l1;
       continue;
       label701:
       bool = false;
     }
   }
 }