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

Commit 24d24acf authored by Muyuan Li's avatar Muyuan Li
Browse files

Fixing shortcut key duplicate registration bug

Change-Id: I1300a14519b1aac701b105ed16144bb3ef57e73b
(cherry picked from commit 75bca3a5364adbc37d27aa5ed6aa5b36547137db)
parent f311b01b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3347,7 +3347,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.");
            }