Simon Wingrove
2c14d9e396
Allow security controllers to be used in other fragments.
...
Bug: 180581209
Test: atest SettingsUnitTests
Test: make -j80 RunSettingsRoboTests
Change-Id: I70088eaab16dd64c1183e42e90346c6d2dcbe35b
2021-05-11 08:15:19 +01:00
changbetty
5d847b8b67
[GAR] Remove the registerForContextMenu for getting the correct TalkBack
...
feedback
[Root Cause]
Call the registerForContextMenu to set the view to long-clickable, so
the TalkBack will feedback the "List, Double-tap and hold to long press"
Bug: 187438189
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: I5c33d400a405062e51caccda7a9abe9e76aafea7
2021-05-11 14:55:00 +08:00
Hugh Chen
e914289a2c
RESTRICT AUTOMERGE Fix unable to send file via OPP am: 5de62d1955
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14419442
Change-Id: I5c756e1ae08c73f8a20ceacb106eb51b9cc3267b
2021-05-11 06:18:11 +00:00
Hugh Chen
7b05629834
RESTRICT AUTOMERGE Fix unable to send file via OPP am: 51755e9a33
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14419447
Change-Id: I7256d5f30d6c4b3063181a768b5d3796cf517383
2021-05-11 06:16:42 +00:00
TreeHugger Robot
f45fa1bf85
Merge changes Ia51528f2,Id27a7809 into rvc-dev
...
* changes:
RESTRICT AUTOMERGE Fix unable to send file via OPP
RESTRICT AUTOMERGE Fix bluetooth settings will broadcast to anywhere when some cases
2021-05-11 06:03:28 +00:00
TreeHugger Robot
4074cd5e48
Merge changes Ia51528f2,Id27a7809 into qt-dev
...
* changes:
RESTRICT AUTOMERGE Fix unable to send file via OPP
RESTRICT AUTOMERGE Fix bluetooth settings will broadcast to anywhere when some cases
2021-05-11 06:03:19 +00:00
Peter Kalauskas
c24234c301
Add tests for guest user events
...
Also, move ACTION_USER_GUEST_EXIT_CONFIRMED so it is only logged after
safety-check
Test: ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest" m RunSettingsRoboTests
Test: ROBOTEST_FILTER="com.android.settings.users.UserDetailsSettingsTest" m RunSettingsRoboTests
Bug: 184200796
Change-Id: Id18aa914bbb262984d7c7cf4b8a4ffdde278fd23
2021-05-10 20:36:48 -07:00
Joe Bolinger
971f0f3c5a
Add userId parameter to all uses of challenge in settings.
...
Bug: 184915229
Test: manually on device (as normal, extra user, & work profile)
Change-Id: Id509b5866d53525b38a5bb95bbbcc723d6651745
2021-05-10 18:26:57 -07:00
Abel Tesfaye
88a773892b
Add warning message when power save mode is enabled for smart auto rotate settings fragment
...
Test: locally with flame, make RunSettingsRoboTests -j96
ROBOTEST_FILTER=SmartAutoRotateBatterySaverControllerTest,SmartAutoRotateControllerTest
Bug: 186690152
Change-Id: Ibac90a4edd4631e8256da79d0594ac7704b5f8f7
2021-05-10 19:30:04 +00:00
Abel Tesfaye
51ce242573
Add warning message when power save mode is enabled for attention settings fragment
...
Test: locally with flame, make RunSettingsRoboTests -j96 ROBOTEST_FILTER=AdaptiveSleepPreferenceControllerTest,AdaptiveSleepBatterySaverPreferenceControllerTest
Bug: 186690152
Change-Id: I42e018a8cf48166a8250fac9510a8882efb58568
2021-05-10 19:27:17 +00:00
Jakub Pawlowski
68f799a4c6
Prevent drawing on top of DevicePickerActivity
...
Bug: 182584940
Change-Id: I8b27b397bce1708a42b96b1b647c64e23142c468
2021-05-10 19:50:49 +02:00
Wesley Wang
180e63c0b8
Merge "Update battery usage summary" into sc-dev am: 56488ef84b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14486916
Change-Id: I9fa451611e4abfab6cfcbf25864485b28ca6e7e3
2021-05-10 17:17:07 +00:00
Wesley Wang
56488ef84b
Merge "Update battery usage summary" into sc-dev
2021-05-10 17:00:07 +00:00
Julia Reynolds
044aeb767d
Merge "Handle NLS metadata when provided as strings" into sc-dev am: 333b68d059
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14470497
Change-Id: I5451f21c6519f20050e981ab868f233adeefb393
2021-05-10 16:02:20 +00:00
Julia Reynolds
333b68d059
Merge "Handle NLS metadata when provided as strings" into sc-dev
2021-05-10 15:56:35 +00:00
TreeHugger Robot
74f49b0ec9
Merge "Fix work profile setting appearing too often" into sc-dev am: 9cb5ab3860
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14470515
Change-Id: I327dc293b5441ff010e931feaacc11125f28f780
2021-05-10 13:43:42 +00:00
TreeHugger Robot
9cb5ab3860
Merge "Fix work profile setting appearing too often" into sc-dev
2021-05-10 13:26:31 +00:00
Wesley.CW Wang
8d5010f6ec
Update battery usage summary
...
- Set up different summary for AOSP
Bug: 185855825
Bug: 187667156
Test: make SettingsRoboTests
Change-Id: I94dccfc325ecfcff8013fe4d3b5b65c427dcae5c
2021-05-10 13:03:12 +00:00
Tom Hsu
3a5b0d10fe
Merge "Show W+ when connected to Carrier Wi-Fi Network" into sc-dev am: fa024d6fc8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456005
Change-Id: I116e5f2e4f02b620513fd5b6d08eaa131f438b55
2021-05-10 08:54:05 +00:00
Tom Hsu
fa024d6fc8
Merge "Show W+ when connected to Carrier Wi-Fi Network" into sc-dev
2021-05-10 08:35:36 +00:00
Arc Wang
fa6e82b879
Implements profile selection tab in Storage Settings
...
- StorageDashboardFragment and StorageItemPreferenceController works only
for one profile per instance.
- StorageAsyncLoader loads for all users(profiles) and regards each user independent.
- SecondaryUserController will not load personal profile user in work profile tab.
- Cleanup some unused profile related files.
Bug: 174964885
Test: atest com.android.settings.deviceinfo
atest com.android.settings.deviceinfo.storage
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.storage
Change-Id: I8361c29bc240c519c7261b19522c41439479c1c2
2021-05-10 15:21:33 +08:00
TreeHugger Robot
541feb1c09
Merge "Merge existing bundle with ActivityOptions" into sc-dev am: 57d8d38a3c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14455998
Change-Id: I5836a10fa8c0ba2d64d1b059ef52b62b2964c119
2021-05-10 06:19:16 +00:00
tom hsu
2519077d97
Show W+ when connected to Carrier Wi-Fi Network
...
Internet picker
- https://screenshot.googleplex.com/7k4ojF65a8Bis5R
Internet panel
- https://hsv.googleplex.com/6749112168873984
Bug: 185431894
Test: atest passed
Change-Id: Ic79686b47f033870ad8e7741f9baf3230dde7b7c
2021-05-10 14:08:05 +08:00
TreeHugger Robot
57d8d38a3c
Merge "Merge existing bundle with ActivityOptions" into sc-dev
2021-05-10 06:05:37 +00:00
Weng Su
787edc7fd6
Merge "[Provider Model] Add progress bar to internet panel" into sc-dev am: 72c3debb0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14442219
Change-Id: If1522799983b816d12f6f8312d4aec158ca7a3fc
2021-05-10 05:42:37 +00:00
Weng Su
72c3debb0b
Merge "[Provider Model] Add progress bar to internet panel" into sc-dev
2021-05-10 05:28:15 +00:00
Weng Su
c407a2d9f8
[Provider Model] Add progress bar to internet panel
...
- Show progress bar when Wi-Fi scanning
- Show "Searching for networks..." sub-title when Wi-Fi scanning
- Remove "Wi-Fi" from searching networks string
Bug: 178774497
Test: manual test
atest -c InternetConnectivityPanelTest
make RunSettingsRoboTests ROBOTEST_FILTER=PanelFragmentTest
Change-Id: Ic05b939bef3b106845fe90db41eb09f0e15756f4
2021-05-10 05:27:59 +00:00
YUKAI HUNG
7307e04ef2
Merge "Support old pixel devices to adopt non-clickable chart design" into sc-dev am: 48535ffd29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456009
Change-Id: I8e2ca4eabdd2ecfb9951156847b31681789dda89
2021-05-10 04:00:54 +00:00
YUKAI HUNG
48535ffd29
Merge "Support old pixel devices to adopt non-clickable chart design" into sc-dev
2021-05-10 03:44:31 +00:00
TreeHugger Robot
92519a6c95
Merge "Commit changes only when activity is closed" into sc-dev am: 257b3ec584
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14463203
Change-Id: I9a5fa5f3053b726e691af4ce36d4b12b035e7853
2021-05-10 03:06:19 +00:00
TreeHugger Robot
257b3ec584
Merge "Commit changes only when activity is closed" into sc-dev
2021-05-10 02:49:31 +00:00
ykhung
28896636b0
Support old pixel devices to adopt non-clickable chart design
...
For clickable devices:
https://screenshot.googleplex.com/ktBfjhhHQVYfTmF
https://screenshot.googleplex.com/BYutnpu9Dys2sa6
For non-clickable devices:
https://screenshot.googleplex.com/64NaKhRDrhfBqBQ
Bug: 185308803
Test: make SettingsRoboTests
Change-Id: I5bc0bb31946ccb20007ea31d90c05673a200e072
2021-05-09 16:30:11 +00:00
ykhung
4828bf4e48
Build a bridge to control whether the graph is clickable or not am: d8d5335096
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456008
Change-Id: I1292bfc3688035c1a7f582049fe285beccad3c97
2021-05-09 05:11:25 +00:00
ykhung
d8d5335096
Build a bridge to control whether the graph is clickable or not
...
Create a bridge to read phenotype flag from GoogleSettings to control
whether each time slot in the graph is clickable or not.
Bug: 185308803
Test: make SettingsRoboTests
Change-Id: If8b58dcaa50ad5fb6b447ca5b7146639ee31a9df
2021-05-09 04:46:41 +00:00
ykhung
ea562f84b6
Fix UI flashes issue when entering to the app in the cold start am: 5b27fd923a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456007
Change-Id: Id4d9678378f1d1aae64ea8ca9e64ab3458b2b680
2021-05-09 04:27:18 +00:00
ykhung
5b27fd923a
Fix UI flashes issue when entering to the app in the cold start
...
1. fix the chart % info will flash issue by deferring the showing time
until the chart content is ready to show (set default as invisible)
2. fix the category title will flash issue by set the default value as
empty to avoid refresh the title twice in the start time
Bug: 177406865
Test: make SettingsRoboTests
Change-Id: If8f247cf5b01c529bc5e4d18fcf409ba296cc2f4
2021-05-09 01:56:09 +00:00
Yu-Han Yang
f793822db8
Merge "Revert "Remove dynamic location settings footer"" into sc-dev am: f730edaaac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14443640
Change-Id: Icc34de95d3db29d33e2aaeaa6827cff2c0fdf718
2021-05-08 16:15:26 +00:00
Yu-Han Yang
f730edaaac
Merge "Revert "Remove dynamic location settings footer"" into sc-dev
2021-05-08 15:58:10 +00:00
Curtis Belmonte
0117e8a80f
Merge "Revert "Turn on the transition flag"" into sc-dev am: 5ece4babd3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14471733
Change-Id: Iba9854a104ba9b427868d3d66731fc3e76383664
2021-05-08 07:47:12 +00:00
Curtis Belmonte
5ece4babd3
Merge "Revert "Turn on the transition flag"" into sc-dev
2021-05-08 07:38:45 +00:00
TreeHugger Robot
017d6997ed
Merge "Controls/Wallet privacy settings" into sc-dev am: 67fd37c837
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14470513
Change-Id: I4e0cc31f000e11a247e6d6aef90a7c19b45b89be
2021-05-08 03:05:38 +00:00
TreeHugger Robot
67fd37c837
Merge "Controls/Wallet privacy settings" into sc-dev
2021-05-08 02:46:54 +00:00
Curtis Belmonte
1e1b259445
Revert "Turn on the transition flag"
...
This reverts commit 1be773da62 .
Reason for revert: b/187517936
Fixes: 187517936
Change-Id: I57d0a7a16bdb76e105b0febd43bdf81521e69e3a
2021-05-07 22:43:05 +00:00
TreeHugger Robot
4b12334524
Merge "Prevent multi-sensor enrollment from doing nothing." into sc-dev am: 0842cc9adc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14463204
Change-Id: Ibe6d65df7be6a66db8c6fd8d29f22b81d9af569f
2021-05-07 20:42:38 +00:00
TreeHugger Robot
0842cc9adc
Merge "Prevent multi-sensor enrollment from doing nothing." into sc-dev
2021-05-07 20:25:35 +00:00
Julia Reynolds
540ad99d88
Fix work profile setting appearing too often
...
That is, when the user didn't have work profile
Test: robotests, manual
Fixes: 187520760
Change-Id: I9394359a6bc278d58ef13b30f8ce99cbaa595c25
2021-05-07 15:02:54 -04:00
Matt Pietal
a13e30c11a
Controls/Wallet privacy settings
...
Addressing feedback from ag/14353975
Fixes: 185597511
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.display
Change-Id: I4de5b7f94d4be44820b1fa463d97f4f098f64bff
2021-05-07 14:54:54 -04:00
Julia Reynolds
2fe3273f3a
Handle NLS metadata when provided as strings
...
Test: atest
Bug: 181175697
Change-Id: I40d935ffb7c1fb9f978160d28297da84412501fb
2021-05-07 18:37:10 +00:00
ykhung
dc424283be
Fix corner case IndexOutOfBound exception for null content am: bf5dd80d4f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456006
Change-Id: Ie0d7ecbc943442473dd540bc6962966f67c8098c
2021-05-07 17:49:51 +00:00
ykhung
bf5dd80d4f
Fix corner case IndexOutOfBound exception for null content
...
Bug: 184807417
Test: make SettingsRoboTests
Change-Id: Icf35b4084bcea62c2879a100d1b35b5448d8276d
2021-05-08 01:15:21 +08:00