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

Commit be6c028b authored by Makoto Onuki's avatar Makoto Onuki Committed by android-build-merger
Browse files

Merge "Do not deliver INSTALL_SHORTCUT." into oc-dev

am: ecabc596

Change-Id: I0ffd46ea6c2ce53e509777cbbff7109a4ea0c0e5
parents 5cfba6f7 ecabc596
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -19147,6 +19147,12 @@ public class ActivityManagerService extends IActivityManager.Stub
                case android.security.KeyChain.ACTION_TRUST_STORE_CHANGED:
                    mHandler.sendEmptyMessage(HANDLE_TRUST_STORAGE_UPDATE_MSG);
                    break;
                case "com.android.launcher.action.INSTALL_SHORTCUT":
                    // As of O, we no longer support this broadcasts, even for pre-O apps.
                    // Apps should now be using ShortcutManager.pinRequestShortcut().
                    Log.w(TAG, "Broadcast " + action
                            + " no longer supported. It will not be delivered.");
                    return ActivityManager.BROADCAST_SUCCESS;
            }
            if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||