Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef0e259d authored by Jim Miller's avatar Jim Miller
Browse files

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
parent e6fee18d
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -767,6 +767,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase implements Handler
            this.removeView(mUnlockScreen);
            this.removeView(mUnlockScreen);
            mUnlockScreen = null;
            mUnlockScreen = null;
        }
        }
        mUpdateMonitor.removeCallback(this);
    }
    }


    private boolean isSecure() {
    private boolean isSecure() {