Commit Graph

100298 Commits

Author SHA1 Message Date
TreeHugger Robot
981e53ee76 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-02-18 17:35:35 +00:00
TreeHugger Robot
5b0e80eaef Merge "Cache mechanism for Storage page with work profile" 2022-02-18 11:07:27 +00:00
TreeHugger Robot
836aec28cd Merge "Cache mechanism for Storage page" 2022-02-18 10:55:29 +00:00
TreeHugger Robot
c66cf72e23 Merge "Enable GWPAsan for Settings" 2022-02-18 09:33:41 +00:00
Mill Chen
cda892df85 Cache mechanism for Storage page with work profile
Apply a cache mechanism to prevent the flicker problem from entering
Storage page.

Bug: 191117970
Test: manual test
1) Create a work profile with TestDPC
2) The loading spinner will be shown when entering Storage page after
   the first boot.
3) Back to Settings homepage and switch back to Storage page, the
   loading spinner shouldn't be shown.
4) The preference order shouldn't be updated after changing the storage
   size.

Change-Id: I518679f90c63e12f61f08d08d5ed3f3900825be2
2022-02-18 17:25:26 +08:00
Tsung-Mao Fang
6cf62b0ce8 Merge "Rename back button to navigate up button" 2022-02-18 09:23:46 +00:00
Mill Chen
77775a66f2 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
2022-02-18 17:22:55 +08:00
Jason Chiu
042fa89fac Merge "Make homepage search bar remain persistent when scrolling" 2022-02-18 08:29:58 +00:00
Yi-Ling Chuang
2a3337a17c Enable GWPAsan for Settings
Enable this to detect memory bugs.

Fixes: 220248277
Test: Local start up time test and memory usage test.
Change-Id: I529507931f372f1e1f7bf6ae580fdb35651e6bd0
2022-02-18 14:43:48 +08:00
Jason Chiu
7cf0819b41 Make homepage search bar remain persistent when scrolling
- Modify the scroll flag
- Add a background to avoid overlapping

Fix: 218825541
Test: visual
Change-Id: Ice88c1bb324780e72332dd810e654b1d17daafae
2022-02-18 14:16:34 +08:00
Tsung-Mao Fang
692c47e153 Rename back button to navigate up button
A minor wording review.

Test: build pass
Bug: 219000314
Change-Id: I23bc580b193cc891b659514d13705db2c55b756a
2022-02-18 13:38:07 +08:00
Stanley Wang
80bcb82fde Merge "Update the illustration of Double-tap to check phone page." 2022-02-18 03:09:10 +00:00
Bill Yi
f6e2bfbe52 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4415732c3de3e824e3c720b2074112a94b1bff76
2022-02-18 03:01:12 +00:00
TreeHugger Robot
906221071d Merge "Implement Spatial Audio and Head Tracking option in bluetooth settings" 2022-02-18 01:35:08 +00:00
TreeHugger Robot
cc6682ca57 Merge "Refactor compact battery status method (1/2)" 2022-02-18 00:41:00 +00:00
Marie Matheson
3b3c6bc564 Merge "Send safety center status on boot" 2022-02-17 15:45:12 +00:00
Edgar Wang
74096fa66a Merge "Replace SettingsSpinner with Spinner" 2022-02-17 14:10:40 +00:00
Hugh Chen
bc2f30ca67 Implement Spatial Audio and Head Tracking option in bluetooth settings
Implemented the Spatial Audio and Head Tracking options, make these
features could be controlled in bluetooth detail settings.

Bug: 218960300
Test: make -j64 RunSettingsRoboTests
Change-Id: I880cc7a10fc5e2fa5d1052fff5a7b589a4ff60df
2022-02-17 09:26:06 +00:00
Stanley Wang
38d48cfba3 Update the illustration of Double-tap to check phone page.
Fix: 220076709
Test: manual test and see the UI.
Change-Id: Ib1d106ab3443ab9287929a158cbf67fd9a5a5f58
2022-02-17 16:40:38 +08:00
Rahul Sabnis
55b80392e6 Merge "Remove hidden Bluetooth dependencies" am: 2e6f2dcfff am: 19d5264723 am: 99e2c9f2f2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1989146

Change-Id: I8f23fc7fce504cf863b35d86fa59a2f732ab7fcd
2022-02-16 23:38:17 +00:00
Rahul Sabnis
99e2c9f2f2 Merge "Remove hidden Bluetooth dependencies" am: 2e6f2dcfff am: 19d5264723
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1989146

Change-Id: I59f5ddaa559331d6efd974e7abd719db3d05aafb
2022-02-16 23:18:32 +00:00
TreeHugger Robot
59b27c9f8d Merge "Update the show wallet settings description label." 2022-02-16 23:00:06 +00:00
Rahul Sabnis
19d5264723 Merge "Remove hidden Bluetooth dependencies" am: 2e6f2dcfff
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1989146

Change-Id: Icf270075cf196c75e797f967e721cab8aa0db332
2022-02-16 22:56:11 +00:00
Rahul Sabnis
2e6f2dcfff Merge "Remove hidden Bluetooth dependencies" 2022-02-16 22:36:25 +00:00
Silin Huang
40af6d61fd Update the show wallet settings description label.
Bug: 219635505
Test: manual
Change-Id: I65704c196066df3b3a8bd348a81726c559bdae93
2022-02-16 12:19:08 -08:00
William Escande
a95180f228 Remove hidden Bluetooth dependencies
Bug: 217736913
Test: pre-submit
Change-Id: Ib4e12e8e350ffa08b48f58e8256991d7ed4fa013
2022-02-16 20:00:59 +01:00
Edgar Wang
fa5ab2e268 Replace SettingsSpinner with Spinner
Bug: 219610512
Test: manual
Change-Id: Ib8562a64299a6cb36f8225199f9432cb81e8e9f2
2022-02-17 02:16:27 +08:00
Christian Göllner
3c65556ceb Merge "Revert "Add support for device state based auto-rotation prefere..."" 2022-02-16 17:27:53 +00:00
Oli Lan
6eae6d66f5 Merge "Increase default user icon size." 2022-02-16 15:50:10 +00:00
Lucas Silva
c0ff1c1ff8 Merge changes I49f4b5d6,I8eb5047d
* changes:
  Add accessibility annotations to dream settings.
  Update dream settings strings to match latest UX mocks
2022-02-16 15:15:18 +00:00
TreeHugger Robot
eef858a4c6 Merge "Show/hide back button for 2nd page" 2022-02-16 14:47:43 +00:00
Treehugger Robot
c78c5e1129 Merge "Restart the MTP connection when changing transcode enabled" am: 8109ad8033 am: df16e4b74c am: f5246d8a8c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1882150

Change-Id: I4d0f5d3bb5d11b1217de60f6b22e5544c8d00bfa
2022-02-16 13:52:02 +00:00
Treehugger Robot
f5246d8a8c Merge "Restart the MTP connection when changing transcode enabled" am: 8109ad8033 am: df16e4b74c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1882150

Change-Id: Ib92a9c70e554ff53f452cae5cf45d6be511da39b
2022-02-16 13:33:21 +00:00
Christian Göllner
a663f10c4e Revert "Add support for device state based auto-rotation prefere..."
Revert submission 16745827-device-state-auto-rotation-preferences-aops

Reason for revert: Checking if reason for test failures
Reverted Changes:
I77ed93f04:Add support for device state based auto-rotation p...
I5b2791f54:Add support for device state based auto-rotation p...
If254220ca:Add support for device state based auto-rotation p...
If254220ca:Add support for device state based auto-rotation p...

Fix: 219652963
Change-Id: Id95d5d7bb18a28403a6d3199945044e6617e0772
2022-02-16 13:31:16 +00:00
Treehugger Robot
df16e4b74c Merge "Restart the MTP connection when changing transcode enabled" am: 8109ad8033
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1882150

Change-Id: I180666f8edc9fdb69fcdec20b9ae2730240ff923
2022-02-16 13:08:35 +00:00
Oli Lan
43412bcccd Increase default user icon size.
This increases the size of the default user icon to the size specified
by the system (190dp), using the new method added in ag/16847427.

Bug: 218838295
Test: visual inspection
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest"
Change-Id: I3d88fbd1e148f0f63c796a272cd5771f4447812d
2022-02-16 11:44:50 +00:00
Tsung-Mao Fang
2df79641cb Show/hide back button for 2nd page
By design, we want to show/hide back button for 2nd
layer page when it's in two pane mode.

Test: Manual test
Bug: 219000314
Change-Id: I14d8d7ee08280d5ce80c0b59e1e91d077f0b6d09
2022-02-16 18:01:42 +08:00
Treehugger Robot
8109ad8033 Merge "Restart the MTP connection when changing transcode enabled" 2022-02-16 09:58:58 +00:00
Wesley Wang
695644db27 Refactor compact battery status method (1/2)
- Move compact battery status logic into libs

Bug: 219650786
Test: make SettingsRoboTests
Change-Id: Icc53c8d88235bffedfb51a3526668277fcbf4f40
2022-02-16 16:04:18 +08:00
Wesley Wang
b254c62506 Merge "Use compact battery status string if available (1/3)" 2022-02-16 06:17:05 +00:00
TreeHugger Robot
036b03c8d1 Merge "Add log for shouldShowBatteryAttributionList() checking" 2022-02-16 06:14:08 +00:00
ykhung
21a0bed00c Add log for shouldShowBatteryAttributionList() checking
Bug: 195306545
Test: make SettingsRoboTests
Change-Id: I0f41d87731a6703f453a9b0476a7534b22e53884
2022-02-16 12:04:27 +08:00
PETER LIANG
f92f3c359f Merge changes from topic "a11y_text_reading_22"
* changes:
  Add keywords into Font Size, Display Size preferences.
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (22/n).
2022-02-16 00:55:08 +00:00
Peter_Liang
74468a94cc Add keywords into Font Size, Display Size preferences.
Bug: 211503117
Test: manual test
Change-Id: I52de77a3af689a336bf8f40c668711a48b9bbc42
2022-02-16 00:54:25 +00:00
Menghan Li
3e32ee9b55 Merge "Show different tooltips for QS features auto-added and non-auto-added" 2022-02-15 21:38:44 +00:00
Lucas Silva
5e1fc317aa Merge changes from topics "dreams-phone", "dreams-preview-placeholder"
* changes:
  Add default placeholder when a dream doesn't provide a preview image.
  Update default dream settings dimens for phones.
  Update dream settings UX to match latest mocks.
2022-02-15 20:00:13 +00:00
Lucas Silva
9b30265880 Add accessibility annotations to dream settings.
Tooling should ignore the preview images, since the dream name and
summary is already specified as text views.

Test: locally on device, with Talkback
Bug: 213906361
Change-Id: I49f4b5d677d2645655e575764fb990de2e49fb59
2022-02-15 19:04:23 +00:00
Lucas Silva
039868e454 Update dream settings strings to match latest UX mocks
Bug: 213906361
Test: locally on device
Change-Id: I8eb5047d1aeb74c1e2da60d730e94ba732367846
2022-02-15 18:03:35 +00:00
Lucas Silva
1bce5eb511 Add default placeholder when a dream doesn't provide a preview image.
Bug: 213887094
Test: locally on device
Change-Id: Ie4b96eadb0889a5216cda1cfe1cf0cc17a2ad652
2022-02-15 17:34:42 +00:00
Lucas Silva
00f80d8cef Update default dream settings dimens for phones.
We will upscale the dimens in tablet overlay.

Bug: 217555053
Test: locally on device
Change-Id: I61c2810dc794636bd7d69d318547d101e5f161a0
2022-02-15 17:33:46 +00:00