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

Commit bebd2a48 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Null check in onPostExecute.

Change-Id: I8bc8c0b062583b4b9c54152c516f160df4f645e7
parent 514b81d2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -331,9 +331,11 @@ public class ZenModeAutomationSettings extends ZenModeSettingsBase {
        protected void onPostExecute(Drawable icon) {
            if (icon != null) {
                final Preference pref = prefReference.get();
                if (pref != null) {
                    pref.setIcon(icon);
                }
            }
        }
    }

}