Commit 242fc03c authored by fallenstardust's avatar fallenstardust

安卓P允许销毁广播

parent c9a2393f
...@@ -109,7 +109,9 @@ public class MainActivity extends HomeActivity{ ...@@ -109,7 +109,9 @@ public class MainActivity extends HomeActivity{
protected void onDestroy() { protected void onDestroy() {
YGOStarter.onDestroy(this); YGOStarter.onDestroy(this);
super.onDestroy(); super.onDestroy();
mResCheckTask.unregisterMReceiver(); if(mResCheckTask != null) {
mResCheckTask.unregisterMReceiver();
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment