Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af36623b authored by Richard Ho's avatar Richard Ho Committed by android-build-merger
Browse files

Merge \\\"added null check in doInBackground and if null, properly intializes...

Merge \\\"added null check in doInBackground and if null, properly intializes variables.\\\" into nyc-dev am: 07a37518 am: 354c9ff3
am: 43d05f9a

Change-Id: I921bf9f13a4f3c6e46aadfcd0478a3bee80ba99c
parents 3dbd763e 43d05f9a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -328,6 +328,13 @@ public class SettingsDrawerActivity extends Activity {
            return TileUtils.getCategories(SettingsDrawerActivity.this, sTileCache);
        }

        @Override
        protected void onPreExecute() {
            if (sConfigTracker == null || sTileCache == null) {
                getDashboardCategories();
            }
        }

        @Override
        protected void onPostExecute(List<DashboardCategory> dashboardCategories) {
            for (int i = 0; i < dashboardCategories.size(); i++) {