| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 Release 52 (TQ3A.230605.012)
Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the bug where dragging ring volume slider all the way to left
would not trigger an icon change, on devices that do not have
a vibrator.
Solution: offer a boolean config for volumeDownToEnterSilent.
Bug: 265459313
Test: Manual. Slide ring volume to left in settings. Ring volume
icon should switch to mute/vibrate and not get stuck at normal.
Change-Id: I0d5f71a86703eda61c0d831046b2e0c3f5dabb84
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ported from OxygenOS and reworked for our alert slider
implementation. We target AudioManager instead of Zen,
icons are also the same as aosp and the dialog uses the
material theme as well as support for our themes.
To use, the alert slider config must be enabled. By default,
the dialog shows on the left side. To move it to the right
side, set the location config to 1.
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I69dd059b717a4fba244ad2da439fc041e99ad652
Signed-off-by: DennySPb <dennyspb@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
|
| |
|
|
|
|
|
|
|
| |
Pushed the binder calls down the call stack to where it's on the worker
thread instead of the main thread.
Bug: 226354720
Test: Ran all the tests and verified that Binder calls are on worker threads
Change-Id: I05c89b5057529a492b0e33a9198d1207609245da
|
| |
|
|
|
|
|
|
|
|
| |
This is the first step in moving over to the new public
android.util.Dumpable api.
Bug: 217567642
Test: m SystemUI
Merged-In: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0
Change-Id: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also remove related classes, calls, and resources that were used by QSDetail
and are no longer needed.
Test: atest SystemUITests
Test: TileService cts tests
Test: adb shell cmd statusbar expand-settings
Fixes: 198796184
Change-Id: Ib5c54f197d03794aca35d0305e3e62c7daedb23a
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The original change was reverted because it was breaking the build, but
that was because automerger split the topic so not all CLs were in the
build (see go/automerger-questions#did-automerger-split-a-topic). I'm
now submitting the same changes on master and sc-v2-dev to avoid
automerger issues.
Test: atest and manual
Bug: 138786270
Change-Id: I42665b800fb2016db9e33dcfa85c3661d9ccf605
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "[Dagger] Remove CarVolumeDialogComponent now that the cu..."
Revert "[Dagger] Add VolumeModule to SystemUIGoogleModule."
Revert submission 15548780-dagger-volumedialogimpl
Reason for revert: Breaking builds
Reverted Changes:
Iea3f06de8:[Dagger] Add VolumeModule to SystemUIGoogleModule....
I3213f0c6f:[Dagger] Remove CarVolumeDialogComponent now that ...
I74c71860b:[Dagger] Remove Dependency.get from VolumeDialogIm...
Change-Id: I17255bb75282481014ada7dee43c9a5d5cd2caf9
Bug: 138786270
|
| |
|
|
|
|
| |
Test: atest and manual
Bug: 138786270
Change-Id: I74c71860bbcca044a91c1cd34715742cd6f5a9de
|
| |
|
|
|
|
| |
Test: manual
Bug: 138786270
Change-Id: Ibd1759ece108107afc8381f879de6eea7866f78e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is far easier to move _everything_ into SysUIComponent, and then
selectively promote things back to GlobalScope and/or WMScope than
it is to try to do it one at a time. With this change, though lots
of files are touched, very little actually changes structurally.
After this change goes in, folks should stop using @Singleton quite
so freely. Most things should live in @SysuiSingleton. @Singleton
is due to quickly be replaced by @GlobalScope.
Bug: 162923491
Test: atest SystemUITests && manual
Change-Id: Idc31d3d83b030581fb1fa869f7fafc4f2d3a8828
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pull Demo Mode out of StatusBar.java and create a subscription /
callback model. This reduces the number of broadcasts needed by
StatusBar and also enables for demo mode:
- clean state tracking (dumpsys DemoModeController)
- We can fix bugs like state initialization (entering demo mode on in
dev options has a different effect than entering via broadcast, etc).
- We can more easily implement it as a command line interface (available
for preorder today!)
Bug: 163393864
Test: atest SystemUITests; manual demo mode testing
Change-Id: I70535aeca3478a42b1ebb668822346e23854379f
|
| |
|
|
|
|
|
|
| |
This was affecting CarSystemUI.
Bug: 144289426
Test: atest SystemUITests
Change-Id: I9c3b682dd8b68f458a515b173ec52b81c81a1d1b
|
| |
|
|
|
|
|
|
|
| |
This gets some of the low hanging fruit out of the way for
deprecation of the SystemUI.mComponents member.
Bug: 138786270
Test: atest SystemUITests
Change-Id: I9388d671a39e8a20973c39489398064c434c31ec
|
| |\
| |
| |
| |
| |
| |
| |
| | |
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: Emulator phone and Car
Change-Id: Ia64a23c1d3643899118e578b82c665c034af1c8e
|
| |/
|
|
|
|
|
|
|
|
| |
Legacy RRO was deleted and resources migrated to DeviceDefault theme.
Theming via overlays is still possible, but the overlay should provide
both themes: day and night.
Test: adb shell service call uimode 4 i32 1
Test: adb shell service call uimode 4 i32 2
Change-Id: I5dee2f94764c5c2f4e11cfabfff97656b3822e8a
|
| |
|
|
|
|
|
|
|
| |
Using CarAudioManager to get volume change callback and set volume
change.
BUG: 78766946
Test: manual
Change-Id: I0563938ca20ad83b4b0de0b7cfe780bb6a97b0fd
|
| |
|
|
|
|
|
|
|
| |
Bug: 73134851
Test: manually tested
Change-Id: Ia95a8aa48789652d6af67a542f62353a7bf13607
(cherry picked from commit 4d2a3ef6e9ec3da1c1c5bf5e93b61d2ac89f47b6)
|
| |
|
|
|
|
| |
Change-Id: Idf9e2cfbe1404d5455c25f14b464f455bd74859c
Fixes:72869432
Test: manual (toggle ringer to silence, dnd is not triggered)
|
| |
|
|
|
|
|
| |
Bug: 63096355
Test: manual, change volume with buttons and by touching the slider in
each orientation
Change-Id: I949425ca09c98f8826da5e29a2a479a74acdcf34
|
| |
|
|
|
|
|
|
|
|
| |
VR headsets want to prevent 2d volume ui from being displayed, but want
to keep the high volume warning dialog.
Bug: 67951608
Bug: 68997348
Test: Tested linearly independent configs
Change-Id: Ic102ce626e199d2e3a3cf8fbb091050977c696bb
|
| |
|
|
|
|
| |
Test: manual
Bug: 63096355
Change-Id: I0d090d524cb88f3c1c353de5b096b665657f05cf
|
| |
|
|
|
|
|
|
|
|
| |
Step one in simplifying the volume controls. All controls are still
shown as sliders at the top of the screen, and the ringer stream is
still the default stream.
Test: make, manual
Bug: 63096355
Change-Id: Ia66fbb58cbea6305a6e8a2b4567e23eb93200227
|
| |
|
|
|
|
|
|
| |
Don't need to re-inflate fragments because of ui mode change.
Test: manual
Change-Id: I8cb8ff4f64b5c1cb5982d39c6acced682eaa4d41
Fixes: 62041537
|
| |
|
|
|
|
| |
Test: change theme, view volume
Change-Id: I3f5b6ea7fd949e72624458a13b6c953629fcd1b5
Fixes: 38408033
|
| |
|
|
|
|
|
|
| |
Very few logic changes, mostly just breaking out certain interfaces
and classes to the plugin lib.
Test: make + volume keys
Change-Id: Ieabc6d35f6ef980842849236a0b8ffd5543b3a2c
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
It is a relic of a more complex time, but has passed out of all
knowledge for too long.
Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |\
| |
| |
| |
| |
| | |
am: 5aba92640a
Change-Id: I7e53e99d80e752d085134d165d14dd830ad78033
|
| | |
| |
| |
| |
| | |
Bug: 28269951
Change-Id: I26acfb26064e7f44e4b1897d940228247b45d7b1
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cars usually have an external audio module. When Android is serving as
the car's headunit, users should be able to adjust the car's volume
through SystemUI. The following changes are made to make it work:
+ Load VolumeDialogController from SystemUIFactory
+ Added CarSystemUIFactory
+ Added CarVolumeDialogController which extends VolumeDialogController
and it uses CarAudioManager as source of truth for volume controls.
+ Some refactor in VolumeDialogController to make it easier for
subclasses to override volume controls.
Note that CarAudioManager does not completely replace AudioManager.
Majority of code in VolumeDialogController still applies in the car use
case, so I made CarVolumeDialogController a subclass of
VolumeDialogController instead of making them peers.
Bug: 27595951
Change-Id: Id4adec7281e41aa71f3de034e5b88a32a89be305
|
| |
|
|
|
|
|
| |
Also remove invisible settings buttons.
Bug: 26846853
Change-Id: I15722f5705a7718a90033d24c185eb21c8c41bc9
|
| |
|
|
| |
Change-Id: Ic96ad05a9aab6fc2a1669cfe5f1ba1f3779e1b5e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Show DND tile by default, this is now the only
place to manage DND modes / end conditions.
- Remove super footer from volume dialog, replace with
a simplified version that displays the current mode
and allows ending DND.
- Remove obsolete text-only footer from codebase.
- Migrate remaining volume items into main resource files.
- Rename "No interruptions" to "Total silence".
- Add new user information banner for "Total silence"
- Crude media filtering for Total Silence.
(deeper muting changes will be done as a followup)
- Disable volume dialog sliders completely if muted due
to zen.
- Cleanup ZenModePanel: assume embedded mode, remove
expandable subhead
- Remember "favorite" DND mode inside the DND config panel.
- AudioService: consult ringer-mode-delegate before voluming
down into silent.
- Add new hour options to time-based exit conditions.
- Volume dialog visual updates to move closer to final visuals.
- Unify ringer=silent with DND.
Bug: 19260237
Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
And vice versa (when dialog is showing).
Also make alarms only the default mode when DND is switched on
via the switch.
Bug: 19260237
Change-Id: I16e4a27944bc8245bb2beed84c0421d493b0b876
|
| |/
|
|
|
| |
Bug: 19260237
Change-Id: I3b5785befc05685c7f676e918710fb7500221172
|
|
|
- New VolumeDialog (presentation) + VolumeDialogController (state)
to implement a volume dialog that keeps track of multiple audio
streams, including all remote streams.
- The dialog starts out with a single stream, with more detail available
behind an expand chevron.
- Existing zen options reorganized under a master switch bar
named "Block interruptions", with "None" renamed to "No interruptions"
and "Priority" renamed to "Priority only".
- Combined "Block interruptions" icon replaces the now-obsolete star/no-smoking
icons in the status bar.
- New icons for all sliders.
- All sliders present a continuous facade, mapped to discrete integer units
under the hood.
- All interesting volume events and state changes piped through one central
helper for future routing.
- VolumePanel is obsolete, still accessible via a sysprop if needed.
Complete removal / garbage collection deferred until all needed
functionality is ported over.
Bug: 19260237
Change-Id: I6689de3e4d14ae666d3e8da302cc9da2d4d77b9b
|