summaryrefslogtreecommitdiffstats
path: root/policy/src/com/android/internal
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Always allow translucent bars for keyguard" into lmp-devJorim Jaggi2014-08-261-3/+8
|\
| * Always allow translucent bars for keyguardAdrian Roos2014-08-221-3/+8
| | | | | | | | | | Bug: 15530908 Change-Id: If2b6505e3ec03ad2ebec85eb7922ababd787208e
* | Merge "Add state save/restore for Toolbar" into lmp-devAdam Powell2014-08-261-10/+16
|\ \
| * | Add state save/restore for ToolbarAdam Powell2014-08-251-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save and restore the menu state for Toolbars. This will make sure that we remember expanded action views and opened overflow menus across state save/restore. Remove an extra event post involved in the initial population of action bar menus. Apparently at some point an extra level of this was added that isn't necessary. Process any pending menu invalidations immediately when we perform window state restoration. This makes sure individual bits of state in action views, etc. are also restored properly. Bug 12005461 Change-Id: Icf905698576b11a59641bc319adc62300857906f
* | | Merge "API review PhoneManager -> TelecommManager. Rename methods (6/6)" ↵Nancy Chen2014-08-251-3/+3
|\ \ \ | | | | | | | | | | | | into lmp-dev
| * | | API review PhoneManager -> TelecommManager. Rename methods (6/6)Nancy Chen2014-08-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PhoneManager - handlePinMMI docs should explain what a Pin is and what MMI is - rename isInAPhoneCall to isInCall - rename showCallScreen to showInCallScreen - merge this class into TelecommManager, we don't need both Bug: 16960458 Change-Id: I7d573e27ed093f2ddb7849703cc62f9916835393
* | | | Merge "Remove Meta-Tab shortcut for Recents." into lmp-devMichael Wright2014-08-251-4/+2
|\ \ \ \
| * | | | Remove Meta-Tab shortcut for Recents.Michael Wright2014-08-211-4/+2
| | |_|/ | |/| | | | | | | | | | | | | | Bug: 16904053 Change-Id: I45e87c655738fece1d3899ec68bc3813700831bb
* | | | Merge "Cancel pending meta actions when the key pressed *isn't* meta." into ↵Michael Wright2014-08-251-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | lmp-dev
| * | | Cancel pending meta actions when the key pressed *isn't* meta.Michael Wright2014-08-221-1/+1
| | |/ | |/| | | | | | | | | | Bug: 17207035 Change-Id: I980107a453814e4e34e32db338620e90d3b388ee
* | | Merge "Fix password unlock method" into lmp-devJorim Jaggi2014-08-251-0/+10
|\ \ \ | |/ / |/| |
| * | Fix password unlock methodJorim Jaggi2014-08-251-0/+10
| |/ | | | | | | | | | | | | | | | | | | - Update layouts/assets to material - Fix that the virtual keyboard didn't always come up - Fix window layout of status bar window, so it's above the IME when on Keyguard Bug: 16957208 Change-Id: I1785af9ac73103abe6cd9968ed27582fbfc9a1d9
* | Merge "Add Voice Assist key." into lmp-devMichael Wright2014-08-221-0/+12
|\ \
| * | Add Voice Assist key.Michael Wright2014-08-211-0/+12
| |/ | | | | | | | | | | | | | | | | The action taken is dependent on whether the device is in an interactive state, allowing for interactions to work even when the device isn't actively being used Bug: 16292420 Change-Id: I897f4383e7e4766c0bcb6246b41514b46e03a9ac
* | Allow Activities to opt into using Overlay for shared elements.George Mount2014-08-211-0/+15
|/ | | | | | Bug 17001227 Change-Id: Icc49a81357ee69abd2a15a1d1efcead298ab3fb7
* Remove logspam from GlobalActions.John Spurlock2014-08-201-9/+13
| | | | | Bug:17128889 Change-Id: I7343820c1b6f174ec66c28ee7c94b6b9fb0ad1b1
* Add a way to get Transitions from a TransitionSet.George Mount2014-08-191-0/+4
| | | | | | Bug 17113732 Change-Id: I0a157a59448e66560ba2252709971131c5dea401
* Disable immersive mode confirmation for test automationGuang Zhu2014-08-171-2/+4
| | | | | | | | | | PolicyControl#disableImmersiveConfirmation to return true as long as test harness flag is set. Test harness flag is read via ro.test_harness, and can only be set to true on builds with root access Change-Id: I5c2d56e8ea4d5a2972ab42e9a98eb2fce52b11ee
* Use different unlock animation when going to full shadeJorim Jaggi2014-08-141-5/+11
| | | | | | | | | Also fixes a bug that the notify flag was not reset, and fix the transition for the phone/camera affordance (in these cases, no animation is needed). Bug: 15991916 Change-Id: Idbb4fa40f86bda597cd66cc38da838ef4f75514d
* Log who is calling goToSleep().Jeff Brown2014-08-141-6/+8
| | | | Change-Id: Ibae61c90ee115735835e878bb3bf79eedaa0ae44
* Lockscreen launch animationsJorim Jaggi2014-08-123-7/+26
| | | | | | | | | | | | | | | | | | | - Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was used for two different things: Dismiss keyguard from somewhere else (not really necessary anymore), wait to actually dismiss keyguard after the window behind is drawn. Instead, introduce keyguardWaitingForActivityDrawn(), and change the semantics where necessary. - Make wallpaper_close_enter consistent with task_open_enter and the Keyguard launch animation. - Close the panel even on lockscreen when launching a notification. - Block notification shade updates during the collapsing motion so notification don't play the disappear animation immediately after having launched a notification. Bug: 15991916 Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
* Implement final lock now affordanceAdrian Roos2014-08-121-6/+1
| | | | | | | | | Also removes the GlobalAction. Also fixes the animation not being applied to the background of the affordance. Bug: 15344542 Bug: 16952834 Change-Id: Ie790b40a5d1ba10fa42a793c8cfeaf6687d17c61
* Preparations for lockscreen launch animationsJorim Jaggi2014-08-122-2/+72
| | | | | | | | | | | | | | | | - Update unlock animations to new spec to make the consistent with lockscreen launch animations. - Introduce disappearing motion for security views which runs before we actually dismiss Keyguard. - If a window is running the un-force-hide animation, treat as it would have the wallpaper flag set so the wallpaper stays until the animation is completely done. - Run an animation on the wallpaper if the wallpaper is going away. Bug: 15991916 Bug: 16234603 Bug: 15326120 Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
* Remove clipToOutline workaround for null backgroundsAlan Viverette2014-08-071-5/+1
| | | | | BUG: 16566746 Change-Id: Icdf0d40b75c0fa9d972eb6300f51079e48fbe5fd
* Fixing issue where home was triggered on top of other activities being ↵Winson Chung2014-08-061-4/+4
| | | | | launched. (Bug 16823617) - Also fixes issue with the Recents hide message being clobbered
* Don't dismiss boot messages before keyguard is readyCraig Mautner2014-08-051-11/+27
| | | | | | | | Or you will expose the home screen. Fixes bug 16371571. Change-Id: Ib38a583189c570b44910548a9544b1e81c831119
* Mark all Meta combos as system combosMichael Wright2014-08-051-5/+6
| | | | | | Also make a meta-tab a recents accelerator. Bug: 14066931 Change-Id: Iac6aab276e4e16d5f70c92a5a03172bd81559afa
* Add differentiating transitions for returning/reentering.George Mount2014-07-311-18/+75
| | | | | | Bug 16550363 Change-Id: I85f9a8bcbc92ce048d06b36579bb05893534f7f8
* am 896a82d7: am d0e03392: Merge "Fix double chin issue, where bottom inset ↵Filip Gruszczynski2014-07-291-2/+1
|\ | | | | | | | | | | | | is applied twice." into klp-modular-dev * commit '896a82d77e732c7387b2279bcdd0f04d696b13df': Fix double chin issue, where bottom inset is applied twice.
| * am d0e03392: Merge "Fix double chin issue, where bottom inset is applied ↵Filip Gruszczynski2014-07-281-2/+1
| |\ | | | | | | | | | | | | | | | | | | twice." into klp-modular-dev * commit 'd0e03392394164e1e261ef8829e187ad2362d426': Fix double chin issue, where bottom inset is applied twice.
| | * Fix double chin issue, where bottom inset is applied twice.Filip Gruszczynski2014-07-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This changes how windowOutsetBottom is applied. Instead of being added to whatever inset is already set, it overwrites it. Bug: 16567038 Change-Id: Idedae93b790652e9de0519764ea7a03841f9e8fd
* | | Merge "Don't suppress haptic feedback on keyguard anymore." into lmp-devJeff Brown2014-07-241-1/+1
|\ \ \
| * | | Don't suppress haptic feedback on keyguard anymore.Jeff Brown2014-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables haptic feedback from virtual keys, lift-to-wake, and long-press power to work as expected on the keyguard. There doesn't seem to be a good reason for us to block haptic feedback on keyguard anymore. The PIN, pattern, and password locks already bypass this check and vibrate and require a swipe to access in the first place. So there doesn't seem to be much potential for accidental vibration anymore. If this becomes a problem then we can investigate more targeted means to suppress undesired vibration. Added some debugging code to VibratorService. Bug: 16535403 Change-Id: Ia7a5d8c35244009db36c358e5cbcbf8cf5d68768
* | | | Merge "Add public attribute for window clipToOutline" into lmp-devAlan Viverette2014-07-251-88/+94
|\ \ \ \ | |/ / / |/| | |
| * | | Add public attribute for window clipToOutlineAlan Viverette2014-07-251-88/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also ensures clipToOutline is false is the background is null. BUG: 16549166 BUG: 16566746 Change-Id: Iacb08b64464cb93cbd8f34f2ec0308a77d40aab5
* | | | Shut upJohn Reck2014-07-251-1/+0
|/ / / | | | | | | | | | Change-Id: I7edbedf665a567e363e3db7984c7c59cba857ad5
* | | Clip windows to their background by defaultAlan Viverette2014-07-241-0/+3
| | | | | | | | | | | | | | | BUG: 16549166 Change-Id: I4ed0f60316df02b6ee56e163ad25e27e1396a6ae
* | | Merge "Use activity for brightness dialog" into lmp-devAlan Viverette2014-07-231-2/+2
|\ \ \
| * | | Use activity for brightness dialogAlan Viverette2014-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes brightness controller failure to unregister callbacks. BUG: 15512088 Change-Id: Ia665e006d93391d5a66d4ace614660c4e6d2d5b5
* | | | Volume: restore vibration entering vibrate-mode from rocker.John Spurlock2014-07-191-1/+2
| | | | | | | | | | | | | | | | | | | | Bug:16418732 Change-Id: I0db18a0ff21cfa1af7005ab9620340d34c2eb63b
* | | | Zen mode filtering should use new usage constants.John Spurlock2014-07-191-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor stream-based calls to usage-based calls. Bug:15279516 Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
* | | | Allow dreams to wake up gently.Jeff Brown2014-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a new DreamService.wakeUp() method to allow a dream to wake itself up gently and perform a transition before finally finishing. The power manager will ask a dream to wake up gently in most cases but may force it to happen immediately when necessary. If the dream takes too long to finish itself then the dream controller will douse it with water summarily after 5 seconds. Change-Id: Ib0564c5650cd5a454e1acc5aa91fe46995eecfa7
* | | | resolved conflicts for merge of bbc49941 to lmp-devFilip Gruszczynski2014-07-171-3/+12
|\ \ \ \ | | |/ / | |/| | | | | | Change-Id: If8e607ab1946c3ca5bb8960d32fdefebbfb21ffe
| * | | am a76164e1: Merge "Only use bottom outset for main display." into ↵Filip Gruszczynski2014-07-171-3/+12
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | klp-modular-dev * commit 'a76164e1d0d283baf412c18999e680d93bd50f01': Only use bottom outset for main display.
| | * | Only use bottom outset for main display.Filip Gruszczynski2014-07-171-3/+12
| | | | | | | | | | | | | | | | Change-Id: I42154d026811ee4b7ba9711c560c7a62fcdde7ee
* | | | return false for media keys if no controllerRoboErik2014-07-171-0/+2
| | | | | | | | | | | | | | | | | | | | bug:16311395 Change-Id: I4cde865858f99a9159abc181cc987fbd9866025b
* | | | am 95198b91: am 39f0e7da: Merge "Using outset bottom from theme as bottom ↵Filip Gruszczynski2014-07-171-0/+16
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | inset on circular screens." into klp-modular-dev * commit '95198b91665bb93473ea1ec68c69bdbfd0002d49': Using outset bottom from theme as bottom inset on circular screens.
| * | | am 39f0e7da: Merge "Using outset bottom from theme as bottom inset on ↵Filip Gruszczynski2014-07-171-0/+17
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | circular screens." into klp-modular-dev * commit '39f0e7da00eae4e5a331a9413a396f3dddbeb625': Using outset bottom from theme as bottom inset on circular screens.
| | * | Using outset bottom from theme as bottom inset on circular screens.Filip Gruszczynski2014-07-161-0/+17
| | | | | | | | | | | | | | | | Change-Id: I46374b345e60a74b6afbbb6a278a0b8e81650681
| * | | DO NOT MERGE - Fix build issue isScreenOnBill Yi2014-07-151-2/+2
| | | | | | | | | | | | | | | | Change-Id: I8821efd561d375c32702be55903fe401ab719e80