Skip to content

Commit

Permalink
fix onStop
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Jul 1, 2024
1 parent 22c9631 commit 6bccb19
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ protected void onStart() {
@Override
protected void onStop() {
super.onStop();
if (broadcastReceiver != null) {
if (appRestrictionChange != null) {
unregisterReceiver(appRestrictionChange);
broadcastReceiver = null;
appRestrictionChange = null;
}
}

Expand Down

0 comments on commit 6bccb19

Please sign in to comment.