Merge "Don't run postexecute if activity is gone." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-03-29 18:19:03 +00:00
committed by Android (Google) Code Review

View File

@@ -102,6 +102,9 @@ public class AppNotificationSettings extends NotificationSettingsBase {
@Override
protected void onPostExecute(Void unused) {
if (getHost() == null) {
return;
}
populateChannelList();
}
}.execute();