Merge "Fixes a bug in shortcut key." into nyc-dev
This commit is contained in:
@@ -3396,7 +3396,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode);
|
IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode);
|
||||||
if (shortcutService != null) {
|
if (shortcutService != null) {
|
||||||
try {
|
try {
|
||||||
shortcutService.notifyShortcutKeyPressed(shortcutCode);
|
if (isUserSetupComplete()) {
|
||||||
|
shortcutService.notifyShortcutKeyPressed(shortcutCode);
|
||||||
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
mShortcutKeyServices.delete(shortcutCode);
|
mShortcutKeyServices.delete(shortcutCode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user