summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2020-06-25 17:54:20 +0100
committerRubin Xu <rubinxu@google.com>2020-06-26 16:22:13 +0100
commitc6f4ebf799a25028e5f0deff4d370a6f0b30db8e (patch)
tree327b70eec51373f15cefd1591b02c2f5e149c330 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente658c76b5c1cdc67cf593ad000c5b862e31764fd (diff)
Force garbage collection after credential verification
This is to sanitize memory containing sensitive user lockscreen credentials. Most of LockSettingsService already sanitizes credentials when needed, but there is one copy of the credential unmarshalled from the binder transaction and passed into LSS as argument which is not easily sanitiziable manually except by forcing a garbage collection. Bug: 144537463 Test: atest com.android.server.locksettings Test: go through Settings password change flow, then take a heapdump of system_server and verifies no password shard exists in the dump. Change-Id: I3b0a2dab5766c40bc3ba9b38311c039337c408d3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions