| 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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In preparation for refactor, extract the QSHost interface everywhere so
access is done through it. This determines also the surface we may need
to provide.
Test: atest SystemUITests
Test: atest android.host.systemui
Test: atest CtsTileServiceTestCases
Bug: 249804331
Change-Id: I660311eb60336ead6e5694c4e3e6099151dbaecc
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
spkal01: Utilize Tuner Settings and simplify implementation
Co-Authored-By: spkal01 <kalligeross@gmail.com>
Signed-off-by: StarkDroid <gamerprince.exp@gmail.com>
Change-Id: I4ca9d8fe6258b2dfa3e5ae7ab8bde2fb3372aff5
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Inspired by:
https://github.com/PotatoProject/frameworks_base/commit/dbaed27cd2633bd825a598e0b4615dacdb36cd00
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ib581beeca3af155d406f4ca5d2f773abed913c5e
|
| | |
| |
| |
| |
| |
| |
| |
| | |
@neobuddy89: Complete rewrite with fixes.
@Stallix: Adapt to A13 changes.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I7d8741fb24de1eca00822b357f8f3d1e50d327d7
|
| | |
| |
| |
| | |
Change-Id: If6033ab86d5513ff0da33bdd49f5f658732ba4ed
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* They use the tunable infrastructure but are real user settings and
shouldn't be reset with tuner settings. Moreover, setting them to
null would cause a IllegalArgumentException.
jhenrique09 edits: Adapted to PE
Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
Change-Id: I8d8b35fb4a8699480c158610e82f67c0fba622e1
|
| | |
| |
| |
| |
| | |
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I26785cd36552e72fb57d1a6bfa7a18c47b81f117
|
| | |
| |
| |
| |
| |
| | |
We'd like to modify some AOSP System settings as well.
Change-Id: I4e2e7bf680f20bce9619ff2adf243d0f8f4a9906
|
| | |
| |
| |
| |
| | |
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I508fe6b72e6163a31d47f016aa294b74658773f3
|
| | |
| |
| |
| | |
Change-Id: I7bea54fa19c61f3c769c0bafd9ea359ad1bd3356
|
| |/
|
|
|
| |
Change-Id: I4d3ff3ca989e6a6952419d147208318ee269b9d7
Signed-off-by: xyyx <xyyx@mail.ru>
|
| |
|
|
|
|
|
|
|
|
| |
This removes a two-way call to system_server in the main thread. The
only way to enable the tuner right now is through adb and it's largely
not used, so removing this indicator is not a big loss.
Fixes: 207257090
Test: atest FooterActionsControllerTest
Change-Id: If03c697f97a6c155122be98e369da66d2617069b
|
| |
|
|
|
|
|
|
|
| |
Add a listener so that when the user toggles "show recommendations" in
settings, any existing recommendation is immediately removed
Fixes: 190214883
Test: atest MediaDataManagerTest
Change-Id: I3faa5ea7762baf41e802f128987a358163e00759
|
| |
|
|
|
|
|
|
|
|
| |
- Add a new setting to control whether smartspace recommendations are
enabled
- Remove setting to block individual apps from resumption
Bug: 187925818
Test: atest MediaDataManagerTest
Change-Id: If1d5f4c5a204e655a90dd2cca6687acdfcd12fec
|
| |
|
|
|
|
| |
Test: m SystemUI
Bug: 169783558
Change-Id: I126852ebe45e3f034a1e162048c2e8875276f524
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 adds a setting which stores a list of packages that will be
prevented from persisting in QS as resumable media controls, even when
resumption is enabled. If the user adds a new package to this list when
it already has a resume control, that control will be removed.
Bug: 161813143
Test: manual, atest
Change-Id: I8c85bc937aeaf366954f2669eba8f6954640fe4c
|
| |
|
|
|
|
|
|
|
|
| |
See https://source.android.com/setup/contribute/respectful-code for reference
#inclusivefixit
Bug: 161896447
Test: still builds! let's see what presubmit says.
Change-Id: Ia0aac0b80511076f77a64a9eee6eff9376ed906f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved setting so we can use Tunable:
adb shell settings put secure qs_media_resumption 1
If setting is changed, removes all existing resume players
Bug: 154039093
Test: manual
Test: atest SettingsProviderTest
Test: atest com.android.systemui.media
Change-Id: Iad056fbad4520cfe762d9e9f5ed62d38ea1117b1
|
| |\
| |
| |
| |
| |
| | |
a7a96ad6f8 am: 314eb8f16b" into rvc-d1-dev-plus-aosp am: 059370c6f9 am: d0db148bcd
Change-Id: I039fc6b9674fb31ac5733daf95a1157b58921d3b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Starting in R, there is a new public API overload that delivers a
flags argument. Some apps may be relying on a previous hidden API
that delivered a userId argument, and this change is used to control
delivery of the new flags argument in its place.
There are dozens of these hidden API users are in the system UID,
either in the system process or the Settings app, so we hard-code
giving them the legacy behavior, since refactoring would be messy
between internal and AOSP branches.
Also adjust incoming and outgoing method signatures to use slightly
more flexible Collection<Uri>, which has handy methods like
contains() and isEmpty().
Bug: 150939131
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest
Exempt-From-Owner-Approval: trivial refactoring
Change-Id: If6a77449e19215cf1c60d4217e62fc04b0959bfc
|
| |\|
| |
| |
| |
| |
| | |
am: bea69abe17 am: 9e4f2bfde8 am: ab5e2d6fa8 am: 2e9ed7ff6c
Change-Id: I24561cb1d7a9778c342eb060e6b07a64ed63fc48
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix instances due to change in signature.
Test: atest SystemUITests
Test: atest TileServiceTest BooleanTileServiceTest
Bug: 150939131
Change-Id: Ie5903231eb7dd22553803c6a65994ef3dc957708
|
| |/
|
|
|
|
|
|
| |
Swapped HashMap with ConcurrentHashMap to allow multi-threaded access to mTunableLookup.
Bug: 131588251
Test: atest SystemUITests
Change-Id: I318fbd591060305b0365163ac3d2242abeabfeea
|
| |
|
|
|
|
|
|
| |
blacklist from config value, config_statusBarIconBlacklist.
Bug: 118675475
Test: Manual
Change-Id: I44dd1d007d3f7b9b435eceb273ecf333aef7cef4
|
| |
|
|
|
|
|
|
|
|
|
|
| |
@MainHandler, @MainLooper, @MainResources -> @Main
@BgHandler, @BgLooper -> @Background.
Also, move the providers for Handlers and Loopers into the
ConcurrencyModule.
Bug: 146510722
Test: atest SystemUITests
Change-Id: I991735e1fdca397784427409a2ae696a7374f584
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL migrates most of the remaining classes to use
BroadcastDispatcher. Some classes left are Views or created before the
BroadcastDispatcher can be injected.
Adds docs for instructions on using the BroadcastDispatcher.
Using the broadcast dispatcher, the time system_server spends
dispatching common intents to SystemUI like SCREEN_OFF and SCREEN_ON can
be seen to decrease from ~70-150ms (in a Q build) to ~2-4ms.
Additionally, once a broadcast is received by the dispatcher, time
until it is fully dispatched inside SystemUI is not impacted greatly.
Most broadcasts are fully dispatched after ~20ms with a few of them
taking ~100ms.
Test: atest SystemUITests no regressions
Test: build and boot
Test: tried some random broadcasts and they are properly dispatched
Test: BroadcastDispatch dump
Test: adb shell dumpsys activity broadcasts
Bug: 134566046
Change-Id: I26a592be66b053f25669b5481b58bf7f07bfd0da
|
| |
|
|
|
|
|
|
|
| |
This adds new Dagger qualifiers for BgHandler, BgLooper, MainHandler,
MainLooper, and MainResources, replacing the use of @Named for them.
Bug: 142954072
Test: atest SystemUITests
Change-Id: Ibbda8998e587474c26740ba8d49a8b3f90d89efa
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL introduces a way of blocking IPCs on the main thread.
This is enforced by StrictMode, and enabled on tests and eng
builds.
All current blocking IPCs were whitelisted and bugs will be
filed, in order to fix them for R.
Bug: 139360025
Test: adb logcat
Test: atest SystemUITests
Change-Id: I45af2619605ee36b6bae83ef080272c62754b654
|
| |
|
|
|
|
|
|
|
| |
Upgrade tuner on the main thread to avoid
ConcurrentModificationException.
Fixes: 133847620
Test: mp droid
Change-Id: I15ef66a19eeac2c6baf652d83e6a90669834f203
|
| |
|
|
|
| |
Test: atest SystemUITests
Change-Id: I9567304e30cc61f7aeb4115da4993fc6af91cfd3
|
| |
|
|
|
|
|
|
|
| |
Create DependencyBinder which is abstract and can tell dagger how
to convert directly between interfaces and implementations without
requiring code for it.
Test: compile (which runs dagger)
Change-Id: I7013ee12d37172441e2c70cf2fe36f707975c821
|
| |
|
|
|
|
|
|
|
|
| |
Symptom:
System icon tuner preference is removed at P-osv but icon_blacklist
setting remains for sub users. There is no way to reveal the hidden
icons.
Bug: 111575893
Change-Id: I5174657048c24e5f85bbf2bb936a97a51262eee5
|
| |
|
|
|
|
| |
Test: manual
Change-Id: I934cfcd65552c9998eb95ecfed65670ec73dde8d
Fixes: 78512759
|
| |
|
|
|
|
|
|
|
|
| |
Now without wiping user settings!
This reverts commit a3e5552c475c328fcfb385ab4bdbb34cb556f5fb.
Test: build, push, see QS tiles not reset
Fixes: 74851117
Change-Id: I34c98da2d96f5d4f0774acf106a80a7b27391ca7
|
| |
|
|
|
|
|
|
| |
Bug: 74851117
Fixes: 77937472
This reverts commit 8bb9bbf152e35cdb4263aa1132827d51eb57e8b4.
Change-Id: I2dea3fec7ca3f59c63ce9395ba2784ca9dc58316
|
| |
|
|
|
|
| |
Test: manual
Change-Id: Iff383557761fee92e37de4c4f3fcc10cff333299
Fixes: 74851117
|
| |
|
|
|
|
|
|
| |
- Turn off the affordance that enables the tuner
- Bump the tuner version db and disable the tuner
Test: manual
Change-Id: Id2d2a4005ff88ca94c7abed5f4a6b3c71d46b9ef
|
|
|
Test: runtest --path frameworks/base/tests/testablets/tests
&& runtest systemui
Change-Id: Ideef4aef5f26136b1741c556b9be5884f38842a0
|