TreeHugger Robot
9703570e85
Merge "Clean up code." into tm-dev am: 78d917cc14
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16987398
Change-Id: I340569de72f7aea4e450dd33eaf816d05e50783c
2022-02-23 19:32:49 +00:00
TreeHugger Robot
78d917cc14
Merge "Clean up code." into tm-dev
2022-02-23 19:16:39 +00:00
Kweku Adams
3a7caf1f13
Switch from androidx to android. am: ba685c0be0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16987397
Change-Id: I35660efb0e4d5fff4936c1735a227a2c587c2d77
2022-02-23 18:20:47 +00:00
Marie Matheson
cf3d09834e
Use primary profile lock settings string in Safety Source, not work profile am: d4822fe6b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16979281
Change-Id: I1a57ff9d5edbed4be2052ac69344b9132f157ba8
2022-02-23 17:34:53 +00:00
Marie Matheson
4dd6d11064
Merge "Merge SafetyCenterStatusHolder into SafetyCenterManagerWrapper" into tm-dev am: 67c0b83f7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16941462
Change-Id: I921e869609b29a209071500e0e6681b3283d0d1f
2022-02-23 17:30:23 +00:00
TreeHugger Robot
bb45fcc0fd
[automerger skipped] Merge "Cache mechanism for Storage page" into tm-dev am: d3cb79a127
-s ours
...
am skip reason: Merged-In I75533742a025dc61116207285a894ee728d0af68 with SHA-1 c23be3fa16
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986444
Change-Id: I554c87ea6ca60bc9721a1c6629ec6ef1cbb805be
2022-02-23 17:28:31 +00:00
TreeHugger Robot
71ea2ec3b1
Merge "Fix incorrect colored bar when task bar is hidden" into tm-dev am: 4003526dd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972170
Change-Id: I23fa2457814f9791efaa82901dde9012f99fce58
2022-02-23 17:19:01 +00:00
Christian Göllner
91486e2823
Merge "Add support for device state based auto-rotation preferences in Settings." into tm-dev am: 1a160636b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16967923
Change-Id: I51b72ed64c9b6023a096ac040261b09951c77375
2022-02-23 16:58:36 +00:00
Kweku Adams
bc3304b6a2
Clean up code.
...
1. Create a method for duplicate code.
2. Address style/lint issues.
3. Properly parse settings constant string. The original iteration
wouldn't reset values to their default if the constant string didn't
have a value set.
Bug: 158300259
Test: manual
Change-Id: I994b872ba16f12c8e06ce85aedc526b84e5fa31b
2022-02-23 16:30:08 +00:00
Kweku Adams
ba685c0be0
Switch from androidx to android.
...
The rest of the TARE classes use pure Android Fragments and will have an
issue trying to create an androidx Fragment, so switch from using an
androidx Fragment to an android Fragment.
Bug: 158300259
Test: manual
Change-Id: I4c27198a66bd51b3822421116b46ae3d80d589ff
2022-02-23 16:04:45 +00:00
Marie Matheson
d4822fe6b4
Use primary profile lock settings string in Safety Source, not work profile
...
Test: atest CtsSafetyCenterTestCases
Bug: 215518847
Change-Id: I1c7ddbeb05be81fa902fcb4e42868ddd770d2dc0
2022-02-23 13:42:03 +00:00
Marie Matheson
67c0b83f7f
Merge "Merge SafetyCenterStatusHolder into SafetyCenterManagerWrapper" into tm-dev
2022-02-23 13:34:15 +00:00
Marie Matheson
d4553dd10b
Merge changes from topic "b220384387" into tm-mainline-prod
...
* changes:
[automerge] Merge SafetyCenterStatusHolder into SafetyCenterManagerWrapper 2p: ce321f0dd0
Merge SafetyCenterStatusHolder into SafetyCenterManagerWrapper
2022-02-23 13:34:15 +00:00
TreeHugger Robot
d3cb79a127
Merge "Cache mechanism for Storage page" into tm-dev
2022-02-23 12:13:38 +00:00
TreeHugger Robot
e1be038ca8
Merge changes from topic "presubmit-am-29aa077ecb4346d8884ed19e21dc3b3c" into tm-mainline-prod
...
* changes:
[automerge] Cache mechanism for Storage page 2p: c23be3fa16
Cache mechanism for Storage page
2022-02-23 12:13:38 +00:00
TreeHugger Robot
4003526dd5
Merge "Fix incorrect colored bar when task bar is hidden" into tm-dev
2022-02-23 10:43:03 +00:00
Christian Göllner
1a160636b5
Merge "Add support for device state based auto-rotation preferences in Settings." into tm-dev
2022-02-23 10:41:24 +00:00
Presubmit Automerger Backend
c4594d9948
[automerge] Fix incorrect colored bar when task bar is hidden 2p: 39c8905f4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972170
Change-Id: Iec184e49d8bcb3ccef49a13f0bb24d048103c759
2022-02-23 10:41:24 +00:00
Tsung-Mao Fang
39c8905f4c
Fix incorrect colored bar when task bar is hidden
...
Set backgorund color on content id view instead of homepage view.
Also setup edge to edge for the homepage.
Fix: 215440529
Test: See correct ui on the two pane mode and regular phone.
Change-Id: I2d5988a489410e9620137bd6cf9607768787d4fc
2022-02-23 10:41:14 +00:00
Mill Chen
068fe1c035
[automerge] Cache mechanism for Storage page 2p: c23be3fa16
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986444
Bug: 191117970
Change-Id: I3c09e755c1dd3a218be047fb25a751a3931caf42
Merged-In: I75533742a025dc61116207285a894ee728d0af68
2022-02-23 08:16:01 +00:00
Mill Chen
c23be3fa16
Cache mechanism for Storage page
...
- Use SharedPreference to cache the size info
- Improve the flicker problem on Documents & other preference
- The jobs are destroied on onPause to prevent the jobs being
restarting when back to Storage page
- Enable progress bar animation for each storage item
Bug: 191117970
Test: manual test
1) The loading spinner will be shown when entering Storage page
at first time.
2) Back to Settings homepage and switch back to Storage page, the
loading spinner shouldn't be shown.
3) Click each preference in the Storage page and switch between these
pages, the size info should be updated if something removed and the
order of preference shouldn't be changed.
Change-Id: I75533742a025dc61116207285a894ee728d0af68
Merged-In: I75533742a025dc61116207285a894ee728d0af68
(cherry picked from commit 77775a66f2
)
2022-02-23 08:15:14 +00:00
Kweku Adams
e6f24f02fd
Simplifying settings string generation. am: 82b0e1ccdb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16980814
Change-Id: Ic1b46b0e0cc05f6cfbed6e2d672ea4daafa89ad8
2022-02-22 21:14:27 +00:00
Kweku Adams
82b0e1ccdb
Simplifying settings string generation.
...
Remove duplicate code for generating the settings constant strings, and
make sure not to write redundant data (setting a value to its default).
Bug: 158300259
Test: Android builds
Change-Id: Id79bae3685bfecb4858574ee38b67b2a554823fe
2022-02-22 18:52:35 +00:00
Presubmit Automerger Backend
4efab754ce
[automerge] Merge SafetyCenterStatusHolder into SafetyCenterManagerWrapper 2p: ce321f0dd0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16941462
Bug: 220384387
Change-Id: I2bb6eee411ddf17fdca8e0b6fc80050a080c1e14
2022-02-22 16:37:22 +00:00
Marie Matheson
ce321f0dd0
Merge SafetyCenterStatusHolder into SafetyCenterManagerWrapper
...
Test: SettingsUnitTests
Bug: 220384387
Change-Id: I3886d3cf4717b5c7efd99ebd8ffb6a039e3565a4
2022-02-22 16:36:17 +00:00
Yuri Ufimtsev
6a31bfe04b
Merge "Provide data to LockScreenSafetySource" into tm-dev am: 6368af8bdf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16931921
Change-Id: I979e08ada4c8ddd6ddc3bd929d37fa95e7a27ab8
2022-02-22 14:41:25 +00:00
Yuri Ufimtsev
3104be2f95
Merge "Move all the shared data from biometric controllers to separate utility classes" into tm-dev am: 9bc5f2ee0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16931922
Change-Id: Ifaeb66fa2089e6c84d2a32381301a11d71956988
2022-02-22 14:41:00 +00:00
Yuri Ufimtsev
6368af8bdf
Merge "Provide data to LockScreenSafetySource" into tm-dev
2022-02-22 14:21:40 +00:00
Yuri Ufimtsev
11a32117f2
Merge changes from topic "presubmit-am-4b2506520ad5436ca10c9e64940a6c76" into tm-mainline-prod
...
* changes:
[automerge] Provide data to LockScreenSafetySource 2p: fc9b13e865
Provide data to LockScreenSafetySource
2022-02-22 14:21:40 +00:00
Yuri Ufimtsev
9bc5f2ee0d
Merge "Move all the shared data from biometric controllers to separate utility classes" into tm-dev
2022-02-22 14:20:51 +00:00
Presubmit Automerger Backend
b777246dca
[automerge] Move all the shared data from biometric controllers to separate utility classes 2p: 268d1d6dc6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16931922
Bug: 215517420
Change-Id: If193c916550c2fe5adc3e251239da40519ab4638
2022-02-22 10:37:44 +00:00
Yuri Ufimtsev
268d1d6dc6
Move all the shared data from biometric controllers to separate utility classes
...
Test: atest SettingsUnitTests
Bug: 215517420
Change-Id: Ic5421cd910ae77d4e7c0a29ae0337edb98a1d3b9
2022-02-22 10:35:45 +00:00
Hugh Chen
25356e7a9e
[automerge] Show prediction time when both value are ready 2p: 827910d3c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972164
Bug: 215767460
Change-Id: I2ddb768ff2abdaeeed20afe29375f92ec6ce8777
2022-02-22 05:38:42 +00:00
Hugh Chen
827910d3c3
Show prediction time when both value are ready
...
Bug: 215767460
Test: make -j64 RunSettingsRoboTests
Change-Id: I07947b3eca1f656e0dc603f9b9839825dd3149fd
2022-02-22 05:38:33 +00:00
Kweku Adams
edbd62b8b3
Merge "Update constant names." into tm-dev am: 01ad893e8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16941456
Change-Id: I7e59aefcde83e5cf119c895b48c3f64c2df7e30e
2022-02-22 01:45:17 +00:00
Kweku Adams
01ad893e8c
Merge "Update constant names." into tm-dev
2022-02-22 01:20:10 +00:00
Menghan Li
f3b9f17cfa
Merge "Show different tooltips for QS features auto-added and non-auto-added" into tm-dev am: 24abb535ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932282
Change-Id: I5c69534e1d9bfaadee0f3f2c8ae890360fe9dc9e
2022-02-21 21:33:50 +00:00
Menghan Li
24abb535ed
Merge "Show different tooltips for QS features auto-added and non-auto-added" into tm-dev
2022-02-21 21:15:01 +00:00
Christian Göllner
ff9065ac95
Add support for device state based auto-rotation preferences in Settings.
...
- Creates new preferences that are shown when device-state rotation
is supported.
- Hides standard preferences when device-state rotation is supported.
- Controllers/Preferences for individual folded/unfolded rotation
settings are created and added programatically based on the settable
device states available.
Test: Manually + Unit tests
Bug: 195757480
Change-Id: I16f50fd3664756b363c7eb79e5c35eb0d3b6df17
2022-02-21 17:18:04 +01:00
Wesley Wang
d43d91eb9a
Merge "Refactor compact battery status method (1/2)" into tm-dev am: a01477087c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932281
Change-Id: Iaef1acdf77cbe69ac90206fdc2941aa34e8cdec9
2022-02-21 09:50:39 +00:00
Wesley Wang
a01477087c
Merge "Refactor compact battery status method (1/2)" into tm-dev
2022-02-21 09:25:33 +00:00
Wesley Wang
937e8a5cf2
Merge changes from topic "cherrypick-refactor_compact_status-3o1lsmqltp" into tm-mainline-prod
...
* changes:
[automerge] Refactor compact battery status method (1/2) 2p: 6cd9fc0a7e
Refactor compact battery status method (1/2)
2022-02-21 09:25:33 +00:00
menghanli
cad616bd9a
Show different tooltips for QS features auto-added and non-auto-added
...
There are 2 different kinds of auto-added / non-auto-added illustrations in QS tooltips for framework features. Show animation in the settings page for full flow for non-framework services.
Bug: 218968108
Test: manual testing
Change-Id: I9c95c9f3e60ce94ce4059e27ef93c1dacce7a5c7
2022-02-21 15:49:18 +08:00
Menghan Li
29b078da9c
Merge "Fix two intro strings for Magnification page during Suw" into tm-dev am: 100a1f9990
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932277
Change-Id: Ia46166b3f481ad997e934bea83ab18520ff6aefa
2022-02-21 07:23:26 +00:00
Menghan Li
100a1f9990
Merge "Fix two intro strings for Magnification page during Suw" into tm-dev
2022-02-21 07:04:38 +00:00
Wesley Wang
29ffb0fbc5
[automerge] Refactor compact battery status method (1/2) 2p: 6cd9fc0a7e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932281
Bug: 219650786
Change-Id: I1658817a0da0d6da0b66c31fcfd61d73fc192e8e
2022-02-21 06:34:55 +00:00
Wesley Wang
6cd9fc0a7e
Refactor compact battery status method (1/2)
...
- Move compact battery status logic into libs
Bug: 219650786
Test: make SettingsRoboTests
Change-Id: Icc53c8d88235bffedfb51a3526668277fcbf4f40
2022-02-21 06:34:46 +00:00
Yuri Ufimtsev
2ff02b865a
[automerge] Provide data to LockScreenSafetySource 2p: fc9b13e865
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16931921
Bug: 215515298
Change-Id: Ie8b88aaf608c2171d91da5da1bc56e662b8ed145
2022-02-18 23:49:01 +00:00
Yuri Ufimtsev
fc9b13e865
Provide data to LockScreenSafetySource
...
Test: atest SettingsUnitTests
Bug: 215515298
Change-Id: I59640e9f691754a2225870d40f5db3e6fd8557f8
2022-02-18 23:47:42 +00:00
Kweku Adams
2a51b8bfe0
Update constant names.
...
Updating references based on changes for TIP1. This change is just to
keep things building properly. Updates to the UI and functionality will
be done separately.
Bug: 158300259
Test: Android builds
Change-Id: I3a50c028fe69a6180ae842d3117b5cdfd712e0fd
(cherry picked from commit b05665fa83
)
2022-02-18 21:55:13 +00:00