Xiaozhen Lin 7a89f15fed Destroy activity in onStop()
Pixel Imprint will call onDestroy() whenever its menu is invisible.
(https://source.corp.google.com/tm-dev/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/FingerprintSettings.java;l=547?sq=package:tm-dev)
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
Test: manual
Change-Id: Idc0c115fc2061d863f9cab2aed99c04340b827f8
2023-04-13 17:29:48 +00:00
2022-04-14 09:55:36 +00:00
2019-04-04 12:49:15 -07:00
2019-11-25 20:28:35 +09:00
2023-04-12 01:48:48 +00:00
2022-10-06 09:10:38 -07:00
2022-10-13 17:21:08 +08:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%