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

Commit 605ec5cd authored by Muyuan Li's avatar Muyuan Li Committed by Android (Google) Code Review
Browse files

Merge "Fixing shortcut key duplicate registration bug" into nyc-dev

parents ed58f5f0 24d24acf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3360,7 +3360,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            throws RemoteException {
        synchronized (mLock) {
            IShortcutService service = mShortcutKeyServices.get(shortcutCode);
            if (service != null && service.asBinder().isBinderAlive()) {
            if (service != null && service.asBinder().pingBinder()) {
                throw new RemoteException("Key already exists.");
            }