summaryrefslogtreecommitdiffstats
path: root/services/core/java/com/android/server/policy/PhoneWindowManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Move keyDisabled and gamma to serviceDanesh M2016-03-141-1/+11
| | | | | | | | | This allows us to keep track of user changes, and update preferences. CYNGNOS-1166 Change-Id: I8809c346c748e39e5d64b9e56a2b7623a0d0131b
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-111-5/+13
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 22 Change-Id: I0d31899b234156a91accb61e0a7fb3d8d16d5062
| * Revert "Don't dispatch when non-interactive and the display is off."Joe LaPenna2015-11-171-5/+3
| | | | | | | | | | | | | | | | | | This reverts commit 2ccf0c8e636fd3be75c3a07f4cf60d72a4cfaa28. BUG: 22422588 BUG: 25067918 Change-Id: I916c8bb19cd6a73c0be4bd3a0e3112938651e775
| * Merge "Prevent recents from coming up when in SUW" into mnc-dr-devPuneet Kumar2015-10-241-1/+1
| |\ | | | | | | | | | | | | | | | | | | am: ca9c43b27b * commit 'ca9c43b27b9e3bc007e731fe3a214cbed3edf8f3': Prevent recents from coming up when in SUW
| * \ am 79176379: Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-devTim Murray2015-10-021-0/+2
| |\ \ | | | | | | | | | | | | | | | | * commit '791763796e5f21e34c3ae81c1faad2a4c1a515dd': Send POWER_HINT_INTERACTION on rotate.
| * \ \ am e1de9f67: Fix black KeyguardJorim Jaggi2015-09-241-3/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'e1de9f674575df3b17e475c4f32dd93d33e596e3': Fix black Keyguard
| * | | | Fix build due to merge of duplicate variable.Bryce Lee2015-09-161-1/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I1e8bad32b2118542408b6d8b87302861e3873d32
| * | | | am 952d5b33: Merge "Send power hint on fling gestures." into mnc-dr-devTim Murray2015-09-171-0/+10
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '952d5b334ccdf9cab0f56673861906e59d4e9933': Send power hint on fling gestures.
| * \ \ \ \ am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManagerJorim Jaggi2015-09-121-0/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '84dc08a208eea7a4ddf043cadbb28987cf90ae22': Dump Keyguard state in SystemUI and PhoneWindowManager
| * \ \ \ \ \ resolved conflicts for 5d0e02b6 to cw-e-devJorim Jaggi2015-09-091-2/+9
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id974d29581304dc644659d1c470b5413d847944b
| * | | | | | | Handle KEYCODE_SOFT_SLEEP from Ungaze.Nick Armstrong-Crews2015-09-071-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for Ungaze to trigger "soft sleep" (respecting wake locks); operates by sending new KEYCODE_SOFT_SLEEP to PhoneWindowManager, which calls PowerManagerService's new method setUserInactiveOverride (thereby causing immediate sleep, modulo wakelocks, upon next iteration of PowerManagerService's main loop). BUG: b/23589870 Change-Id: Iddafdde923605d119075e890eeda5d3fd3fd2bc7
| * | | | | | | Revert "Handle KEYCODE_SOFT_SLEEP from Ungaze."Nick Armstrong-Crews2015-09-081-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 677adf1e66ba83b8fb2c849c181303b35bd489bc. Hiding new keycode to prevent change to public API before resubmitting. Change-Id: Ic43273dd0c7ade1d51a36b77f363543f1df466e8
| * | | | | | | Handle KEYCODE_SOFT_SLEEP from Ungaze.Nick Armstrong-Crews2015-09-041-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for Ungaze to trigger "soft sleep" (respecting wake locks); operates by sending new KEYCODE_SOFT_SLEEP to PhoneWindowManager, which calls PowerManagerService's new method setUserInactiveOverride (thereby causing immediate sleep, modulo wakelocks, upon next iteration of PowerManagerService's main loop). BUG: b/23589870 Change-Id: I24a96bd6db8ff28674c907f2898e49c4f6140209
* | | | | | | | Revert "PhoneWindowManager: add ability to use EdgeGestureService for system ↵Steve Kondik2016-03-101-86/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gestures." This reverts commit 04e1696c81b9796b45a5f3abcbc6748ff2199ab6. Change-Id: Ie3912b8d47015e82f6a7b6a07f84b8666d00923f
* | | | | | | | base: Fix proximity check on non power keyvm032016-03-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To test, enable "Settings >> Display >> Prevent accidental wake-up" and "Settings >> Buttons >> Home button Wake up device", hold your hand over the proximity sensor and turn your phone on by home key. Prior to this change, it will wake up the phone and after the change it will not. Change-Id: Ifd14ff2ad9cd2cbc64209b9cf19e3c0ee0b6f40f
* | | | | | | | ActivityManager : Remove POWER_OFF_ALARM_MODE HOME_KEY button overrideDanesh M2016-02-231-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is being removed for 2 reasons : 1) The feature sometimes enters in an inconsistent state where user is stuck in this mode even when its unintential. This is addressed by http://review.cyanogenmod.org/#/c/133956/ 2) There is a security concern regarding this being in System table. This means any third party app can toggle this setting and keep the user from exiting their app. Change-Id: I36393bda81e087264629d801b4bdf62b11837187 CYNGNOS-2119
* | | | | | | | base: Fix proximity check on power keyChristopher R. Palmer2016-02-201-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To test, enable "Settings >> Display >> Prevent accidental wakeup", hold your hand over the proximity sensor and turn your phone on. Prior to this change, it will wake up the phone and after the change it will not. Change-Id: Ied300108cebb31dedf228e85510abebb3e8a4152
* | | | | | | | SystemUI: handle camera launch gesture from keyhadlerRoman Birg2016-02-181-11/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes partial reverts: Revert "KeyHandler: don't break old interfaces" This reverts commit 31ecbdc5fcc1263e9028107858565d951798fd93. Revert "framework: move device key handler logic, fix gesture camera launch" This reverts commit db1b4e6e4880be1828342be9bc468d36565a2ef0. Ref: OPO-427 Change-Id: Ic15543a8f63ad4521ab0ab536d00224b0bd70f8c Signed-off-by: Roman Birg <roman@cyngn.com>
* | | | | | | | framework: move device key handler logic, fix gesture camera launchRoman Birg2016-02-101-44/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to make device camera gestures behave the same way as launching the camera by double tapping the power button, route DeviceKeyHandler logic through the GestureLauncherService. A callback is used in order to avoid publishing the GestureLauncherService into the System service registry, because the KeyHandler code cannot directly access services local to the system process. OPO-427 Change-Id: I2a8860b278f65ccf31bfee151513d8a23ab746c5 Signed-off-by: Roman Birg <roman@cyngn.com>
* | | | | | | | base: fix window bounds for left hand navigationbarJorge Ruesga2016-02-011-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently in left-hand navigationbar mode all drawerlayouts have an inconsistent presentation because the actual window size calculation code only takes into consideration the content view. This problem is not present in the rest of the navigation modes because of the nature of the position of the navigation bar. This patch fix the display and content layouts calculation. To repro just set navigation mode to hand-left and access an app with a drawerlayout (xe:the email app) in landscape mode. Change-Id: I1394f39f4f5e7e6ac50b9558657685e86547acf3 TICKET: CYNGNOS-1748
* | | | | | | | Answer call with hardware HOME button (2/2)Oleksandr Byelkin2016-01-251-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preparation to winter time OPO-368 Change-Id: I1d54388cdaf478533bea7ef89d7d21c8f8af3f52
* | | | | | | | policy: disable EdgeGestureServiceScott Mertz2016-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing uses this anymore, and it causes issues on high dpi devices. EdgeGestureTracker doesn't allow for much touch slop in detecting edge gestures. Many supported CM devices incur a certain amount of slop when starting from an edge. For example, this case is often observed: (x,y), from portrait orientation: pt1: (100,10) pt2: (102,0) pt3: (102,12) pt4: (102,16) ... EdgeGestureTracker determines this can't be a valid swipe down because of the touch slop from pt1 -> pt2. It observes that you've started swiping up and cancels detection at that point. SystemGesturesPointerEventListener doesn't immediately stop detecting an edge gesture when pt2 is observed. It continues to try to detect the gesture and effectively ignores the slop. SAMBAR-1233 Change-Id: I3734d8628392bfa010835ef6c271456a1bc509cd
* | | | | | | | Lockscreen: Introduce window type TYPE_KEYGUARD_PANELd34d2015-12-181-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This window type will be used by third party keyguard components so that they can be layered within the keyguard while running in their own process. This window type will use the same Z ordering as TYPE_STATUS_BAR_SUB_PANEL, which is currently unused. Change-Id: Ie18caf12a55ba79a5c56a36ca79b3a6e377d7529
* | | | | | | | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-1/+1
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 3 Change-Id: I59b9e5a943e0860d43bcfb36ee0e8b8b072412ea
| * | | | | | | Prevent recents from coming up when in SUWMichael Wright2015-10-241-1/+1
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 25229538 Change-Id: I141c4eb928a5ce7f9858922862fe3dc1d3a33a90
* | | | | | | Allow screen unpinning on devices without navbarUtkarsh Gupta2015-12-041-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iedfc08f4d95bbee3c8578c0d2450b90739e63603
* | | | | | | WakeKeys: add missing home button to wake enabled checks in PhoneWindowManagerPatrick Lower2015-12-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie12c16d91ce0a555c402301e2e82cd76f0b99751
* | | | | | | Alarm: add support for power off alarmMao Jinlong2015-11-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When phone is in Power-Off Alarm boot mode: 1. At the correct booting place to trigger the Power-Off Alarm UI 2. At the Power-Off Alarm alert UI, don't dispatch related physical key, such as home, search, etc Change-Id: I60ede3bde21d26eafb0610946f6d8bf884c85ddb
* | | | | | | PhoneWindowManager : Fix INCALL_POWER_BUTTON_BEHAVIOR referenceDanesh M2015-11-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I30d3b24db9ab473f37b77912d069886df053d2ea
* | | | | | | DeviceKeyHandler: Fix suspend gesture not workingKeith Mok2015-11-171-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A function for handling DeviceKey is mis-placed in PhoneWindowManager.java when merging from cm-12.1 Change-Id: I5a5421c88216b70defaac69b732d99d506e1a2a6
* | | | | | | ExpandedDesktop: Use WindowManagerPolicyControld34d2015-11-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A PolicyControl static methods were still being used, this patch makes sure we are using WindowManagerPolicyControl instead. Change-Id: Iac9dac8e356f2948506ded9bf959e86608083744
* | | | | | | Framework : Move System settings to CMSettingsDanesh M2015-11-121-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4e9fb06db7b9ba05e4a7bbe11916bb2271af4727
* | | | | | | fw: Move Secure settings to CMSettingsd34d2015-11-121-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves all Settings.Secure.* settings that, were added to CyanogenMod, to CMSettings. * KEYBOARD_BRIGHTNESS * BUTTON_BRIGHTNESS * BUTTON_BACKLIGHT_TIMEOUT * DEV_FORCE_SHOW_NAVBAR * ADB_NOTIFY * ADB_PORT * DEVICE_HOSTNAME * KILL_APP_LONGPRESS_BACK * PROTECTED_COMPONENTS * LIVE_DISPLAY_COLOR_MATRIX * ADVANCED_REBOOT * POWER_MENU_ACTIONS * DEFAULT_THEME_COMPONENTS * THEME_PREV_BOOT_API_LEVEL Change-Id: I49e9160177ffc727b20008817ac2b5ce5e89ead5
* | | | | | | fw: Move NAVBAR_LEFT_IN_LANDSCAPE to CMSettings.Adnan Begovic2015-11-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I30824dc84bd32e335dde53cee7e40c085894827c
* | | | | | | Squashed commit for expanded desktopKyrylo Mikos2015-11-111-17/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bringup expanded desktop and implement per-user configuration. Change-Id: I90d834d788b3050a3f4c11dda9b6d1a7d79546cc Create configurable default expanded desktop style. Change-Id: I90c7f8544cda9b91fb9b700fcf146f4e58b15a26
* | | | | | | fw: Utilize CMSettings for specific buttons settings.Adnan Begovic2015-11-091-73/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie42d08a2a024634f9e0482e15d809c05ae16c681
* | | | | | | PhoneWindowManager: Fix NPE race condition by excessive screen on delayJorge Ruesga2015-11-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When screen on has an excessive delay mTopFullscreenOpaqueWindowState could not be initialized. This derives in a NPE from a Power key press. If mTopFullscreenOpaqueWindowState = null then PREVENT_POWER_KEY can be safelly ignored Change-Id: I04ce5d88f6f9abf02b2bbcdce4a2acad2f6451fa Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | | | | | | Ensure the occlude state of keyguard is correcttiger_huang2015-11-071-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the keyguard is dismissed by an app with FLAG_DISMISS_KEYGUARD, PhoneWindowManager would set keyguard to be occluded. After the user changes to another app without FLAG_DISMISS_KEYGUARD, the occlude state should be cleared, even keyguard is not showing. https://code.google.com/p/android/issues/detail?id=178617 Change-Id: I84fc86ae5c95c122c98445b76495735adbdcaeba
* | | | | | | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-8/+38
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: cmds/bootanimation/BootAnimation.cpp core/java/android/accounts/AccountManager.java core/java/android/app/AppOpsManager.java core/java/android/os/PowerManagerInternal.java core/java/android/os/storage/IMountService.java core/java/android/provider/Settings.java core/java/com/android/internal/widget/ILockSettings.aidl core/res/res/values-mcc204-mnc12/config.xml core/res/res/values-mcc219-mnc02/config.xml core/res/res/values-mcc730-mnc07/config.xml core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/systemui/doze/DozeService.java packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/pm/PackageManagerService.java services/core/java/com/android/server/power/PowerManagerService.java telecomm/java/android/telecom/Phone.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/RadioAccessFamily.java telephony/java/android/telephony/ServiceState.java telephony/java/android/telephony/SignalStrength.java telephony/java/android/telephony/TelephonyManager.java telephony/java/com/android/ims/ImsCallProfile.java telephony/java/com/android/ims/ImsReasonInfo.java telephony/java/com/android/ims/ImsSuppServiceNotification.aidl telephony/java/com/android/ims/ImsSuppServiceNotification.java telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl telephony/java/com/android/internal/telephony/RILConstants.java Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
| * | | | | | Send POWER_HINT_INTERACTION on rotate.Tim Murray2015-10-011-0/+2
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Send a POWER_HINT_INTERACTION to improve redraw performance when the phone is rotated. bug 24583227 Change-Id: I1978f0dfb9a25c00ad4da5b44d10410ad7412001
| * | | | | Fix black KeyguardJorim Jaggi2015-09-241-3/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a window has both the flag fullscreen and the dismiss Keyguard flag, we end up in a state where we hide the status bar window but all other windows, because mShowingLockscreen nevers gets set correctly. Move it up so we always set it no matter whether the status bar window was visible. Bug: 22875357 Change-Id: I7953fe7100cc99fe8fb7424a9b311b4630426657
| * | | | Send power hint on fling gestures.Michael Wright2015-09-171-0/+11
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the existing PointerEventListener infrastructure to listen for gestures that look like flings and hint to the power system when they happen. Since we don't actually have a bound for the fling like a regular application would, limit them to five seconds and refresh every time a new fling is seen until the five second time period is up. bug 24059298 Change-Id: I5757a1e88f2ab2ef08cccefa8221d809ae71bb6f
| * | | Dump Keyguard state in SystemUI and PhoneWindowManagerJorim Jaggi2015-09-121-0/+3
| | |/ | |/| | | | | | | | | | Bug: 23970549 Change-Id: Iec1e8ac507268086e0e2935847eda606ea1fb700
| * | Add double-tap power button to open camera 1/2Adrian Roos2015-09-091-2/+9
| |/ | | | | | | | | Bug: 23787555 Change-Id: I052b64748f155c59fbb649b32265f559423a8845
| * Merge "Fixed a bug where the secure camera would flash when rotated" into ↵Selim Cinek2015-08-311-2/+3
| |\ | | | | | | | | | mnc-dr-dev
| | * Fixed a bug where the secure camera would flash when rotatedSelim Cinek2015-08-281-2/+3
| | | | | | | | | | | | | | | Bug: 23602571 Change-Id: I9608a004d97ad27a0f4c6da8e9d955dc644b4941
| * | Merge "Fix deadlock when updating rotation" into mnc-dr-devChong Zhang2015-08-281-1/+8
| |\ \ | | |/ | |/|
| | * Fix deadlock when updating rotationChong Zhang2015-08-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Post a runnable in MyOrientationListener.onProposedRotationChanged for the updateRotation() so that it doesn't acquire WM lock while holding WindowOrientationListener lock. It could cause deadlock if WM is is performing a relayout and try to access WindowOrientationListener. bug: 23507268 Change-Id: I5775f5a13cae0283fef64877801bf8a39dfc90a4
| * | Launching the camera now from systemUI including animationsSelim Cinek2015-08-261-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | The GestureLaunchService now informs systemUI that a launch has been requested and the systemUI, depending on its state will launch the Camera in the correct mode, including animations. Bug: 22957192 Bug: 22958025 Change-Id: I815437c8bd33638245ac61a750f64af74fe3e1e3
| * Save interactive/screen-on state in KeyguardServiceDelegateJorim Jaggi2015-08-191-0/+1
| | | | | | | | | | | | | | | | | | So when SystemUI/Keyguard crashes, we only call onStartedWakingUp and onScreenTurnedOn when the device is interactive and/or the screen is on. Bug: 23344236 Change-Id: I0d0be91ff15d6c552304659956770ab88bb26ba4