Loading services/core/java/com/android/server/policy/PhoneWindowManager.java +4 −8 Original line number Diff line number Diff line Loading @@ -1665,14 +1665,10 @@ public class PhoneWindowManager implements WindowManagerPolicy { private long getAccessibilityShortcutTimeout() { ViewConfiguration config = ViewConfiguration.get(mContext); try { return Settings.Secure.getIntForUser(mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, mCurrentUserId) == 0 Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0, mCurrentUserId) == 0 ? config.getAccessibilityShortcutKeyTimeout() : config.getAccessibilityShortcutKeyTimeoutAfterConfirmation(); } catch (Settings.SettingNotFoundException e) { throw new RuntimeException(e); } } private long getScreenshotChordLongPressDelay() { Loading Loading
services/core/java/com/android/server/policy/PhoneWindowManager.java +4 −8 Original line number Diff line number Diff line Loading @@ -1665,14 +1665,10 @@ public class PhoneWindowManager implements WindowManagerPolicy { private long getAccessibilityShortcutTimeout() { ViewConfiguration config = ViewConfiguration.get(mContext); try { return Settings.Secure.getIntForUser(mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, mCurrentUserId) == 0 Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0, mCurrentUserId) == 0 ? config.getAccessibilityShortcutKeyTimeout() : config.getAccessibilityShortcutKeyTimeoutAfterConfirmation(); } catch (Settings.SettingNotFoundException e) { throw new RuntimeException(e); } } private long getScreenshotChordLongPressDelay() { Loading