049095af523cd7a74053888840ef70c112d40c56 |
|
18-Mar-2018 |
Julia Reynolds <juliacr@google.com> |
Remove unneeded sysui notifications Test: atest SystemUITests Bug: 75436062 Change-Id: I45810c494f9f55595d3b0aeda7f23493411f4f71
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
f86d375437720dea68a1acc08c2e5aab77b45e56 |
|
29-Nov-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix user color overlay is not applied"
|
213955e5622dd444ce2ada0f6de7dd92cc044dcb |
|
23-Nov-2017 |
Tony Mak <tonymak@google.com> |
Fix user color overlay is not applied Resource overlay is now done in runtime with non-system resources object. Amend getDefaultUserIcon to take resources object as parameter. BUG: 69355037 Test: Factory reset, verify that overlayed color is used in multiple places, including keyguard, the bar under quick settings and Settings app. Change-Id: I20b0527bdcb2eb38e8bea6a05f53eea1edcba932
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
d4a44ff149bd74c7b4fe4532051fc531c2074f4e |
|
21-Nov-2017 |
Evan Laird <evanlaird@google.com> |
Use SystemUIDialog.setWindowOnTop to make user-switching dialogs not steal focus There is still the problem that the dialogs show up under QS, but this change stops the dialog from stealing focus and thus deadlocking the UI Test: Add new user. Remove guest user. Note that you can then collapse QS Bug: 69591927 Change-Id: I489a094848c32d58e2bed4769bb249fbbef91ab5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
24f8a75888b6ef9e3ac8d00f445f4a61f6152b5a |
|
30-Jun-2017 |
Jason Monk <jmonk@google.com> |
Don't show multi-user in QS unless it has been activated before Like adding another user or activating a guest at some point. Test: manual Bug: 37152893 Change-Id: Ifeadeb8e7f021c4854aa74b71ffb6bed116c9c0f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
5a655020f0f5e00c175fdd41a5d235352a5bb9b3 |
|
24-May-2017 |
Jason Monk <jmonk@google.com> |
Fix guest tint Manually apply some specific tinting to override what UserIcons provides. Test: visual Change-Id: Icdae51b3037dc046ccad7a374282cd1ef6fc0206 Fixes: 38052832
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
e549a8d62108c7c7dabedbf4e77b9a653781723b |
|
15-May-2017 |
Jorim Jaggi <jjaggi@google.com> |
Optimize latency when unlocking phone Latency when unlocking the phone regressed a bit for two reasons: - For lockscreen -> app we now have to create a full starting window containing the snapshot, while previously this was just showing a surface. - For lockscreen -> home, we can't use the saved surface anymore because currently we don't support snapshotting translucent activities. However, in the long term, we want home screen to be more involved into transitions anyways, so we'll have to wait for the first frame draw anyways. However, crystal ball trainee developer Jorim added some artificial latency in this transition 3 years ago, because he knew that it is going to be an issue at some point so we have some headroom to improve! Genius! On a more serious note, it was because he didn't understand how to read systraces with binders involved (to be fair, there was also no binder tracing). Now, we can completely fix the introduces latencies above by removing this latency of 100ms, and we are 30-70ms better than before! However, this requires a lot of discipline in SystemUI. Currently, the callback to dismiss Keyguard takes around 30ms. By moving all non-essential binder calls of the main thread or to the next frame, we bring this down to 5ms, such that window animation and Keyguard animation starts about at the same time. Test: Take systrace, unlock phone...profit! Fixes: 38294347 Change-Id: I481fe4ecf358ed09f7142dd9e7ecd290b53c500c Merged-In: I3ea672bc2eca47221bc6c9f3d7c56b6899df207d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
e5b770e47d44a40d412c7d42010b2cf67920d9e3 |
|
04-Mar-2017 |
Jason Monk <jmonk@google.com> |
Updated QS UI - Adds footer to QS which contains the date/alarm info and all touch targets (settings, edit, etc.) - Swaps out emergency + carrier text on cell tile for a standard CarrierText from lock screen in the header to make the header only contain status info. - Add dividing line - Work on animations Test: runtest systemui Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ec34da8f6f31c5ee1e543c0c7999a067487e0ce9 |
|
24-Feb-2017 |
Jason Monk <jmonk@google.com> |
Add method for plugins to reference global dependencies The new annotation versioning system allows plugins to share common global interfaces that can be versioned on their own. To facilitate this add a static method for plugins to get a hold of dependencies. To get any dependency a plugin must @Requires it so it can be version checked. Test: Plugin that uses the new call. Change-Id: I8e01260f8fbc14465502d506a7aa08212795ad9b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
aa573e9e8632552d1fa8bdd6b0ee408ff9a93a6b |
|
27-Jan-2017 |
Jason Monk <jmonk@google.com> |
Work on separating out the status bar management Lots of stuff: - Make StatusBarIconController be a permanent dependency - Break out dark stuff into DarkIconDispatcher - Create StatusBarFragment - This bit is a bit ugly for now, but will be better later - Other stuff probably Test: runtest systemui Change-Id: I4973bc9f944e66af92731bf1edd2b39657f1782f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
1dc93bc407540561ebba1cc007073ab9c71d7a4e |
|
31-Jan-2017 |
Geoffrey Pitsch <gpitsch@google.com> |
SystemUI uses Builder API with NotificationChannel Some changes to channels based on UX feedback. Test: runtest systemui Change-Id: I1b2f661ba145d6926035f992231dc3c2f8cbf844
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
8e032e15e6b1b6a2f44fd3d5063ee83f45d71189 |
|
25-Jan-2017 |
Dan Sandler <dsandler@android.com> |
Notification Channels come to SystemUI's own notifications. There are five channels at present: ALERTS - low battery etc. SCREENSHOTS - progress & result SECURITY - notifications hidden due to policy STORAGE - disk low STATUS - basically everything else The importance for each channel should match the legacy priority of the notifications it carries. Bug: 34250937 Test: runtest systemui Change-Id: I5915ca453258caea63b0d9bd756893db05e8d600
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
9c7844cb91b43929d0a86b1c90aa1efb37f5463a |
|
18-Jan-2017 |
Jason Monk <jmonk@google.com> |
Work on sysui dependencies One of the many problems with PhoneStatusBar is that it holds dependencies for many other parts of SysUI. Fix this by creating a static method of grabbing dependencies that are global to sysui this cleans up a lot of chains of interdependence. Also add easy way to inject mocks of these dependencies for the purpose of testing. Test: runtest systemui Change-Id: Ia0e947faea62d15b665facada47ac9916c99f895
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
5e6c0ffd3e91cf0c5872de3e2d99e225ad1468f4 |
|
05-Jan-2017 |
Chris Wren <cwren@android.com> |
Create a global registry for system message IDs Port all system UI notifications to use the registry. Retain stable integer IDs where they exist. Assign new stable IDs where resource IDs were previously used. Using "message" rather than "notification" since we may eventually want to include dialogs and toasts. Bug: 32584866 Bug: 30995038 Test: runtest systemui Change-Id: Iec4d7cebbd88683e339ada29a279315222699942
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
dc589ac82b5fe2063f4cfd94c8ae26d43d5420a0 |
|
11-Nov-2016 |
Sudheer Shanka <sudheersai@google.com> |
Update usage of ActivityManagerNative. - Remove references to ActivityManagerProxy. - Add isSystemReady to ActivityManager. Bug: 30977067 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
8852905b0b3837e326127c6dfef6f699124ce715 |
|
04-Nov-2016 |
Jason Monk <jmonk@google.com> |
Unit testing for fragments. Set up a base class for testing fragments that will generate the host and run the fragment through some lifecycle checks to make sure it does ok with standard lifecycle. Fragment tests will also automatically check for any sort of leaks related to bindings, receivers, or other callbacks in sysui. This requires changing the statusbar.policy classes with callbacks to have a common interface. Lastly also fixes a few lifecycle bugs in QS found from the above tests. Bug: 32609190 Test: runtest systemui Change-Id: I52007c696c2fd41914bba4ba9d8055f2b564a7d8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
0ceef211875515c2a7531f9baeae46339e700f3a |
|
02-Nov-2016 |
Jason Monk <jmonk@google.com> |
Move QS to a fragment There is now a bit too much of the view/layout logic touching the fragment, but sort out that later and get something over to fragments for now. Bug: 32609190 Test: Manual Change-Id: Icf677f4a70e6b92892a0fc27a0e673940ebc7a73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
383db5ebcc3a4a615faf249bf4f126f42e80b82e |
|
22-Jun-2016 |
Tamas Berghammer <tberghammer@google.com> |
Update package names to work with the proto3 compiler Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
46767b77c004a3541c614f8e21d6a871dd148e54 |
|
18-Aug-2016 |
Jason Monk <jmonk@google.com> |
Extract plugin interface for QS Users must implement the QSContainer interface to be returned by a ViewProvider plugin. The QSContainer must contain a BaseStatusBarHeader and have the id of quick_settings_container. Test: Manual Change-Id: Ibfaa835cad20855a530e4ae142d8a2aeba4a277b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
13a58a91d362e74933b3064a65be4bf4449cfdc4 |
|
28-Jul-2016 |
Evan Rosky <erosky@google.com> |
Make user-switch transitions customizable Make UserSwitcherController subclassable Add ability for keyguard to animate in without a screen freeze by adding a keyguardAnimatingIn state that WindowAnimator and WallpaperController can use to prevent graphical glitches Bug: 29329555 Change-Id: Idfd40156538b4bfb1777ad1a9a566e7da54e8f32
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
37c76807a047193338e3af317fb39373d69c7561 |
|
01-Jul-2016 |
Evan Rosky <erosky@google.com> |
Add a flag that prevents resuming previous user after guest logout Bug: 27502832 Change-Id: I0db289c6391761ff104da823cc2693bdb4258294 (cherry picked from commit 2742c98097c6433044d3b7e858bd977ff3513ebf)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
2dd4567391999bbe8a48fc1b6eeabdd76f3bc128 |
|
30-Jun-2016 |
Jason Monk <jmonk@google.com> |
Merge \\"SysUI: Mantain non-weak reference to listener\\" into nyc-mr1-dev am: d4ec5df707 am: 87d26a75c3 Change-Id: I451b9fae2781d45bc6b5216f3af32655ac6262db
|
705a4bc62341d70a9b75b28f68c64efc88321438 |
|
30-Jun-2016 |
Jason Monk <jmonk@google.com> |
SysUI: Mantain non-weak reference to listener Change-Id: Ie11dfac0af90d65baed40f593eb4ffe7ab0cc0e3 Fixes: 29778623
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
812c7d98fc5e6ca6aa73644bdb388e4ac657ad45 |
|
23-Jun-2016 |
Daniel Nishi <dhnishi@google.com> |
Merge \\"On phones, don\\'t show the avatar icon when it is the only user.\\" into nyc-mr1-dev am: 9ee8f8066c am: 2c0f1a8773 Change-Id: I8689b1ae160323fb3b309c7e9b32913856fab7ef
|
8ba446c9bad94e91cf83c579261298552d51d249 |
|
21-Jun-2016 |
Daniel Nishi <dhnishi@google.com> |
On phones, don't show the avatar icon when it is the only user. The keyguard user switcher isn't enabled for layouts under 600dp width. For these thinner devices, we don't show the multi-user switch view when there is only one user. In order to update this visibility when user changes occur, we re-calculate the visibilities when the keyguard status bar view is made visible again. Bug: 28795981 Change-Id: I980a4c400adc1d9a6c0ce3465854284997e86596
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
3684feb219196a277f037d7ecf0461dad4cf8344 |
|
20-Jun-2016 |
Adrian Roos <roosa@google.com> |
Merge \\\"SystemUI: Override notification app name\\\" into nyc-dev am: e416a4200a am: 840cc3e440 am: fcb2c1b645 Change-Id: Ic7460d198756ab38310a2e3c5dd78850e977284c
|
e25c18da7d2cc3e02620dadfcb976521821bc9d8 |
|
18-Jun-2016 |
Adrian Roos <roosa@google.com> |
SystemUI: Override notification app name Overrides the notification app name for all SystemUI notifications. Change-Id: Ic7676069aa03d5b83f0fbe0e8c3ad9820453118a Fixes: 26517701
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
92c91412ba099f5b5d17a7e28123629a1f7410c8 |
|
05-May-2016 |
Muyuan Li <muyuanli@google.com> |
sysui: refactor for extensibility. Bug: 28466607 Change-Id: I73b017240d86dd3d1be9f76bad284ef6f3c91c9f (cherry picked from commit a78c415c79287f5d03086d0ebd9a7d970ac5360c)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
fc1ee289425896cf625e57eb23964a5994cb8dc9 |
|
11-May-2016 |
Adrian Roos <roosa@google.com> |
Merge "Fix density change bugs in SystemUI" into nyc-dev am: 67b98daaa4 am: 995c05973b am: 374701fc97 * commit '374701fc97f4f509efb7fb264e593b97a7a0fd3f': Fix density change bugs in SystemUI Change-Id: I8fb5bf062f8a2ca6e25b843ced9f9184edd4913d
|
d390b893eafae634844d7b8b84efaa7baa199119 |
|
05-May-2016 |
Adrian Roos <roosa@google.com> |
Fix density change bugs in SystemUI - Reinflate KeyguardUserSwitcher on density changes. - Update size of UserAvatar on Keyguard. - Fix brightness slider width in quick settings. - Refetch and rescale user icons on density changes. Change-Id: I961c59b8b224d6ac22cbbb8e115b8a12547a04b9 Fixes: 28535987 Fixes: 28454340
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ec015d5cb510d26d4e951feb240be8025f477ff5 |
|
06-May-2016 |
Xiaohui Chen <xiaohuic@google.com> |
sysui: fix check secondary user logic Change-Id: I1d22b62c8c0b52289a4d7ec855f452607a92fc9f (cherry picked from commit c3c8dcc85cc5e8fb8ff530f5f2517e53bfb38da5)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ad2e4bf9f36cf612db6c397feca8effb125ee541 |
|
26-Apr-2016 |
Amith Yamasani <yamasani@google.com> |
Stop user faster and clear stale broadcasts Moved several USER_STOPPING registered receivers to listen to USER_STOPPED, since they don't need to be blocking the shutdown of the user. Clear all stale broadcasts when stopping a user, so that we don't unnecessarily start up processes and deliver stale broadcasts. This was causing code to run when the user was already stopped and resulted in crashes when other providers and services couldn't be started anymore. Hopefully this fixes many of those races. Bug: 28371487 Change-Id: Ic35a7a23fa8fe009a53f8bf7545d4dad5fa34134
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
aa7f51fe8c6e54485f0b5037c17777b4695d19e0 |
|
16-Mar-2016 |
Evan Rosky <erosky@google.com> |
Centralized user icon drawing with badges Renamed CircleFramedDrawable to UserIconDrawable and added badge/frame support. Replaced several instances of user icon drawing with UserIconDrawable Bug: 27483956 Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
3c2c34bb039e92d68f466b7d194cbbe8241d8d60 |
|
05-Apr-2016 |
Winson <winsonc@google.com> |
Workaround to ensure that a SystemUI process is always available. - For a non-primary user, this CL will ensure that the SystemUI process is started when we are switched to the user. This allows us to maintain our current user-management model for Recents, which depends on this process for preloading and state management. Bug: 27175589 Change-Id: Id985fc2876e6daf06f303b44c0f9d1d3fd377842
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ad143c09dfbae2f4bb26be8b2a9425edf0562b46 |
|
31-Mar-2016 |
Sudheer Shanka <sudheersai@google.com> |
Revert "Temporary changes to fix crashes during tests." This reverts commit 1c15e01f6dc57cbd8dbfb45f60c625703309c4a5. Change-Id: I9ea2f26c9d95b5429c98a0785b1797bea2e3f945
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
1c15e01f6dc57cbd8dbfb45f60c625703309c4a5 |
|
30-Mar-2016 |
Sudheer Shanka <sudheersai@google.com> |
Temporary changes to fix crashes during tests. Bug: 27852443 Change-Id: Ie61e628213281fc921e8de403d27ae1f941352e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
b5690bc3086af1d1f064a080c728090de24d6f96 |
|
03-Mar-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Added logoutCurrentUser method Bug: 27299227 Change-Id: I01bad3ec364061236c6a76044062144462336910
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
caab2666bd8dbf1e499c309a62f4dff0056d2948 |
|
02-Mar-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Restored switchTo method It is current used in another branch. Restored to fix a breakage. Change-Id: Iec98bf525b88b6b5b45bffb97a1f3e9b57c492dd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
523c404612c634f6901205fee4f4cae594f62982 |
|
25-Feb-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Disable switching users if the user is in a call Also disable "Remove guest" option, which switches the user. Bug: 20652663 Change-Id: Id3ada14c0b3bfe70e9e1ab7034d27098924d7b45
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
1ddda4793c26fd249590fd3549cf060ecb7c157b |
|
12-Feb-2016 |
Lenka Trochtova <ltrochtova@google.com> |
Prevent ephemeral user from being re-entered after stop. Once the ephemeral user stops, the user's deletion is scheduled. It takes a while before the user actually disappears and it is not desirable for the user to be re-entered in the meantime. Mark the user as disabled on stop and check this flag in the activity manager to prevent the user from being switched to again. Also hide the user from user-switching UI. BUG: 26795729 BUG: 26780152 Change-Id: I83a61674958954b5a210114b88ffa5ae55922c1f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
07140f7ffd56bf9d4946eba4e48b21a748125659 |
|
17-Feb-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Disable switching users until user 0 is unlocked Switching with user0 locked can be re-enabled by setting allow_user_switching_when_system_user_locked flag to a non-zero value Bug: 26933989 Change-Id: I0958058f1cc8a059db9c20930e07183c14c8460a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
76c67aa361f65dfb2f5e03d06cc1ccebce9cecd9 |
|
19-Feb-2016 |
Jason Monk <jmonk@google.com> |
Add QS long-press -> Settings Bug: 27269699 Change-Id: I861cb65dbb6609d9c95d5341f5f5aebc3cc519f3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
a8fbbb30eae03b9ed7a3e6ea78da13480a53b73d |
|
11-Feb-2016 |
Sudheer Shanka <sudheersai@google.com> |
Part1 - Don't add padlock if the restriction is not set by admin. Bug: 26687435 Change-Id: I2fd740b1fa0d76eceedc4dde73e41d779820bbcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
c0d7058b14c24cd07912f5629c26b39b7b4673d5 |
|
29-Jan-2016 |
Winson <winsonc@google.com> |
Referencing static interpolators. Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
b6fc931204a3e7a40ac2dfda67f4b61aef9e4b5b |
|
27-Jan-2016 |
Sudheer Shanka <sudheersai@google.com> |
Add padlocks to more qs tiles. Bug: 26764485 Bug: 26765645 Change-Id: I89bb1b3b9a507772299778a1b3611884441408c9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
f6e9228b8a97603d3ceb8f0d61e8d87cf19bd21f |
|
27-Jan-2016 |
Chris Wren <cwren@android.com> |
move framework metrics over to new proto Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
6a13e3be66340c8f408f985219450fec30bbea41 |
|
15-Jan-2016 |
Xiyuan Xia <xiyuan@google.com> |
Merge "Refactoring for better extendability"
|
1b30f79cffbe9e0c2b974fa3ee48001edcdd6c05 |
|
06-Jan-2016 |
Xiyuan Xia <xiyuan@google.com> |
Refactoring for better extendability - Exposing members of PhoneStatusBar, StatusBarKeyguardViewManager and KeyguardBouncer to sub class; - Add a configuable SystemUIFactory as class factory for components; - Add logoutCurrentUser and switchToByUserId to UserSwitcherController; BUG:22407003 Change-Id: I3902baf3c721d89217b27a6310c4202a198cb209
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
1c7cda8bbfb848961536a4adbf2c81c5ffddae16 |
|
31-Dec-2015 |
Sudheer Shanka <sudheersai@google.com> |
Add restricted padlocks to tiles in quick settings. Change-Id: Ib11a38f8512b811e5713a33055a04a72f1b825f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
c06fbb12984a3d3e4c80ab9f819841acae5b0133 |
|
08-Jan-2016 |
Jason Monk <jmonk@google.com> |
Move battery saver notification to QS Remove the battery saver notification and instead create a detail panel within QS that allows it to be turned on and off. Change-Id: I54654d26183586fa171fda04877a840701f8ef33
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
9cbfc9e212151e84910a22387365644916dde446 |
|
08-Oct-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Added DISALLOW_RUN_IN_BACKGROUND user restriction It forces the user to stop instead of going into the background. Also changed behavior of stopUser method. Now it also attempts to stop related users along with the specified userId. Based on ag/807976, with the only difference that it's now a user restriction. Bug: 24579258 Bug: 24708668 Change-Id: I357298908816fc58feeed83b7e9979fc33d25da6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
cd86ebf1c965c191f46b6480145c9d217a7d841e |
|
30-Sep-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Check multi-user support in isUserSwitcherEnabled isUserSwitcherEnabled now returns false if multi-user is disabled( supportsMultipleUsers() returns false). Removed GUEST_USER_ENABLED setting and replaced with DPM.getGuestUserDisabled check. It currently always returns false, but will be replaced with an actual policy check. Bug: 17571233 Change-Id: I41853e8b321b2537952cac5d92e88bfdb8cbd9a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ce161861c3507c91c25b2491abac1e7611d14c5c |
|
18-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Show guest notification on each user switch Change-Id: I572ee347a4059789a67f6da4da008a293bcb3596
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
f931053e3386c42ba53af4d288605c2d2c8b941a |
|
18-Aug-2015 |
Xiyuan Xia <xiyuan@google.com> |
Merge "Rename fullscreen user switcher config"
|
40f9dabaa880eaff54099a3763224b241a6668e6 |
|
17-Aug-2015 |
Xiyuan Xia <xiyuan@google.com> |
Rename fullscreen user switcher config config_camelCase is the preferred format for config names. Bug:19908596 Change-Id: I69f953fb1bd74ec61b2845c54a7c54c3c9b6b86e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
fe11a9f714aa2b037a466c13f5abd787a386b35e |
|
18-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "Make notification content clickable for logout/remove guest"
|
52408f4fb5dab950847aa12e3bea44399ccd0d6e |
|
18-Aug-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Make notification content clickable for logout/remove guest Pressing notification content for logout/remove guest notification, should trigger the same action as the button below. Change-Id: I70294b6855e47a67ace71b8232ffc9b320ef8333
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
cc3a74f6ef13ca9a783845e7a04ca6561035c98b |
|
22-Jul-2015 |
Xiyuan Xia <xiyuan@google.com> |
Add full screen user switcher to lock screen - Add a FULLSCREEN_USER_SWITCHER status bar state; - Switch to this state when lock screen is shown and fullscreen user switcher is enabled; - Add a build config and a test boolean system setting to enable fullscreen switcher; - Placeholder GridView UI for fullscreen user switcher; Bug:19908596 Change-Id: Ief1bc987532522245f4172beca19053d34004cee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
80996bbf40ff192117c391074ed2f9b2cde4e69a |
|
25-Jul-2015 |
Adrian Roos <roosa@google.com> |
resolved conflicts for merge of d4352533 to master Change-Id: I2b9b39a76fdda1e470cba3634ed9986e658d9810
|
4629f1c58c00480b0dbd5a541a26b703b0770bf4 |
|
24-Jul-2015 |
Adrian Roos <roosa@google.com> |
Merge "Fix janky add guest transition" into mnc-dev
|
860397f6521249f1e2733e65ccebe0c0e781b82a |
|
23-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
sys user split: add user logout Adding a user logout option as a pending notification. Similar to the guest user remove notification. This allows the end user to return to system user "login" screen. Bug: 19913735 Change-Id: I72c49c12e9c8acef92be2353008468acb3d7a795
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
5891a346abbde5bfe95a52633d05533406cc6a2e |
|
24-Jul-2015 |
Amith Yamasani <yamasani@google.com> |
resolved conflicts for merge of 54e9686d to master Change-Id: I5352ba632c8481168ad6a08861e73b058e617d29
|
d81f8270bec71ec9a569c8308c42cacd7aba0d23 |
|
24-Jul-2015 |
Amith Yamasani <yamasani@google.com> |
Require permission for internal broadcast It was possible for other apps to request removal of the guest user that was handled by an internal receiver in SystemUI. Fix requires the broadcast sender to have an internal permission so that only SystemUI can send that broadcast (PendingIntent). Bug: 22671268 Change-Id: I63a8ced692e6d1cb2872b962ad247a827dbafbc6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
88b1193ea2880683a6a3fdf9a5a397370a166680 |
|
22-Jul-2015 |
Adrian Roos <roosa@google.com> |
Fix janky add guest transition Delay updating the user switcher until the switch is complete, so we aren't showing an intermediate state while the screen is frozen. Also pokes the UserInfoController to update the user avatar while the screen is still frozen so it is ready by thawing time. Bug: 22557684 Change-Id: I020b8c1ad42c03ab9162ed384ecfe54ed12f998d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ece1044928d3ba040c5d9396627b55072757c7da |
|
17-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Merge "sys user split: update createUser method"
|
cfe64c8afa9f30d8874c72440c3992e79fdb60c9 |
|
16-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
sys user split: update createUser method After the system user is split out, all users are more or less the same. We combine the generic user and secondary user create method to reflect this concept. This also fixes the bug the newly created Primary user from lock screen contains secondary user restrictions. Bug: 19913735 Change-Id: Iff8802cd46401081bb444317becaf6ecab934e1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
e19506c500705e2d5c41bbd91582121bc48c6084 |
|
17-Jul-2015 |
Selim Cinek <cinek@google.com> |
am 2aaf06a4: am d8a090e7: am 4b385459: am 2a10ff08: am 60e15dae: Merge "Fixed a bug where a fingerprint animation was not running" into mnc-dev * commit '2aaf06a4c769a62cc4aeef09cee3806e73ad3fca': Fixed a bug where a fingerprint animation was not running
|
e8bae6288bf0f241f0cea70f2c5e8294f930d4d8 |
|
15-Jul-2015 |
Selim Cinek <cinek@google.com> |
Fixed a bug where a fingerprint animation was not running Previously the fingerprint animation would not run when we successfully unlocked with the fingerprint, because we were checking for the wrong state. Bug: 22483380 Change-Id: I8d3ec303a43323431b8866df29ddd6d668edc1ed
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
7cb69df507f5f7956c52a2868a0d6e89aec6dde2 |
|
14-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
sys user split: refactor systemui user switcher BUG:19913735 Change-Id: I017dd1b03fd163c266b8080b969fb7a2e934e26c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
8a3a964d0ad13374a4c4ee8a8a1b12aa00e577f0 |
|
05-Jun-2015 |
Jason Monk <jmonk@google.com> |
Show Cast Tile when trusted Add a trusted state to the KeyguardMonitor and update uses of it to treat trusted as if it weren't secure. Bug: 19709691 Change-Id: Ic46818b6c27e0bd093c7c3af904388fcb870c4c4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
457a21cdeac04565a0c40ad8c43a928c1182ddd1 |
|
06-May-2015 |
Chris Wren <cwren@android.com> |
add logging to quick settings tiles QS Grid visibility Tiles that are visibile in the grid Taps on tiles Detail visibility for DND, Users, and Data Bug: 20264417 Change-Id: I95e65484a9be0a53a071bc12ce8195120582621e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
f4d6ad26636760163083ae84c40d5b19cb6650f6 |
|
13-Apr-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Display a notification for a new guest Display a notification for a new guest, which includes information that they are using the device as a guest and how to remove guest. Bug: 16956833 Change-Id: I21711949d3a80eaca47251faa6ee0cf04b5bf3e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
844c92b444dca7f5ef4d0943fb14e2cbeee49701 |
|
01-Dec-2014 |
Adrian Roos <roosa@google.com> |
Refresh user list a little more eagerly Unfortunately, we don't get a signal when user restrictions such as for adding new users change. That means the user switcher UI could get out of sync and showed the add user option when in fact it couldn't add one. Also cleans up an unused method. Bug: 18292723 Change-Id: I56f6f848d967d9d1c11bd6262eacbdb11f90cfe2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
c5db390f5b5c6c685267dd22cf3b2926f54fba35 |
|
21-Nov-2014 |
Adrian Roos <roosa@google.com> |
Revert "Only keep user switcher bitmaps if needed" This reverts commit cba0faadbe1c8cf7c6b264b761d747f7381a2f93 with change id I416beb82156787e61ee1f59b6726fd702f135f68. It keeps the fix preventing us from reclipping already loaded bitmaps. Bug: 18350670 Change-Id: I0562d38d2a6eb0b715adcd4ca77512f2cbedd320
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
cba0faadbe1c8cf7c6b264b761d747f7381a2f93 |
|
17-Nov-2014 |
Adrian Roos <roosa@google.com> |
Only keep user switcher bitmaps if needed Only keeps icons if the user switcher is accessible. On phones, this is any time quick settings is expanded. On tablets, this would be whenever the keyguard shows. Reloading them on each screen off transition seems too wasteful however, so we keep them in-memory all the time on tablets. Bug: 18350670 Change-Id: I416beb82156787e61ee1f59b6726fd702f135f68
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
2b154a9ec32915fe4a0dbc648344586fb5fa0261 |
|
17-Nov-2014 |
Adrian Roos <roosa@google.com> |
Reduce user icon RAM usage Reduces the size of the icon in UserInfoController. Also prevents UserSwitcherController from being instantiated if user switching is not available. Bug: 18350670 Change-Id: I38fbf28fad87e5c0d999ab6e3764f93269a95e05
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ccbeb61ac21527839deb115199cbe98fa2b73c05 |
|
21-Oct-2014 |
Guang Zhu <guangzhu@google.com> |
Block monkey from creating user profiles Bug: 17721767 Change-Id: Ibf686d6aa5da29411ee23f8ce6826ed93c1fa970
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
aa6634eaca707f7cbf5f5a1d75b90d8d775d254b |
|
06-Oct-2014 |
Amith Yamasani <yamasani@google.com> |
Set the default user restrictions to disallow calling and sms When creating a user via the UI, disallow phone calls and SMS by default. Primary user must explicitly enable it via Settings. Bug: 17832802 Change-Id: I18cad4be8493ddc8890b5d90da2df256cb3f1ec9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
f99727cb878f9709f6c0263c0283257decbaebad |
|
17-Sep-2014 |
Adrian Roos <roosa@google.com> |
Don't crash if a user can't be created Bug: 17543257 Change-Id: I3ef4ac1524a0e23b4ce1d77c4c05c97f061adc97
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
64d4dca63f65e4c7d4a829c85ff6670bdd34e2eb |
|
28-Aug-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Assign default icon to users at creation time and in SystemUI. Right now different code in System UI, Settings app and other places replace the user icon with their own default. This tries to make it consistent by moving the mechanism used in Settings in a helper class. Bug: 17311038 Change-Id: Ic858c65bf82a98b9806dbba029e7cdcf441f372e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
0c6763a19f32f73f8a940aaee7abecb2a04d1889 |
|
08-Sep-2014 |
Adrian Roos <roosa@google.com> |
Show confirmation dialog when adding user from QS Bug: 17392352 Change-Id: I522b0427dbb594d5e8ce33e928dfdc896dc961c7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
fdd04d42d2a0fe71236ba0a611ab550f52d8dd35 |
|
05-Sep-2014 |
Adrian Roos <roosa@google.com> |
Merge changes Ibb63814e,I0322b1e6 into lmp-dev * changes: Prevent full shade guesture from doing the wrong thing Add current user announce to MultiUserSwitch
|
57cf5702e0634b8cb25daa8f2f73292428ec4e08 |
|
03-Sep-2014 |
Adrian Roos <roosa@google.com> |
Add current user announce to MultiUserSwitch Bug: 17142162 Change-Id: I0322b1e653b8ceac473739dc6b52aa3700d81fb8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
092be7de024b8b1a050ad247a016febc795546af |
|
02-Sep-2014 |
Jason Monk <jmonk@google.com> |
Don't show add user for simple user switcher Bug: 17200801 Change-Id: Ideeabf52cae5a6c874fbc9d68be3e79a815db971
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
7805a10c86a2de9fb5ddf41d63075eef342a59ea |
|
22-Aug-2014 |
Amith Yamasani <yamasani@google.com> |
Show a user switching dialog before starting the user switch switchUser() now first shows a dialog and the dialog calls startUserInForeground to do the actual switch. Bug: 16661752 Change-Id: Ie4e2e9eec8bf7c2116694072ea8555b8254a0e13
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
bed6e3bedc8845e8f9cd59ad436d140b0875cb6b |
|
21-Aug-2014 |
Adrian Roos <roosa@google.com> |
Always put current user first in user switchers Bug: 16896343 Change-Id: I2de19b3af5d5b2eed1347b41bccf9c9dc87c2e5b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
e5b274ac612400a7bc9f258d4ef3c366cfa1bc11 |
|
18-Aug-2014 |
Amith Yamasani <yamasani@google.com> |
Rephrase the Exit guest action and dialog text Exiting guest session -> Removing guest? Buttons = Cancel / Remove Bug: 16495144 Change-Id: I3952e0818fa03edff6f9131a32e6469cbaa27b85
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
95ab7849444125387dc88088bb5197ee463d8c17 |
|
12-Aug-2014 |
Amith Yamasani <yamasani@google.com> |
Decouple user limit from guest creation Allow Guest to be created even if there are N users. Allow N users to be created even if there are N-1 users and a Guest. Limit number of guests and managed profiles that can be added. Added unit tests. Bug: 15934700 Change-Id: I1a8f0fa38a91d71ef7b2980e05c974244dfc337a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
1940892d891c1d2538f51608b6618af646ab7481 |
|
07-Aug-2014 |
Adrian Roos <roosa@google.com> |
QS: Make user switcher expand when users don't fit Also updates the switcher to match the latest redlines. Bug: 16406694 Change-Id: Ibf44ed9ea2ef4e3c467724eb4c79f1df5b3e49f4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
ccdff62159b41ab130a8f90d30edb9b9542d8c72 |
|
06-Aug-2014 |
Adrian Roos <roosa@google.com> |
Update User switcher to new spec, implement adding users Also enforces restrictions on when guests can be added. Bug: 15545213 Change-Id: Ia03747fbcc39f2b1b20876463c85afbac5057878
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
2daf62ce400fe58c7f0495dda432ba568a75f579 |
|
31-Jul-2014 |
Jason Monk <jmonk@google.com> |
Don't show guest when user switcher is simple Bug: 15729059 Change-Id: I9e88f0e7d01044a7096d6fc8d67bcd328014a625
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
723632ea1ae30b33e9c2055194a4464f00c48c61 |
|
23-Jul-2014 |
Adrian Roos <roosa@google.com> |
Update KeyguardUserSwitcher to use UserSwitcherController Also wires up the button to expand the keyguard user switcher. Also respects the EDU simple switcher setting. Bug: 16043126 Change-Id: I58871ec3323b2cafcacbc747fec5f20c56172969
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
70441467f4dc232cd8e6142f0afc117787dc979b |
|
22-Jul-2014 |
Adrian Roos <roosa@google.com> |
Guest: Switch back to previous user when exiting Adds code to track the last non-guest that was switched to. Previously, it would always switch back to the owner. Bug: 15759636 Change-Id: I31415206010f0ab22eedd48eb551cc7ce9b5570f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
5005244f10442e75c1f48973fdddce5facf3f360 |
|
17-Jul-2014 |
Adrian Roos <roosa@google.com> |
More user switching goodness - Confirmation when exiting guest - Dialog when resuming existing guest session (will be HUNed in follow-up CL) - Properly center user name in QS user switcher Bug: 15759638 Bug: 16378966 Change-Id: I63a1dd524975408618c10d90a18052f15deec756
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
4d75c079f35d85b687d8349e5e2940447d01198e |
|
17-Jul-2014 |
Dan Sandler <dsandler@android.com> |
Shrink user profile bitmaps to 48dp^2. Can save megabytes of memory. Bug: 16371371 Change-Id: Ifec5cff3a3376d045ee4e3b605edeb8d9ac93799
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
e9c7d431da85b5bc03ecaa964d7a491b01466a99 |
|
17-Jul-2014 |
Adrian Roos <roosa@google.com> |
QS Guest fixes - Fixes NPE when guest has not been created yet - Reloads pictures only when they changed - Adds "Exit guest" affordance Bug: 16363920 Bug: 15759638 Change-Id: I99ff1c4be06fee96c5169fd7c2d31b1b13f7a389
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|
00a0b1f397557790cf9ab55fe06e72a96ebc5353 |
|
16-Jul-2014 |
Adrian Roos <roosa@google.com> |
Implement real QS user switcher Replaces the stop-gap user switcher with the real deal. Dimensions may need some further adjustments. Bug: 15545213 Change-Id: I4399635c03553dac935049d5b8297fe5f5c1dc9a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/UserSwitcherController.java
|