diff options
| author | 2023-10-11 22:26:11 +0800 | |
|---|---|---|
| committer | 2023-10-11 14:33:59 +0000 | |
| commit | 1185b830f5db9cf6bd4caa75cc660c1edb90e8be (patch) | |
| tree | e848d8b40c53167c6eb05ef03388dc7a6b7b04be /libs/androidfw/ApkParsing.cpp | |
| parent | 437b648ef23710698ee67ec4d8f9f11dd26009fe (diff) | |
Clear calling identity for trusted change from keyguard
It is an internal method (not aidl of WMS) which can only be called
from keyguard service (IKeyguardStateCallback). And it is not
sensitive to refresh visibility based on the current state of system.
Otherwise if there is an activity that allows to resume after the
state change, it could causes random SecurityException if systemui
doesn't declare to use such system permission.
Bug: 302961176
Test: Simulate triggering IKeyguardStateCallback#onTrustChanged
      from keyguard.
Change-Id: I0a98937d0c02aa0662ec168c9088335738fe779d
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions