Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Unregister PrivacyOptionsView ActivityLifecycleCallbacks on activity …
Browse files Browse the repository at this point in the history
…destruction. Fixes #1627 (#1686)
  • Loading branch information
bluemarvin authored and keianhzo committed Aug 28, 2019
1 parent 00d98ae commit 85ab9b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public void onActivitySaveInstanceState(Activity activity, Bundle outState) {

@Override
public void onActivityDestroyed(Activity activity) {

activity.getApplication().unregisterActivityLifecycleCallbacks(mLifeCycleListener);
}
};

Expand Down

0 comments on commit 85ab9b8

Please sign in to comment.