summaryrefslogtreecommitdiffstats
path: root/policy
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | am a730881d: Merge "DO NOT MERGE : Fix measuring with outset for ↵Michael Kolb2014-06-161-2/+7
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | orientation" into klp-modular-dev * commit 'a730881d769cfe0bdce1faafae2c3b88f86d6978': DO NOT MERGE : Fix measuring with outset for orientation
| | * | DO NOT MERGE : Fix measuring with outset for orientationMichael Kolb2014-06-161-2/+7
| | | | | | | | | | | | | | | | | | | | Bug: 14992865 Change-Id: Ie133d8010a394403e52512f4012632389bc32c4a
* | | | Merge "Partially fix the keyguard scrim" into lmp-devAdrian Roos2014-07-171-1/+2
|\ \ \ \
| * | | | Partially fix the keyguard scrimAdrian Roos2014-07-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the scrim is effectively translucent because PWM doesn't consider it to be hiding windows behind it. This change fixes that but the transition into the scrim still leaks a few frames when SystemUI crashes. Bug: 16165504 Change-Id: Id50b7a5c96df22dcae7705b4a071e7bbf64c2c5f
* | | | | Change adjustVolumeBy to adjustVolumeRoboErik2014-07-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes volume adjustments take a direction instead of a number of steps and renames the API appropriately. Change-Id: I6a31cbc42d889a38aa63446686a424cb2b8b2270
* | | | | Update DatePicker widget and its related dialogFabrice Di Meglio2014-07-151-0/+8
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - the old DatePicker widget is still there for obvious layout compatibility reasons - add a new delegate implementation for having a new UI - use the new delegate only for the DatePickerDialog (which does not need to be the same) - added support for Theming and light/dark Themes - added support for RTL - added support for Accessibility - verified support for Keyboard - verified that CTS tests for DatePicker are passing (for both the legacy and the new widgets) Also added a new HapticFeedbackConstants.CALENDAR_DATE and its related code for enabling day selection vibration Change-Id: I256bd7c21edd8f3b910413ca15ce26d3a5ef7d9c
* | | | Add window elevation for dialogs, clean up surface insets APIAlan Viverette2014-07-141-13/+19
| | | | | | | | | | | | | | | | | | | | BUG: 13211941 Change-Id: I9d605d0b2fb24f9bf8e73fbecd520b6b52ae5751
* | | | Add API to set a default session in ActivityRoboErik2014-07-141-6/+78
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | We may have multiple remote sessions at once so an app needs a way to specify a default session to route media and volume commands to when its activity is in the foreground. This adds an api that works in parallel with the default stream api on Activity. bug:15727927 Change-Id: I5b67cb3e20647f9437d90aa65be63efe8c7865cf
* | | If status bar is the keyguard, allow clearing vis flags.John Spurlock2014-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The policy around leaving flags alone when the user is interacting the status bar is not applicable when the status bar is acting as the keyguard. Bug:14913124 Change-Id: I96b4b707abce71f77ac2acb6f4086df661f5a25c
* | | Add accessibility action to open power long-press dialogAlan Viverette2014-07-101-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | Also fixes an infinite recursion bug in the WindowManagerService implementation of WindowManagerInternal. BUG: 16129909 Change-Id: I4f9d32f4e6c3ad460652c5e5271540fa5032a1f5
* | | Pipe volume keys to adjustVolume instead of sendMediaKeyEventRoboErik2014-07-102-23/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were calling sendMediaKeyEvent with a KEYCODE_VOLUME key, which was being ignored because it's not a media key. This redirects the volume keys to use the adjustVolume methods instead. It also sends the appropriate flags to make the lock screen consistent with the home screen and the volume keys only affect active playback when the screen is off. bug:15900519 Change-Id: I9f3853a2385869353a58debae6e6ca9933ba06ce
* | | Consume HOME key when it is used to dismiss Dream activityJose Lima2014-07-021-0/+38
| | | | | | | | | | | | | | | Bug: 15002352 Change-Id: I0e86ec62a1a45dd1e68752d36be07355a9c6e2fd
* | | Merge "Reapply fix after bad merge."George Mount2014-07-021-2/+1
|\ \ \
| * | | Reapply fix after bad merge.George Mount2014-07-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug 13745751 Change-Id: I8eda37bd0e083b7c7949935973330882f6f5f1dc
* | | | Allow activity transitions to target nav and status bar colors.George Mount2014-07-021-8/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 15885062 Action bar can already be targeted via android:action_bar. Navigation bar background is now android:navigation:background. Status bar background is now android:status:background. Change-Id: I4604906923f3473af3beec4f865463b2fe4a5316
* | | User restriction for disallowing window creationJason Monk2014-07-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Block any types of windows that could by used by apps to create views on top of a locked app. This can be used by device admins in conjunction with lock task mode. Added a way for system (and priv apps) to bypass user restrictions for specified op codes. Bug: 15279535 Change-Id: I2381530ef6226a5bb32a99bb4030baafb39bf564
* | | Add stable insets for stable system windowsAdrian Roos2014-07-022-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | Adds a new kind of inset that only accounts for stable system windows like the system or navigation bar. Bug: 15457292 Change-Id: I681b711f6f40a94c25b7acd3a44eb3539486afab
* | | Fixing some bugs in Recents keyboard behaviour.Winson Chung2014-07-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Ensuring that we don't allow meta-tab to trigger Recents (since meta is a system key now) - Adding dpad keys support to traverse stack - Adding workaround for cases where tasks wouldn't be focused depending on how you launch Recents Change-Id: I4101ced7e47e0d1659d5fa236214be5697c00560
* | | Fix checking for compatibility between window title features.Adam Powell2014-07-021-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New features that have nothing to do with titles were tripping the, "is this compatible with custom titles" feature check in PhoneWindow. Define a better way of checking for this for when we add new window features in the future. Bug 13789588 Change-Id: Ie1cacffb113958dac5142a5a39f548df53b47299
* | | Merge "Move call-related SystemAPIs to TelecommManager. (1/3)"Santos Cordon2014-07-011-27/+27
|\ \ \
| * | | Move call-related SystemAPIs to TelecommManager. (1/3)Santos Cordon2014-06-301-27/+27
| | | | | | | | | | | | | | | | | | | | Bug: 15672803 Change-Id: I46e448fe93a9c5b4ae013e8b2fd6f0ce89b94e69
* | | | Don't throw exception for root scene transitions.George Mount2014-06-301-2/+1
|/ / / | | | | | | | | | | | | | | | Bug 13745751 Change-Id: I7bb3cbabf4f402b38f5aa57ad0ee3b4320fa83cc
* | | Fix NPE in dumpsys windowJaewan Kim2014-06-261-1/+3
| | | | | | | | | | | | | | | | | | This crashes with an Android TV without sensor (i.e. TV) Change-Id: I5e461c6344811686f58860d427598626efdf0184
* | | Trust Agents: Add lock now facility to global actionsAdrian Roos2014-06-261-0/+37
| | | | | | | | | | | | Change-Id: I732d7e989892081f6b53142953de71f90ec62d37
* | | Global keys should wake the device if they're wake keys.Michael Wright2014-06-251-0/+3
| | | | | | | | | | | | | | | | | | Bug: 15430207 Bug: 15434710 Change-Id: I98083e1389079f00b612ae4fae3ecab5a2a51b0d
* | | Ensuring that we fire the right intent when going home from Recents.Winson Chung2014-06-241-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | - Refactoring RecentsAppWidgetHost - Removing some references to the RecentsActivity from the RecentsPackageMonitor - Fixing the memory leak related to long references to activities - Working around blank screen when going home from Recents Change-Id: I7b0ad219b8da197795864a3b90fd02f3a3c1a4ef
* | | Merge "Return to recents when coming from recents"Craig Mautner2014-06-231-0/+10
|\ \ \