| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I4f5613f1a4f27fef3a6dec1a3bacec9c78bce524
|
| |
|
|
|
|
|
|
|
| |
That way, they can use cached values for UserContext and others.
Test: manual, temporarily enabling TunerActivity in SettingsButton
Test: atest SystemUITests
Bug: 179913579
Change-Id: Ib0e74b39fbf72b33bbd1ec20f46695ae90b5cf3e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "Update icons and text for guest user"
Revert submission 13278947-new-guest-user-strings
Reason for revert: Use same strings and text as Android R
Reverted Changes:
I8e9b7992d:Update icons and text for guest user
I42c0b46fd:Update icons and text for guest user
Bug: 169783558
Change-Id: I69d8e45c14d6e3f6c78de1be4e5212b226553b0f
|
| |
|
|
|
|
|
| |
Test: As Guest, open Settings > System > Multiple users
Test: As Owner, open Settings > System > Multiple users
Bug: 169783558
Change-Id: I8e9b7992dcfa8a27105b8700438dcc1aa2416b37
|
| |
|
|
|
|
|
|
|
| |
Remove DeviceProvisionedConroller and UserTracker from QSFooterImpl. This also adds
QSFooterImplControllerTest, and fixes one of the tests that was marked as failing.
Bug: 168904199
Test: manual
Change-Id: I0e04bef8df76c6b73c8844f4679cfef08b3b2c13
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is a partial migration, mostly in classes I'm familiar with. This
means that the current user is meant to be retrieved async as part of
initialization or user action, with the execption of
PrivacyItemController that uses the new listener.
Test: atest SystemUITests
Test: manual
Bug: 163579262
Change-Id: I32b5a47194fa0f9607df19f210f30a0e416f7464
|
| |\
| |
| |
| |
| |
| |
| |
| | |
am: fd19257a76
am: 4da6983197
Change-Id: Ibc7a143c6db3d9ca2ac79bc06876136399f4d54b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A user can change various tunable settings setting via adb.
If the value set is not an integer, SystemUI will end up in an exception
loop.
Test: No crash when running:
adb exec-out settings put secure sysui_qs_move_whole_rows a
adb exec-out settings put secure qs_show_brightness a
adb exec-out settings put secure clock_seconds a
adb exec-out settings put secure sysui_volume_down_silent a
adb exec-out settings put secure sysui_volume_up_silent a
adb exec-out settings put secure sysui_do_not_disturb a
Change-Id: If9c565cbdd44db25ba7fce381c98aa0ab735bfc4
|
| |/
|
|
|
| |
Test: n/a
Change-Id: I432e11b52deb7974e50f62076af3b7aa07e364b6
|
| |
|
|
|
|
|
|
| |
- Also removed deprecated activity manifest entry for tuneractivity
Change-Id: Id3a8d25cd9e2bf18c999e273714a2b82fd14ffe8
Fix: 36663882
Test: visual
|
| |
|
|
|
|
|
| |
Test: runtest --path frameworks/base/tests/testablets/tests
&& runtest systemui
Change-Id: Ideef4aef5f26136b1741c556b9be5884f38842a0
|
| |
|
|
|
|
|
|
|
|
| |
This switch is moving to system settings so it should also be declared
by Settings. Also changed the constant's name to make sense in the
System context.
Test: runtest systemui
Bug: 32539932
Change-Id: I7cce21b50702f31465328dd8faed3fbac47528ea
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old embedded percentage (introduced in change I6a3e7409) is hard
to read at status bar size, so we now draw it in a separate TextView to
the left (start) of the battery gauge. (The embedded code remains so
that it can be used by other places where the battery is drawn larger.)
The old system setting "status_bar_show_battery_percent" is still used
to control whether this percentage is shown, but note that it now
applies only to BatteryMeterView (i.e., the status bar) and not other
usages of BatteryMeterDrawable.
Bug: 32539932
Test: (manual) adb shell settings put system status_bar_show_battery_percent 1
Change-Id: Id298dba544f594b11269539284a2e8042fd4780b
|
| |\
| |
| |
| |
| |
| | |
* changes:
SysUiLeaks: Detect leaks in TunerService
SysUiLeaks: Detect leaks of NotificationData.Entry
|
| | |
| |
| |
| |
| |
| | |
Bug: 34932615
Test: manual
Change-Id: I348c18dc4e5772637828c1f53f15c84ad4c39485
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 32539932
Test: runtest -x frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/BatteryMeterDrawableBaseTest.java
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/BatteryMeterDrawableTest.java
Change-Id: Ifdc3368b930abcf248b60ee99f6f9139ad804f91
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In Settings, we also need a BatteryMeterDrawable to show battery meter,
that's why I move it to settingslib.
In this cl, what I have changed is listed below:
1. Create BatteryMeterDrawableLib that contains logic of battery
drawing.
2. Still Keep the battery control logic in systemui.
3. Remove hardcoded battery color by using the color state lists.
4. Move some tests to settingslib
Bug: 34771849
Test: make SettingsLibTests
Change-Id: I39c0f0e31ca5e1b958467298db1d0590d16c9f6d
|
| |/
|
|
|
|
|
|
|
|
|
| |
Add support for testing for PluginManager and TunerService leaks
and add tests for the known leaks and fix them. Also port PluginManager
and TunerService to Dependency to make them easier to handle in
tests.
Test: runtest systemui
Change-Id: I5642539ee24dd72f802905106decd0c87b41b4eb
Fixes: 34846972
|
| |
|
|
|
|
|
| |
Usable edition.
Test: Manual
Change-Id: I20ec31560b89df8ded089974b7da1b60423cdb8b
|
| |
|
|
|
|
|
|
|
| |
- Make leak checking faster by converting to fakes
- Requires making clean interfaces for all CallbackControllers
- Integrate leak checking into the TestableContext
Test: runtest systemui
Change-Id: Ic57a06360d01a0323ef26735a543e9d1805459e2
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 31781480
Test: make SystemUI, and manually inspected sysui appears in
Settings. Turning off sysui tuner still works.
The new alias is used by Settings to display sysui tuner in a different
category instead of in homepage directly. The display location is
controlled by category metadata. We need a alias because the category
metadata is different between new/old activity.
Change-Id: Ie4f2c1f6017459e34227155c83a7767f2003b18b
|
| |
|
|
|
|
| |
Unspam everybody's status bar icons with new default off icons.
Change-Id: Id8375d1871705cc2b3bf258f934176c7510a0fde
|
| |
|
| |
Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
|
| |
|
|
| |
Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
|
| |
|
|
|
|
|
|
|
| |
- Use better service management to ensure onTileAdded and onTileRemoved
are sent.
- Fix not always registered as tunable bug.
Bug: 26423350
Change-Id: I56156de8e0edf903509dac594b471700068ebe3e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.
Also better handling of too many services at a time. Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.
Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb
|
| |
|
|
|
|
|
|
|
| |
- Make the dialog a fragment
- add a null check
Bug: 23341500
Bug: 25341011
Change-Id: I4d9991657c487ea3b5ced8cce2a5072c8adb2ee5
|
| |
|
|
|
|
| |
(only for paging prototype)
Change-Id: Ifb09e3262540a486c9ee7e83a904f96cc4e33fec
|
| |
|
|
|
| |
Bug: 23112000
Change-Id: I52aabdd1f345fb50e2c5015d233f4de3cc8d994d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Long clicking on settings gear in QS causes it to accelarate and
spin, when released it will open and enable the tuner. On first
opening there will be a warning dialog.
Also add way to disable tuner from tuner screen. This way it can
be removed from its former home in Developer Settings. All tuner
settings are reset when disabled to match developer settings
behavior.
Bug: 22462605
Change-Id: Ie700a6a15e6c3caccf7cd1885da73328e6fac6ab
|
|
|
Change-Id: I13daa68d3d1ec5584fd84f356f4f5a0d1c0b853a
|