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

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

Don't run postexecute if activity is gone.

Change-Id: I9133a4d9e4e0fd2a92cc4df786e0bc5407d981fe
Fixes: 36551766
Test: monkey tests
parent d40ea0a9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -102,6 +102,9 @@ public class AppNotificationSettings extends NotificationSettingsBase {

            @Override
            protected void onPostExecute(Void unused) {
                if (getHost() == null) {
                    return;
                }
                populateChannelList();
            }
        }.execute();