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
This commit is contained in:
Jim Miller
2011-10-14 13:46:19 -07:00
parent e6fee18d16
commit ef0e259d59

View File

@@ -767,6 +767,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase implements Handler
this.removeView(mUnlockScreen);
mUnlockScreen = null;
}
mUpdateMonitor.removeCallback(this);
}
private boolean isSecure() {