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

Commit 354c9ff3 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

Change-Id: Icd7c52967c634dbdbef55166523039f4004e4d9a
parents 83806ba3 07a37518
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -325,6 +325,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++) {