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

Commit cd61471a authored by Achim Thesmann's avatar Achim Thesmann
Browse files

Remove @Overridable from CompatChange flag

Since the change is also flag guarded there is no need for the change to
be overridable.

Bug: 311435342
test: atest CtsAppCompatHostTestCases:com.android.cts.appcompat.CompatChangesValidConfigTest#testOnlyAllowedlistedChangesAreOverridable
Change-Id: If3831072343836ecae3ed83f1116892224aefa53
parent 6c52f5b6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -46,7 +46,6 @@ import android.app.BackgroundStartPrivileges;
import android.app.compat.CompatChanges;
import android.compat.annotation.ChangeId;
import android.compat.annotation.EnabledAfter;
import android.compat.annotation.Overridable;
import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.PackageManager;
@@ -88,7 +87,6 @@ public class BackgroundActivityStartController {
    /** If enabled the creator will not allow BAL on its behalf by default. */
    @ChangeId
    @EnabledAfter(targetSdkVersion = Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
    @Overridable
    private static final long DEFAULT_RESCIND_BAL_PRIVILEGES_FROM_PENDING_INTENT_CREATOR =
            296478951;
    public static final ActivityOptions ACTIVITY_OPTIONS_SYSTEM_DEFINED =