Loading
Password clearing in Settings App
Pixel Imprint will call onDestroy() whenever its menu is invisible. (https://cs.android.com/android/platform/superproject/+/master:packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/FingerprintSettings.java;l=639?q=packages%2Fapps%2FSettings%2Fsrc%2Fcom%2Fandroid%2Fsettings%2Fbiometrics%2Ffingerprint%2FFingerprintSettings.java&ss=android) However, Screen lock should have the same behavior as Pixel Imprint but it doesn't. onDestroy() for Screen lock should be called whenever we exit the menu or the menu becomes invisible. Otherwise, the password may be leaked to RAM unexpectedly in some situations. Bug: 233373529 Bug: 278488549 Bug: 278530059 Test: manual Change-Id: Ib11af7073aa1c49096a66c9f5a462e7caf18df5e