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

Commit df7dfcb9 authored by Willie Koomson's avatar Willie Koomson Committed by Android (Google) Code Review
Browse files

Merge "Allow BAL for pin request callback" into main

parents 503a9f76 7f84a891
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 */
package com.android.server.pm;

import static android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_DENIED;
import static android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS;

import static com.android.server.pm.ShortcutUser.DIRECTORY_LAUNCHERS;
import static com.android.server.pm.ShortcutUser.DIRECTORY_PACKAGES;
@@ -4321,7 +4321,7 @@ public class ShortcutService extends IShortcutService.Stub {
        try {
            ActivityOptions options = ActivityOptions.makeBasic()
                    .setPendingIntentBackgroundActivityStartMode(
                            MODE_BACKGROUND_ACTIVITY_START_DENIED);
                            MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS);
            intentSender.sendIntent(mContext, 0 /* code */, extras,
                    null /* requiredPermission */, options.toBundle(),
                    null /* executor */, null /* onFinished*/);