diff options
| author | 2021-12-16 15:06:29 -0500 | |
|---|---|---|
| committer | 2021-12-16 15:06:29 -0500 | |
| commit | 38bb7c116ffeced40f0ec1cbd745c6739a1887c7 (patch) | |
| tree | b9a008c9e827fd65b8c493b9ce033a4897c80425 | |
| parent | 778c95ce7c540745bd647ac00b244b8ec044434b (diff) | |
Unregister the dialog listener on detached
We don't want leaks!
Test: manual
Fixes: 211010342
Change-Id: Iab6e7cd0c414ec845d25ab50d2071fd6b834e4a1
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/biometrics/UdfpsAnimationViewController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsAnimationViewController.java b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsAnimationViewController.java index 07aec6994bd0..73e3aecd8b63 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsAnimationViewController.java +++ b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsAnimationViewController.java @@ -75,7 +75,7 @@ abstract class UdfpsAnimationViewController<T extends UdfpsAnimationView> @Override protected void onViewDetached() { mPanelExpansionStateManager.removeExpansionListener(mPanelExpansionListener); - mDialogManager.registerListener(mDialogListener); + mDialogManager.unregisterListener(mDialogListener); mDumpManger.unregisterDumpable(getDumpTag()); } |