commit | 3cac4c660ad0392c34f0c688bfc188a10d4f28d3 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Tue Jan 21 14:33:30 2020 -0800 |
committer | Janis Danisevskis <jdanis@google.com> | Fri Feb 07 08:14:22 2020 -0800 |
tree | 69f347888f58035438495fa963db3d6ae6283feb | |
parent | 58e675567c446b77c6ec83d8e07fecbd829f60ae [diff] |
Add permission check on onKeyguardVisibilityChanged Without this permission check any app can toggle the locked state of keymaster once it has been unlocked for the first time. Bug: 144285084 Test: Manually tested with debugger that the requred code paths are run. Change-Id: Idb8a200dc2963e1085e9fddd0c565c5172465e65 Merged-In: Idb8a200dc2963e1085e9fddd0c565c5172465e65 (cherry picked from commit 21f452c3722ad7fa39c7d84c4723bcbb723ab164)