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

Commit 43d05f9a 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

Change-Id: I3b9e43d334885bd32e4cf2cbe6b17305c77d9d67
parents a7943601 354c9ff3
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++) {