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

Commit 32952843 authored by Thomas Stuart's avatar Thomas Stuart
Browse files

add packageName cross-check for TM#getCallState

add enforceCallingPackage check to getCallState but also allow the
Process.SHELL_UID and Process.SYSTEM_UID to bypass.  Allowing the
Shell and system to bypass the check prevents a SE from being thrown
in the event the UID check is wrong.

bug: 236813210
Test: manual.  CTS test would be too fragile.
Change-Id: I6b00099548bcf8e407ba57638f08aaea595f6c8d
parent 2ee19dc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment