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

Commit 6341914d authored by yuanjiahsu's avatar yuanjiahsu Committed by Andrew Sapperstein
Browse files

Remove temporarily pre-grant permission

Remove temporarily pre-grant permission with STOPSHIP during droidfood.

Bug: 128289173
Test: Manually
Merged-In: I236aaff3f742981b2212030bd9f8cede84bcf748
Change-Id: I236aaff3f742981b2212030bd9f8cede84bcf748
parent a74894d5
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -744,12 +744,6 @@ public final class DefaultPermissionGrantPolicy {
                        TelephonyManager.ACTION_EMERGENCY_ASSISTANCE, userId),
                        TelephonyManager.ACTION_EMERGENCY_ASSISTANCE, userId),
                userId, CONTACTS_PERMISSIONS, PHONE_PERMISSIONS);
                userId, CONTACTS_PERMISSIONS, PHONE_PERMISSIONS);


        // STOPSHIP(b/128289173): remove once EmergencyInfo app was replaced.
        grantSystemFixedPermissionsToSystemPackage(
                getDefaultSystemHandlerActivityPackage(
                        "com.android.emergency.action.EMERGENCY_ASSISTANCE", userId),
                userId, CONTACTS_PERMISSIONS, PHONE_PERMISSIONS);

        // NFC Tag viewer
        // NFC Tag viewer
        Intent nfcTagIntent = new Intent(Intent.ACTION_VIEW)
        Intent nfcTagIntent = new Intent(Intent.ACTION_VIEW)
                .setType("vnd.android.cursor.item/ndef_msg");
                .setType("vnd.android.cursor.item/ndef_msg");