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

Commit 501c59f1 authored by Achim Thesmann's avatar Achim Thesmann
Browse files

Allow Overrides on CompatChange

Test: atest android.server.wm.BackgroundActivityLaunchTest ShortcutManagerStartShortcutTest AccessibilityPrivacySourceTest NotificationListenerCheckTest
Change-Id: Ied6581d5d25b35904db65f41c793e728ab585d91
parent 027deb4f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import android.app.PendingIntent;
import android.app.compat.CompatChanges;
import android.compat.annotation.ChangeId;
import android.compat.annotation.EnabledAfter;
import android.compat.annotation.Overridable;
import android.content.IIntentReceiver;
import android.content.IIntentSender;
import android.content.Intent;
@@ -65,6 +66,7 @@ public final class PendingIntentRecord extends IIntentSender.Stub {
    /** If enabled BAL are prevented by default in applications targeting U and later. */
    @ChangeId
    @EnabledAfter(targetSdkVersion = Build.VERSION_CODES.TIRAMISU)
    @Overridable
    private static final long DEFAULT_RESCIND_BAL_PRIVILEGES_FROM_PENDING_INTENT_SENDER = 244637991;
    private static final String ENABLE_DEFAULT_RESCIND_BAL_PRIVILEGES_FROM_PENDING_INTENT_SENDER =
            "enable_default_rescind_bal_privileges_from_pending_intent_sender";