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

Skip to content
Commit e8874891 authored by Ravindra Thattahalli Javaraiah's avatar Ravindra Thattahalli Javaraiah Committed by Linux Build Service Account
Browse files

Fix permission check for deleting SMS on UICC.

When accessing SMS stored on UICC via TelephonyProvider, we need to
use the com.android.phone UID for the call to IccSmsInterfaceManager
to avoid a UID mismatch failure in the app ops check. Change the
permission check method call from enforceCallingPermission() to
enforceCallingOrSelfPermission() so the check doesn't fail.

Change-Id: Ie5fbf2b0d9c18ed4822775c3cf4af9ba671e5d4a
CRs-Fixed: 562711
parent f5e72e52
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