Merge "Don't run postexecute if activity is gone." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a48cb8d978
@@ -102,6 +102,9 @@ public class AppNotificationSettings extends NotificationSettingsBase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPostExecute(Void unused) {
|
protected void onPostExecute(Void unused) {
|
||||||
|
if (getHost() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
populateChannelList();
|
populateChannelList();
|
||||||
}
|
}
|
||||||
}.execute();
|
}.execute();
|
||||||
|
Reference in New Issue
Block a user