Skip to content

Commit ef0e259

Browse files
author
Jim Miller
committed
Fix 5458658: Fix memory leak in lock screen
This fixes a memory leak caused by not unregistering the info callback held when LockPatternKeyguardView gets destroyed. Change-Id: I8c008b6f8a5e8471bd0e1fd3939aa75175923ce5
1 parent e6fee18 commit ef0e259

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,7 @@ public void cleanUp() {
767767
this.removeView(mUnlockScreen);
768768
mUnlockScreen = null;
769769
}
770+
mUpdateMonitor.removeCallback(this);
770771
}
771772

772773
private boolean isSecure() {

0 commit comments

Comments
 (0)