commit | 670a30e7664844ba4177a7183805127cdc32edd1 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Thu Jun 11 22:45:35 2020 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Fri Jun 12 15:56:04 2020 +0100 |
tree | 3aca63f0c950846125e75c8027044d87c53e62db | |
parent | 21ac98e2f12abe49260a3f77b5825ec985ec1d03 [diff] |
Remove password shards from memory Force a garbage collection and zeroize some fields after Activity finishes Test: Goes through password change flow, then grab a heap dump via adb shell 'am dumpheap $(pidof com.android.settings) /data/local/tmp/settings.hprof' And grep for password in the dump Bug: 144537463 Change-Id: Idd0a04ada98900aeb2a6d20bb1270a4a4aec2cfd