Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1185b830 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 437b648e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment