OSDN Git Service

merge fix
authorRichard Ho <horichard@google.com>
Thu, 16 Jun 2016 16:29:07 +0000 (09:29 -0700)
committerRichard Ho <horichard@google.com>
Thu, 16 Jun 2016 16:29:07 +0000 (09:29 -0700)
Change-Id: Ib937f672769dc19b8706c8a0b695ed8a08398df4

packages/SettingsLib/src/com/android/settingslib/drawer/SettingsDrawerActivity.java

index a4742c1..6658c14 100644 (file)
@@ -319,9 +319,6 @@ public class SettingsDrawerActivity extends Activity {
     private class CategoriesUpdater extends AsyncTask<Void, Void, List<DashboardCategory>> {
         @Override
         protected List<DashboardCategory> doInBackground(Void... params) {
-            if (sConfigTracker == null || sTileCache == null) {
-                getDashboardCategories();
-            }
             if (sConfigTracker.applyNewConfig(getResources())) {
                 sTileCache.clear();
             }