History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84caab7bdb1dafb0d00773e26691c54edf729a5b 17-Mar-2017 Jason Monk <jmonk@google.com> QS: Revert change to when user switcher is shown

Its making it inconsistently show up on the lock screen. Until
final behavior is decided, revert to old behavior.

Change-Id: Ifc69f2d5b527cc9ce5a174b16b8b605db26fc35b
Fixes: 36141544
Test: visual
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.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/phone/MultiUserSwitch.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/phone/MultiUserSwitch.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/phone/MultiUserSwitch.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/phone/MultiUserSwitch.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/phone/MultiUserSwitch.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/phone/MultiUserSwitch.java
20aef8a2914478a85aa679ec31bf739c7818eb3c 04-May-2016 Julia Reynolds <juliacr@google.com> Quicksettings accessibility.

Bug: 15696340
Change-Id: I6887e2dad4822911d3a1642aaec5703174b57330
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
ccf08d7c84621ced051c1c3b0f52efde10b94569 26-May-2015 Kaori Katou <kaori.x.kato@sonymobile.com> Dismiss keyguard when user button is tapped

When multi-user is disabled and user button is tapped
on the keyguard, the contact app is displayed behind the keyguard.
The keyguard should be dismissed when the contact app is launched.

Change-Id: I7daa0bec84b5172e78668cc71e51955f166ede0a
(cherry picked from commit 0a334053298c988a816a754c4235ed3b01cc9cfc)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
bc3e2e11cc97b8eca39bde389b03e6cb6755f824 23-Mar-2016 Adrian Roos <roosa@google.com> Follow-up to "Close notification panel when user button is tapped"

The original CL just collapsed the panel. Instead, we're using the
dedicated startActivityDismissingKeyguard to make sure the Keyguard
gets properly dismissed first.

Follow-Up-To: I66ebcb66c898dfebe1d09b798f750f696c360da8
Bug: 27790403
Change-Id: I41c02221de951df885ecfb4f2869820b38410f18
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
f37adce25dce3df4797a734853a7873cc2a87765 25-Feb-2015 Akira Oshimi <akira.x.oshimi@sonymobile.com> Close notification panel when user button is tapped

When multi-user is disabled and user button on the notification panel
is tapped, the contact app is displayed behind the notification panel.
The notification panel should be closed
when the contact app is launched.

Bug: 27790403
Change-Id: I66ebcb66c898dfebe1d09b798f750f696c360da8
(cherry picked from commit 8cb009e45115dbd03c66de6d56ef1510777a4ead)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
ef39ce87d3d0270348b0ada1d6dc0a2b91ad33d9 29-Jan-2016 Steve Pfetsch <spfetsch@google.com> Fixed NullPointerException in SystemUI

NullPointerException occurred on some devices during boot if no user
listener is attached to MultiUserSwitch.

Change-Id: Id6aabf81e0e982a4a6d88d78dcae639a7cbedee4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
69e76ccee78cd20b1ee237cdd5a6134a276dd3e4 26-Jan-2016 Jason Monk <jmonk@google.com> Add user switcher back to QS

Change-Id: Ie3f8139782aee06ad932ded9145162de5e22a824
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.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/phone/MultiUserSwitch.java
ffc9097d10174968750c7a7b05953cb8f80367e4 10-Jun-2015 Adrian Roos <roosa@google.com> Add content description to keyguard user avatar

Bug: 20535812
Change-Id: I32ff0878c2332681ebd848c9da6e2dc42363b9be
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
970be5313a03de60e1993c3d98027f34c1c9b4f1 21-Nov-2014 Adrian Roos <roosa@google.com> Fix user switcher ripple emanation point

Bug: 18444431
Change-Id: I35b053b151ba1e6e326d3a6c2bd2c3c8e3ad8c28
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.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/phone/MultiUserSwitch.java
81e3e941fbfa8fd0ddb68699fa26cce7b459036d 18-Sep-2014 Adrian Roos <roosa@google.com> Disable QS user switcher when not supported

Bug: 17570310
Change-Id: Id32e076928c92c663645024f0d38b26ec4667b78
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
1e4ecf8e7b9351c772d4545adcf89493966da73d 08-Sep-2014 Adrian Roos <roosa@google.com> Don't crash if there's no QS panel

Bug: 17408080
Change-Id: I4632f3b1f484e2e0870f128031ab23db9c520837
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
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/phone/MultiUserSwitch.java
1de02ee3eab1a8ef326557b76e13c0901b9e9164 12-Aug-2014 Adrian Roos <roosa@google.com> Label user switcher button for accessibility

Bug: 15692931
Change-Id: I4add4c21fd0ed95cc3a49e2841173589f37db08a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
98f8530af3bb8636b7b173443c90686c485205d6 07-Aug-2014 Jorim Jaggi <jjaggi@google.com> Animations for Keyguard user switcher.

Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.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/phone/MultiUserSwitch.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/phone/MultiUserSwitch.java
1ef80fe5905a19cf92f073163c187a96287335e4 14-Jul-2014 Adrian Roos <roosa@google.com> Make user switcher appear inside the QS panel

Bug: 15545213
Change-Id: I0f15214a7474ae5303c3af0b7ef6f6a11be572b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
3f48f46d7e9073edbc4d8613a6dd4d68a37a11b6 08-Jul-2014 Jorim Jaggi <jjaggi@google.com> Update QS header to spec

- Move brightness slider down.
- Make clock bigger when expanded.
- Show date in collapsed state.
- Change size of avatar depending on collapsed/expanded.

Bug: 15865202
Bug: 15381387
Change-Id: I7894edae495b5a2d12b4fe4637a9aa3fd2e58963
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java
3d878be53d033365318733b84b764cd5b4e6357a 10-May-2014 Jorim Jaggi <jjaggi@google.com> Implement new multi-user affordance.

Change-Id: I6d7e6cc9893bc7d4fd87431e8e364500af42f107
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/MultiUserSwitch.java