912133a4966e0eed9a72b208e2aa650dc538b328 |
|
02-Nov-2012 |
Amith Yamasani <yamasani@google.com> |
Remove power menu user switcher Bug: 7466189 Change-Id: Ieb5e637f3e0b557eb616b5531a0a05a38a788fab
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
bef0f617a09e8c3b1567217bba65006c7364baed |
|
17-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off) does not show if you press on power button when the "low battery" dialog is showing up Always put the global actions dialog in the keyguard dialog layer (above the keyguard). I don't see any reason to have it change layers based on whether the keyguard is showing. Change-Id: I1bd3600af9f115d662d2a4783f835e234db1b7f0
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
ff54920ed222a2bd6abe618743a5a3e9fe10bd4b |
|
12-Oct-2012 |
Amith Yamasani <yamasani@google.com> |
Temporarily disable multiuser for specific builds Enable switching through power menu for other builds Change-Id: I0bd8450583e078b0a83fb639337427ab84db5ab8
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
8a2291952528303d284878468fe260ec41998db3 |
|
04-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #6968859: home not exiting an ANR'd dream" into jb-mr1-dev
|
5fe7e2a3043d6a8ca933c77ccf95c791b57b221a |
|
04-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #6968859: home not exiting an ANR'd dream Add a new call to the activity manager for the input dispatcher to report about any pid having an ANR. This has a new feature where it can also tell the activity manager that it is above the system alert layer, so the activity manager can pop its ANR dialog on top of everything if it needs to. (Normally we don't want these dialogs appearing on top of the lock screen.) Also fixed some debugging stuff here and there that was useful as I was working on this -- windows now very clearly include their uid, various system dialogs now have titles so you know what they are in the window manager, etc. Change-Id: Ib8f5d29a5572542cc506e6d338599ab64088ce4e
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
542a51cc791613319386f53f51ea3676e6c9208e |
|
03-Oct-2012 |
John Spurlock <jspurlock@google.com> |
Invoking the global action dialog stops dreaming. Otherwise global actions appear underneath interactive dreams, like all system dialogs. Bug:7257688 Change-Id: Idb7ae8079fa0fc335c598c72f36bdad69248b1b1
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
3ff8e1a80058e5557d13693d3223e1aa011c0038 |
|
29-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #7211769 and #7244492, thrash around on #7226656." into jb-mr1-dev
|
d4ac8d7b3de27a9f0e4c6af2496ca71d794e42d1 |
|
28-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7211769 and #7244492, thrash around on #7226656. Issue #7211769: Crash dialog from background user has non-working "report" The report button now launches the issue reporter for the correct user. Also for crashes on background users, either disable the report button, or simply don't show the dialog depending on the build config. Issue #7244492: Bugreport button in Quick Settings doesn't actually do anything Now they do. Issue #7226656: second user seeing primary user's apps I haven't had any success at reproducing this. I have tried to tighten up the path where we create the user to ensure nothing could cause the user's applications to be accessed before the user it fully created and thus make them installed... but I can't convince myself that is the actual problem. Also tightened up the user switch code to use forground broadcasts for all of the updates about the switch (since this is really a foreground operation), added a facility to have BOOT_COMPELTED broadcasts not get launched for secondary users and use that on a few key system receivers, fixed some debug output. Change-Id: Iadf8f8e4878a86def2e495e9d0dc40c4fb347021
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
bc4ba82335c091cebaaee8b20987a61fb54c1727 |
|
28-Sep-2012 |
Amith Yamasani <yamasani@google.com> |
Remove user switcher from long-press power menu Bug: 7252218 Also lock the screen before doing the user switch. This prevents the janky behavior of showing the target user's homescreen after the switch and then the lock screen. This is also a privacy issue. Change-Id: I9f8db047335d06fc93505d7b5cca71e27ca3ac39
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
7befb7deb2ac15134b3bb190520cba19165d16dd |
|
28-Sep-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Global gesture to toggle Accessibility system-wide. 1. This change adds a global gesture for enabling accessibility. To enable this gesture the user has to allow it from the accessibility settings or use the setup wizard to enable accessibility. When the global gesture is enabled the user can long press on power to bring the global actions dialog and then hold with two fingers for a few seconds to enable accessibility. The appropriate feedback is also provided. 2. The global gesture is writing directly into the settings for the current user if performed when the keyguard is not on. If the keygaurd is on and the current user has no accessibility enabled, the gesture will temporary enable accessibility for the current user, i.e. no settings are changed, to allow the blind user to log into his account. As soon as a user switch happens the new user settings are inherited. If no user change happens after temporary enabling accessibility the temporary changes will be undone when the keyguard goes away and the device will works as expected by the current user. bug:6171929 3. The initialization code for the owner was not executed due to a redundant check, thus putting the accessibility layer in an inconsistent state which breaks pretty much everything. bug:7240414 Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
5dc5a00e7ebadc085ded7e29feacd17e53698486 |
|
16-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
More multi-user stuff. - New public APIs to find out when a user goes to the foreground, background, and is first initializing. - New activity manager callback to be involved in the user switch process, allowing other services to let it know when it is safe to stop freezing the screen. - Wallpaper service now implements this to handle its user switch, telling the activity manager when it is done. (Currently this is only handling the old wallpaper going away, we need a little more work to correctly wait for the new wallpaper to get added.) - Lock screen now implements the callback to do its user switch. It also now locks itself when this happens, instead of relying on some other entity making sure it is locked. - Pre-boot broadcasts now go to all users. - WallpaperManager now has an API to find out if a named wallpaper is in use by any users. Change-Id: I27877aef1d82126c0a1428c3d1861619ee5f8653
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
c09cdce1b05075da808ae080b9905a14a3e1e627 |
|
11-Sep-2012 |
Christopher Tate <ctate@google.com> |
Update airplane-mode manipulation for the new Settings namespace Quick Settings and global actions (aka longpress-Power) toggles are included in this CL. The Settings app manipulations are updated in a different CL because that's a different git package. Bug 7132230 Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
5ac72a29593ab9a20337a2225df52bdf4754be02 |
|
30-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Improve multi-user broadcasts. You can now use ALL and CURRENT when sending broadcasts, to specify where the broadcast goes. Sticky broadcasts are now correctly separated per user, and registered receivers are filtered based on the requested target user. New Context APIs for more kinds of sending broadcasts as users. Updating a bunch of system code that sends broadcasts to explicitly specify which user the broadcast goes to. Made a single version of the code for interpreting the requested target user ID that all entries to activity manager (start activity, send broadcast, start service) use. Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
9a538ee7bde42ad36f43edc48594282d98e191a4 |
|
20-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Add factory test feature to shut off on long press power. Bug: 6847329 Change-Id: I2f4f975c3af2d13ccc06812a5a42e79032700862
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
98365d7663cbd82979a5700faf0050220b01084d |
|
20-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Refactor for multi-display support. Split WindowManagerImpl into two parts, the WindowManager interface implementation remains where it is but the global communications with the window manager are now handled by the WindowManagerGlobal class. This change greatly simplifies the challenge of having separate WindowManager instances for each Context. Removed WindowManagerImpl.getDefault(). This represents the bulk of this change. Most of the usages of this method were either to perform global functions (now handled by WindowManagerGlobal) or to obtain the default display (now handled by DisplayManager). Explicitly associate each new window with a display and make the Display object available to the View hierarchy. Add stubs for some new display manager API features. Start to split apart the concepts of display id and layer stack. since they operate at different layers of abstraction. While it's true that each logical display uniquely corresponds to a surface flinger layer stack, it is not necessarily the case that they must use the same ids. Added Display.getLayerStack() and started using it in places where it was relatively easy to do. Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
258848d2ae04f447ff1c18023fa76b139fcc0862 |
|
11-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
User Manager service to manage users and query user details Moved a bunch of methods from PackageManager to UserManager. Fix launching of activities from recents to correct user. Guest creation APIs Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
5773bfdb7cd3852d9fedd497e3c22c49c83d0d75 |
|
13-Jul-2012 |
Dianne Hackborn <hackbod@google.com> |
Add power menu action to take a bug report Change-Id: I5f58d99e9a27a1fc496fa54e0c0ee333087155da
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
b8151ecd6ef4faa5c16d0a4c3abb45ec84d1f97a |
|
19-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Add an icon to the user information. Store the icon in the user folder under /data/system, similar to how the wallpaper is stored. Change-Id: Id8ccb55b9e2ba7b4c557505a7f69f04eca1518cf
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
7ee994d728acf2b3b3297a67001f2d21c9094109 |
|
24-May-2012 |
Amith Yamasani <yamasani@google.com> |
Show power menu on tablets. Bug: 6524432 Show power menu on all devices by default. Specific devices will be disabled in overlays. Handle airplane mode changes differently when the telephony states are not reliable. Use simple toggle for silent mode when there's no vibrator. Change-Id: Ic5ef521eee19cd300d909250203ff204f3a1ae1e
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
7304c343821309dd15f769b18f1de2fa43751573 |
|
12-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Move power HAL interactions to PowerManagerService. This refactoring sets the stage for a follow-on change that will make use additional functions of the power HAL. Moved functionality from android.os.Power into PowerManagerService. None of these functions make sense being called outside of the system server. Moving them to the PowerManagerService makes it easier to ensure that the power HAL is initialized exactly once. Similarly, moved ShutdownThread out of the policy package and into the services package where it can tie into the PowerManagerService as needed. Bug: 6435382 Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
2efb6a94ca528beb96e26bd3ad2f4b995fb75b49 |
|
26-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Don't unregister receiver twice. Bug: 6008202 Change-Id: I3a9c76b74c1451b634341806d9c93768925737cd
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
19caadc08f09cc9f6665fbbb0d61e02861ce8562 |
|
21-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
You can now long press on the power off menu to reboot to safe mode. Change-Id: I3aa575285058cf5a3d89486d6b944f6ea13d645c
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
52f1d752f90579c9b57e3350393a029cf72138d0 |
|
29-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
Show the current user in power menu Shows a little indicator next to the current user in the power menu when multi-user is enabled. Fixed a bug where Settings was sometimes being launched in the wrong process when there are 2 instances running. Change-Id: Iaf2a00f6d1871fd2a88d8982439e445423bb2896
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
135936072b24b090fb63940aea41b408d855a4f3 |
|
23-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
User management and switching Broadcast intents that get sent out when users are added/removed/switched. More work on generating user-specific information in package manager queries. APIs to update user name and query a user by id. Removed Package.mSetStopped and mSetEnabled, since they're not user specific. User removal: - Cleanup ActivityManager, PackageManager, WallpaperManager, AppWidgetService and AccountManager. - Shutdown processes belonging to the user. Don't show vibrate option in long-press power if there's no vibrator. Lock the screen when switching users, to force unlocking. Change-Id: Ib23a721cb75285eef5fd6ba8c7272462764038fa
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
742a67127366c376fdf188ff99ba30b27d3bf90c |
|
04-May-2011 |
Amith Yamasani <yamasani@google.com> |
Multi-user - 1st major checkin Switching activity stacks Cache ContentProvider per user Long-press power to switch users (on phone) Added ServiceMap for separating services by user Launch PendingIntents on the correct user's uid Fix task switching from Recents list AppWidgetService is mostly working. Commands added to pm and am to allow creating and switching profiles. Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
e48a160e57a6426be81bfa18dd35324a36f6a74d |
|
07-Dec-2011 |
Amith Yamasani <yamasani@google.com> |
Make new ringer toggles on power menu accessible and navigable with keyboard. Bug: 5721663 Added content descriptions and made the listview allow navigation between nested views. Change-Id: I69d78d65e1bab829f63c2e6025051206e511f00f
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
6243edd818b84adfbe712d5d233d6414b33653ac |
|
06-Dec-2011 |
Amith Yamasani <yamasani@google.com> |
New and improved silent mode on lockscreen. 3-state item to toggle between Silent/Vibrate/Ringer in long-press power menu. No volume dialog on lockscreen, unless Power menu is up. Set VIBRATE_IN_SILENT=1 when upgrading device. Change-Id: I097d216f96c4abdbd83420e0c477106951b3607d
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
afd01086795c7c1f6950a709180b2361625b8b6a |
|
02-Dec-2011 |
Amith Yamasani <yamasani@google.com> |
Merge "Further volume improvements." into ics-mr1
|
2ef6f1bb5603c2e221191117695725237f49a5d5 |
|
01-Dec-2011 |
Amith Yamasani <yamasani@google.com> |
Further volume improvements. - Remove silent mode from Power menu - Show volume dialog on lockscreen - Allow beeps when adjusting volume in lockscreen Bug: 5586083 Change-Id: I93052a8ec5004c784f20e04488af9382d495e711
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
2b0acc90ae5a1133356b3af43d99056de1b3f626 |
|
30-Nov-2011 |
Amith Yamasani <yamasani@google.com> |
No clicking on volume icon in volume dialog. Don't disable volume slider when it hits zero. Show correct icon for Silent mode in Power menu. Bug: 5586083 Change-Id: Iaa957fc08e314e0de1c007dfc967a1d960080aab
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
c696a53d1fe4d61373c5dc64dd057d322da90c8f |
|
29-Oct-2011 |
Amith Yamasani <yamasani@google.com> |
Bring back the old-style Ring/Vibrate/Silent states when using volume keys. In order to completely mute the ringer (no vibrate), introduce an extra state beyond mute, which mutes the vibrator as well, if it was enabled. Bug: 5530217 Change-Id: Ib1f299ee6bbca56c1aa7e1100662591362d08307
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
ec3f05e707044505642cbdb180aff5edf9b926aa |
|
10-Oct-2011 |
Daniel Sandler <dsandler@android.com> |
Stop enabling all disabled status bar features from GlobalActions. (DO NOT MERGE) Leaky singleton bug! GlobalActions, recents, and the keyguard are all in the same process and therefore receive the same StatusBarManager instance. Therefore, their calls to enable() and disable() clobber one another. Bug: 5423182 Change-Id: Ie535d88f5a5bb940dabee5f1ac176027e1793c5c
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
093dee952f3078aaa69a524ba91188fee6608ddf |
|
20-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5336495 - Silent mode icon on power dialog is wrong Change-Id: I384882434827a3ab57d65bb0a79e9da10315326f TODO: Add appropriate vibrate-in-silent-mode icon when available.
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
67403e096e6f59b7cd18a90d0d3f5c3d17c31407 |
|
23-Aug-2011 |
Mathias Agopian <mathias@google.com> |
BLUR_BEHIND flag is not supported anymore Bug: 5185650 Change-Id: I56541d4967b90b150a734be1bbeff696eb6a4fb3
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
ded7c652d754751e6fbde729d66825c69394d1cb |
|
29-Apr-2011 |
Conley Owens <cco3@android.com> |
am 893812b2: am e6e3322a: am 8fff7805: Merge "Remove duplicate \'=\' in exception message" * commit '893812b2ee4a640ad398f7f79f90b92d52a5f3b1': Remove duplicate '=' in exception message
|
c1a9b03a35b833e639e35fe3298ed8e71b7657e9 |
|
28-Apr-2011 |
Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> |
Remove duplicate '=' in exception message Remove duplicate '=' in IllegalArgumentException of MyAdapter::getItem() Change-Id: I151a1432a9f54c8d42bae295f3967b0be2223026
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
e79223ed415ca437aa5954f8bfdaf11309f6338a |
|
14-Jan-2011 |
Anders Hammar1 <anders.hammar1@sonyericsson.com> |
Make the Phone options dialog use current language The title of the Phone options dialog is displayed using wrong translation if the user changes the current language setting. Moving the setTitle call to prepareDialog to ensure that the title gets updated before the dialog is shown. Change-Id: I03ff59c7f4ff711a06b05de7cca94fa928cf67ef
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|
be81f4f15dad6d690efcab1973d1e174ce3b001b |
|
15-Jun-2010 |
Brett Chabot <brettchabot@android.com> |
Move out all framework-tests classes. Previously tests/framework-tests contained a quarantined set of test classes that needed access to package-private framework api. Running these tests normally would cause the dalvik verifier to throw errors. runtest now has support for turning off the dalvik verifier for frameworks tests, so move this tests into their recommended location, close to the source being tested. Also move policy source into a 'src' folder to accommodate the tests move. Change-Id: I62f839da185a55bc553b653bf583fd99da438512
/frameworks/base/policy/src/com/android/internal/policy/impl/GlobalActions.java
|