Protoype for modifying color of tiles. Provides 2 modes:
qs_color_enabled: allows changing background of tiles
qs_color_icon: allows changing color of icon (only use with
qs_color_enabled)
Enable using:
adb shell settings put system <name> <value>
where name is one of (qs_color_enabled|qs_color_icon) and value is (0|1)
With qs_color_enabled, color of individual tiles can be changed using
adb shell settings put system qs_color_enabled/<spec> <color>
where spec is as defined in QSFactoryImpl and color is one of
(red|green|blue|yellow|accent).
Test: manual
Change-Id: I66096cfa5cb8570074b1547ca3e41bd0888973fa
am: f74a3c9225 -s ours
am skip reason: change_id If2130a4bd8bd9536df01656fe1a8f94548912ab9 with SHA1 7c518d6c34 is in history
Change-Id: I958c78edb745910da2291494c8f536984101ada8
am: 3cf1c83e5d -s ours
am skip reason: change_id I6c8b791524d16223c414612913b22f4d70c27d61 with SHA1 400efa36ef is in history
Change-Id: I21ecc004b820e1b4458a915061dac799e427536b
This changes the Rollback class to make its fields private.
Getters and setters are added as needed to access these fields.
This is a prelude to adding synchronisation to the Rollback class.
Bug: 136241838
Test: atest RollbackTest
Test: new unit test added RollbackUnitTest
Change-Id: I223b82094287b11980d90e530525a9696258471b
The libcore.timezone APIs may form the basis for some
new SystemApis. Before starting that process the API
surface is being rationalized to establish the core
use cases.
Test: Treehugger
Bug: 139091367
Change-Id: I6c8b791524d16223c414612913b22f4d70c27d61
Merged-In: I6c8b791524d16223c414612913b22f4d70c27d61
(cherry picked from commit 400efa36ef)
am: 383ec7f484 -s ours
am skip reason: change_id I1970eba7e732728699042a36b89571915ec81451 with SHA1 9c7d8b12b4 is in history
Change-Id: I6dba7319638212b937bedaacfd14f3a41dc8159e
am: ca61da8141 -s ours
am skip reason: change_id I1970eba7e732728699042a36b89571915ec81451 with SHA1 9c7d8b12b4 is in history
Change-Id: I07ea0c1a3838a79e24d96a3ed66a26fc886869d5
am: f86a72cbd8 -s ours
am skip reason: change_id I1970eba7e732728699042a36b89571915ec81451 with SHA1 9c7d8b12b4 is in history
Change-Id: Iea90ab8c4697f69a649a2e15c635862d8391c142
am: 69f11ef333 -s ours
am skip reason: change_id I1970eba7e732728699042a36b89571915ec81451 with SHA1 9c7d8b12b4 is in history
Change-Id: Ie9e8f47132dc9bf873862dcbbd45779e5e0c14fc
This reverts commit cfe38cdb1c.
The CL 8f712189dfc02285573337e2b4ab17678011db14 in libcore project avoids
the need for adding the new paths in LoadedApk. With the CL, a classloader
does not give up even when loader.findLibrary() has failed due to some
paths are not added to it. Instead, the classloader converts the given
libname into a filename (e.g. foo -> libfoo.so) then calls dlopen()
with the filename. The classloader reports failure only when the dlopen()
call has failed. Therefore, manually adding these paths to the classloader
is no longer needed and thus removed.
Bug: 109720125
Test: System.loadLibrary("adsprpc") is successful in Pixel (because
libadsprpc.so is in Pixel's vendor public lib list)
Test: atest cts/tests/tests/jni
Merged-In: I1970eba7e732728699042a36b89571915ec81451
(cherry picked from commit 37131e1ee6)
Change-Id: I1970eba7e732728699042a36b89571915ec81451
am: d4d88f2486 -s ours
am skip reason: change_id I111403e8dae3bc2b0acafc32e61aa5cd890fea29 with SHA1 de787d4a83 is in history
Change-Id: I8c22ac0adb48d194e9ddde99bf9518f554ab9af2
Since calls to raiseFatalFailure are always followed by
TestLooper#dispatchAll, we can combine them to reduce boilerplate code.
Bug: 140691154
Test: atest PackageWatchdogTest
Change-Id: I0ea23dc132f2ad26ced1119bc5278bc5d876949c
am: 7d664e5437 -s ours
am skip reason: change_id Ic56e38854837a07b8dabd1d19ba35eb1bfe4fd7a with SHA1 d3556f1bc2 is in history
Change-Id: If9a2771453287e7421eea67bfade6eae01dd9c25
am: c6c6534bfa -s ours
am skip reason: change_id I02009720668af218edb38d5a5948a5964b72c685 with SHA1 c463be41e1 is in history
Change-Id: I57ee0a96462b8775e3158ce08901b713c3036b6a
am: 3333a5ea71 -s ours
am skip reason: change_id Id8730455ee79f0ea3fa4c23e0a8b6bd2791eb2d3 with SHA1 bd9cbe355f is in history
Change-Id: I2d2c057b0ac1e7241c254b09a8afea399bbc6be7