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

Skip to content
Commit 15c81089 authored by Thomas Stuart's avatar Thomas Stuart
Browse files

fix test failure by wrapping createContextAsUser with catch block

android growler reported some new test failures in
android.telephony2.cts.TelephonyManagerNoPermissionTest due to a
recent change in TelecomManager#enforceCallingPackage.  The test
failed at the createContextAsUser API call in
callingUidMatchesPackageManagerRecords.  I've added a try/catch
around the createContextAsUser and the method will throw a SE
if the catch block is executed.

I've also fixed some log spew in isPrivilegedUid

Test: manual
Bug: 258729003
Change-Id: I0877a8410349cfe613d05cd71a615704ca5b2720
parent a9a45f33
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