TreeHugger Robot
37cd69b941
Merge "Update TARE UI." into tm-dev am: 2164070f4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16987400
Change-Id: I176dcf67f12f05cc2f2f7678908cd4f1692bf5ea
2022-02-24 02:08:01 +00:00
TreeHugger Robot
17df4d8268
Merge "Update TARE UI." into tm-dev am: 2164070f4a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16987400
Change-Id: I57221836d484ad0a3719747b8606d7ce1c0db122
2022-02-24 01:56:05 +00:00
Xiao Ma
db7d7de3b4
Adapt new EthernetManager APIs in Settings.
...
EthernetManager is going to be moved to Connectivity mainline module and
new EthernetManager management APIs have been exposed. This CL adapts
new APIs in the settings in advance, the changes include:
1. use addInterfaceStateListener and removeInterfaceStateListener.
2. rely on the onInterfaceStateChanged callback to receive the Ethernet
interface state update, to replace the getAvailableInterfaces and
getConfiguration.
3. after the Ethernet mainline migration completes, Settings cannot
access the platform resource such as config_ethernet_iface_regex,
instead, check the availability of Ethernet interface by checking
if either any of FEATURE_ETHERNET and FEATURE_USB_HOST is supported.
Bug: 210586283
Bug: 218798003
Test: m
Test: manually verify that device can access the Internet via Ethernet
Test: manually verify that device can share the Internet via Ethernet
tethering
Test: make RunSettingsRoboTests ROBOTEST_FILTER=<modified test cases>
EthernetTetherPreferenceControllerTest
AllInOneTetherSettingsTest
Change-Id: I9e10481e1751975772a24db29568aa26bb85cd70
2022-02-24 01:49:57 +00:00
TreeHugger Robot
c73c5bdbc6
Merge "Ensure icons on app filtering page" into tm-dev am: ad1a789a86
am: 0b603a3d4e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16990584
Change-Id: I36c8f5521cc29b970910828e244cd6c1d2c33b4d
2022-02-24 01:45:36 +00:00
TreeHugger Robot
2164070f4a
Merge "Update TARE UI." into tm-dev
2022-02-24 01:27:56 +00:00
TreeHugger Robot
452558375b
Merge "Clean up code." into tm-dev am: 78d917cc14
am: 9703570e85
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16987398
Change-Id: I1a78a8bf61f1aea5c17fde51773d276d1157d56f
2022-02-24 00:57:04 +00:00
Kweku Adams
176fd529eb
Switch from androidx to android. am: ba685c0be0
am: 3a7caf1f13
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16987397
Change-Id: Iccb0740d39a3dc74f8fa0fae9c63a0f8a05f0de4
2022-02-24 00:27:50 +00:00
TreeHugger Robot
e7d4525902
Merge "Reset all TARE constants." into tm-dev am: 42156e7ba9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16989250
Change-Id: I7a4bae895aeff3ea80baa655e4fa549ee84b4394
2022-02-23 23:12:32 +00:00
TreeHugger Robot
c8400ace91
Merge "Ensure icons on app filtering page" into tm-dev am: ad1a789a86
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16990584
Change-Id: I067574378b6cd576e57826a52f78ba33f07bf862
2022-02-23 22:54:17 +00:00
Marie Matheson
3cc8ef6c29
Use primary profile lock settings string in Safety Source, not work profile am: d4822fe6b4
am: cf3d09834e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16979281
Change-Id: I71f14ca8aecc5de05000fc511aeca4002d4a1c3d
2022-02-23 22:45:24 +00:00
Marie Matheson
10929483dd
Merge "Merge SafetyCenterStatusHolder into SafetyCenterManagerWrapper" into tm-dev am: 67c0b83f7f
am: 4dd6d11064
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16941462
Change-Id: Iccec7c5d66d296200d8312b2549040ef8615cafb
2022-02-23 21:55:48 +00:00
TreeHugger Robot
747eed42fc
Merge "Reset all TARE constants." into tm-dev am: 42156e7ba9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16989250
Change-Id: I7bc23b11fcdf6608bf888def2532a58b60c8d447
2022-02-23 21:55:18 +00:00
TreeHugger Robot
4d3a250887
[automerger skipped] Merge "Cache mechanism for Storage page" into tm-dev am: d3cb79a127
-s ours am: bb45fcc0fd
-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: I712484100fabea9edbb574c20c02697396313b36
2022-02-23 21:44:16 +00:00
TreeHugger Robot
42156e7ba9
Merge "Reset all TARE constants." into tm-dev
2022-02-23 21:34:34 +00:00
TreeHugger Robot
c45a71140a
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: I590199eb3f2bb3d679899a1a13752a53d0cfce61
2022-02-23 21:32:42 +00:00
Kweku Adams
2d12b846d4
Update TARE UI.
...
1. Connect the UI and controller components so that users can make
changes and the changes will be written to settings and properly read
back.
2. Update string constants to reflect changes from TIP1.
3. Refactor components slightly to reduce duplicate code.
4. Hide unsupported factors for now. They'll be added back later.
Bug: 158300259
Test: Manually change factors and check settings constant via adb
Change-Id: I2b70e7013c4766ea50f1f013da582eca74015c6b
2022-02-23 21:20:25 +00:00
Aaron Liu
e0f4e795ce
Home Controls: Add Device Controls settings
...
Add a setting that would not require authorization for device controls.
Fixes: 216102581
Test: manual
Change-Id: I1fd98a2fbc1cea44d0b2c3612dd1616a053af394
2022-02-23 21:13:06 +00:00
Aaron Liu
aace0391a0
Merge "Home Controls: Add Device Controls settings"
2022-02-23 21:12:26 +00:00
Kweku Adams
d672c4017d
Switch from androidx to android. am: ba685c0be0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16987397
Change-Id: Iee69adeb08fa0f678689807a88d8dc4c3d9c5359
2022-02-23 20:49:50 +00:00
Marie Matheson
4bc48cd068
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: I38e920f39285fe9b55c70ccf84e468af7631fbeb
2022-02-23 20:42:48 +00:00
TreeHugger Robot
0b603a3d4e
Merge "Ensure icons on app filtering page" into tm-dev am: ad1a789a86
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16990584
Change-Id: I1c1405244855e9cc1ad5cd4026f2abf8a16a3413
2022-02-23 20:33:01 +00:00
Marie Matheson
49213e5f87
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: Iceba51934c39418a12522b6702629c7bb47602bf
2022-02-23 20:10:33 +00:00
TreeHugger Robot
ad1a789a86
Merge "Ensure icons on app filtering page" into tm-dev
2022-02-23 20:05:34 +00:00
TreeHugger Robot
ce3411dfe4
[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: I39c9df2c579c16d533e7ffd8ddd9eae702d88800
2022-02-23 19:57:26 +00:00
TreeHugger Robot
be29553d9b
Merge "Fix incorrect colored bar when task bar is hidden" into tm-dev am: 4003526dd5
am: 71ea2ec3b1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16972170
Change-Id: I06281df7049aa94459ad89510d98a88f531b2cc2
2022-02-23 19:45:27 +00:00
TreeHugger Robot
8fff1299b4
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: Ib9ad1b50cd59449ff8c2ff2979660fbc9b7eeaaf
2022-02-23 19:33:26 +00:00
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
Christian Göllner
082e661bc3
Merge "Add support for device state based auto-rotation preferences in Settings." into tm-dev am: 1a160636b5
am: 91486e2823
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16967923
Change-Id: I9052801fc8683c2f1f0d87c8854d742e61c729cb
2022-02-23 18:57:35 +00:00
Christian Göllner
918ff26ece
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: Ic82fbebfa269be55037553ae911198794f9dd81a
2022-02-23 18:55:33 +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
Aaron Liu
78cae7f28e
Home Controls: Add Device Controls settings
...
Add a setting that would not require authorization for device controls.
Fixes: 216102581
Test: manual
Change-Id: I1fd98a2fbc1cea44d0b2c3612dd1616a053af394
2022-02-23 18:18:54 +00:00
Julia Reynolds
6fd71484b5
Remove unnecessary async
...
Because if the work wasn't scheduled by the time the main page was
shown, the switch would be shown in the wrong state. And these
calls are fast, and can be done on the main thread
Test: turn off DND access for apps with DND rules
Fixes: 207058117
Change-Id: I186413f4237ef754bdfa5cc469e1b7be4ff71f2c
2022-02-23 12:51:45 -05: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
Julia Reynolds
de08d984ef
Ensure icons on app filtering page
...
Test: BridgedAppsPreferenceControllerTest.java, manually look at screen
Fixes: 218724983
Change-Id: I6ee4bb6c39efacecff5c4219dbe9fdb066c49368
2022-02-23 12:25:49 -05: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
Marie Matheson
d658babff5
Merge changes from topic "b220384387" into tm-mainline-prod am: d4553dd10b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16941462
Change-Id: Iceda72893072b07ea30e9cf5f49c32830344198d
2022-02-23 16:53:12 +00:00
TreeHugger Robot
5fb20b8ecb
[automerger skipped] Merge changes from topic "presubmit-am-29aa077ecb4346d8884ed19e21dc3b3c" into tm-mainline-prod am: e1be038ca8
-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: Ia478e0111ce6e76e8b82f34af0848dda908eadc6
2022-02-23 16:32:30 +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
Kweku Adams
a6693df48d
Reset all TARE constants.
...
Reset all TARE constants, not just the enabled status, when a user
clicks on "Reset to defaults."
Bug: 158300259
Test: manual
Change-Id: I5328c7790729e3358751e703271a6ffd386bb33f
2022-02-23 16:03:10 +00:00
Presubmit Automerger Backend
0b843be422
[automerge] Add setting for showing the vibrate icon in status bar 2p: 16148d2c8c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16932463
Bug: 220144337
Change-Id: If4e3bf2b07f7d5ce4121866a2d7cd26d91fb4a82
Merged-In: I2d389d71dd9402353b058039464495a1d33ef0e9
2022-02-23 15:43:46 +00:00
Evan Laird
16148d2c8c
Add setting for showing the vibrate icon in status bar
...
Test: manual
Bug: 220144337
Change-Id: I2d389d71dd9402353b058039464495a1d33ef0e9
Merged-In: I2d389d71dd9402353b058039464495a1d33ef0e9
2022-02-23 15:43:37 +00:00
Evan Laird
4871b2cf6a
Add setting for showing the vibrate icon in status bar
...
Test: manual
Bug: 220144337
Change-Id: I2d389d71dd9402353b058039464495a1d33ef0e9
2022-02-23 15:42:57 +00:00
Yuri Ufimtsev
5d69ff508a
Use FakeFeatureFactory in SafetySourceBroadcastReceiverTest
...
Test: atest SettingsUnitTests
Bug: 215517420
Change-Id: I5beefa766440dd86a5b159160699c3bc0ca46e0c
2022-02-23 14:48:14 +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