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

Commit a46459ad authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Avoid launching activity-based feature to force stop exist actiivty and...

Merge "Avoid launching activity-based feature to force stop exist actiivty and recreate it." into rvc-dev am: 9933478e

Change-Id: I23daf6f52cd942d4f7eebdc90b9ea494a82308e8
parents b69e7bd3 9933478e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1212,7 +1212,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub
        final Intent intent = new Intent();
        final Bundle bundle = ActivityOptions.makeBasic().setLaunchDisplayId(displayId).toBundle();
        intent.setComponent(name);
        intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
        intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        try {
            mContext.startActivityAsUser(intent, bundle, UserHandle.of(mCurrentUserId));
        } catch (ActivityNotFoundException ignore) {