Commit Graph

100552 Commits

Author SHA1 Message Date
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
Lucas Silva
75c44cd02b Update dream settings UX to match latest mocks.
Updates:
- removed individual complication toggle
- added single toggle which enables/disables all supported complications
- updated colors to match mocks
- updated grid padding in order to line up with existing content. Note:
  this required more complex padding logic, using an item decorator to
  apply the padding only to inner grid elements.
- updated preview image, removing view nesting to make better use of
  ConstraintLayout
- Updated some strings to match mocks

Test: locally on device
Bug: 217555053
Change-Id: I573e5f4ed807cbe2ae9e00f183d402e6e3339590
2022-02-15 17:32:01 +00:00
TreeHugger Robot
382cebc187 Merge "Refine NFC settings UX" 2022-02-15 14:45:04 +00:00
Marie Matheson
a1bb6057b4 Merge "Handle null safety source id list in broadcast receiver." 2022-02-15 13:30:04 +00:00
Wesley Wang
1d649951f9 Use compact battery status string if available (1/3)
- Add a config to switch the battery status string logic

Bug: 219650786
Test: make SettingsRoboTests
Change-Id: I5939cdc2e4e90466539f342d6d2030c1de1a94c3
2022-02-15 18:50:04 +08:00
menghanli
01d02d3d8e Show different tooltips for QS features auto-added and non-auto-added
There are 2 different kinds of auto-added / non-auto-added subtext in QS tooltips for framework features. Show animation in the settings page for full flow for non-framework services.

Bug: 218968108
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityQuickSettingsTooltipWindowTest AccessibilityShortcutPreferenceFragmentTest
Change-Id: I462cfcece959df8b9d97fab8e28337bceca9e25e
2022-02-15 16:09:30 +08:00
Peter_Liang
5c106bab04 New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (22/n).
- Replace "Font size", "Display size" with "Text and Reading Options" in the Display Settings

Bug: 211503117
Test: manual test
Change-Id: I5d8027628dcf06d99274a6a7a781218d146519eb
2022-02-15 15:45:45 +08:00
TreeHugger Robot
1503c4ea31 Merge "Remove restricted icon" 2022-02-15 07:26:27 +00:00
Treehugger Robot
1903d00ca1 Merge "Show identity address in the bluetooth details page" am: 5d17cfd938 am: 3ac72d1fd6 am: b99cd8f159
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1952171

Change-Id: I5a3ac49ead905f5b960d53a24eb9ec015a138805
2022-02-15 06:47:55 +00:00
Treehugger Robot
b99cd8f159 Merge "Show identity address in the bluetooth details page" am: 5d17cfd938 am: 3ac72d1fd6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1952171

Change-Id: I65bec3e2b43dff86f6bc69f52bfba4abcdcce6fb
2022-02-15 06:31:19 +00:00
Treehugger Robot
3ac72d1fd6 Merge "Show identity address in the bluetooth details page" am: 5d17cfd938
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1952171

Change-Id: I07ff71fbb60abae09d8a3116542260b709a6a81e
2022-02-15 06:13:57 +00:00
TreeHugger Robot
6688dc0529 Merge "Allow new users to configure WiFi details" 2022-02-15 06:09:13 +00:00
PETER LIANG
c915910f53 Merge changes from topics "a11y_text_reading_18", "a11y_text_reading_19"
* changes:
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (20/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (19/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (18/n).
  New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (17/n).
2022-02-15 05:45:54 +00:00
Treehugger Robot
5d17cfd938 Merge "Show identity address in the bluetooth details page" 2022-02-15 05:07:42 +00:00
TreeHugger Robot
afdd629808 Merge "Add support for device state based auto-rotation preferences in Settings." 2022-02-15 02:55:55 +00:00
Treehugger Robot
4d392d17ea Merge "Fix dream settings OWNERS path" am: c6bf492db4 am: 58fb784e7d am: a3102c477f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1985346

Change-Id: I4561e6b084a48159d338b61e1b88ec7365527543
2022-02-15 01:18:07 +00:00
Treehugger Robot
a3102c477f Merge "Fix dream settings OWNERS path" am: c6bf492db4 am: 58fb784e7d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1985346

Change-Id: I99530d86b8e1372034bf3f1edaf65c7c809dbb15
2022-02-15 00:55:50 +00:00
Treehugger Robot
58fb784e7d Merge "Fix dream settings OWNERS path" am: c6bf492db4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1985346

Change-Id: Ifeb24520760d02cefc9ab12ff648203dbd2a988b
2022-02-15 00:42:12 +00:00
Treehugger Robot
c6bf492db4 Merge "Fix dream settings OWNERS path" 2022-02-15 00:22:02 +00:00
Marie Matheson
1106faf2cf Send safety center status on boot
Bug: 215517959
Test: atest SettingsUnitTests
Change-Id: Id34d68063b2bacd07c932b294b36546160384e92
2022-02-14 20:33:57 +00:00
Xin Li
d23672a469 [automerger skipped] Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master am: da7237b2ed -s ours am: 7928abd2b2 -s ours
am skip reason: Merged-In I962c318f41adcf180b885f2052ce0ec4952edfb6 with SHA-1 0eab9c02b9 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16845285

Change-Id: I73aebac0d5cffe37153487a0d210ea1b87fa868a
2022-02-14 18:20:54 +00:00
Xin Li
7928abd2b2 [automerger skipped] Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master am: da7237b2ed -s ours
am skip reason: Merged-In I962c318f41adcf180b885f2052ce0ec4952edfb6 with SHA-1 0eab9c02b9 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16845285

Change-Id: I489e0cbc88a0095b34f3b3c260b4a908c764bf55
2022-02-14 18:03:30 +00:00
Christian Göllner
78a0e714c4 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: If254220ca3018bc6ec1c4e3947375733f6816f92
2022-02-14 18:51:54 +01:00
Kate Montgomery
565e4e22e2 Merge "Log clicks on the "Show System / Hide System" button in Location Settings recent accesses." 2022-02-14 17:40:30 +00:00
Xin Li
da7237b2ed Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master 2022-02-14 17:30:11 +00:00
Lucas Silva
55ce0f7cdd Fix dream settings OWNERS path
Change-Id: I4ebcec52d96cee03448a872984036c314c760eaa
2022-02-14 17:02:16 +00:00
Marie Matheson
bf6a2c8136 Handle null safety source id list in broadcast receiver.
Bug: 215515448
Test: atest SettingsUnitTests
Change-Id: I5c8b24533c4ce39ff28f533fbfc7e386639f4983
2022-02-14 16:40:45 +00:00
Kate Montgomery
53a107f2d4 Log clicks on the "Show System / Hide System" button in Location
Settings recent accesses.

Bug: 191503437
Test: manual
Change-Id: I2bcae63832c0a38a95f8087e2a4b5cf625ee7604
2022-02-14 15:59:55 +00:00
Lucas Silva
cce99074e9 Merge "Move Dream OOBE activity to SettingsGoogle" 2022-02-14 15:31:07 +00:00
Neil Fuller
9377681a5f Merge "Switch "UTC time" to "Unix epoch time"" 2022-02-14 12:33:52 +00:00
Treehugger Robot
11ac8ac28a Merge "Use Intent.EXTRA_USER for ACTION_CHANGE_DEFAULT" am: 57238d653c am: 1a16975a36 am: b7077ab55f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1977698

Change-Id: Icc629addf9f47a48a0da14d105d737a7e9e1348c
2022-02-14 12:05:25 +00:00
Treehugger Robot
b7077ab55f Merge "Use Intent.EXTRA_USER for ACTION_CHANGE_DEFAULT" am: 57238d653c am: 1a16975a36
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1977698

Change-Id: I0196d39d1e8d619a54931492fc89f15b8b5dfc99
2022-02-14 11:49:04 +00:00
Treehugger Robot
1a16975a36 Merge "Use Intent.EXTRA_USER for ACTION_CHANGE_DEFAULT" am: 57238d653c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1977698

Change-Id: Icecb9f0232a86fbbaf8f8d9a22c86aaa40ab234d
2022-02-14 11:27:00 +00:00
Treehugger Robot
57238d653c Merge "Use Intent.EXTRA_USER for ACTION_CHANGE_DEFAULT" 2022-02-14 10:50:17 +00:00
TreeHugger Robot
e4a1b74e88 Merge "Only set embedding rule for top level injection" 2022-02-14 10:24:56 +00:00
Weng Su
e4b9fb2f80 Allow new users to configure WiFi details
- Remove the limitation of the Settings UI for Admin user only.

- See b/206986392#comment32 for a screenshot.

Bug: 206986392
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiNetworkDetailsFragmentTest

Change-Id: I31971d644cd475123255ffb6c93c16ff171f77ad
2022-02-14 17:08:37 +08:00
Tom Hsu
9513d51ad9 Merge "[Panlingual] Remove Icon of system language" 2022-02-14 06:23:59 +00:00
Menghan Li
093a24c3eb Merge "Polish humanize strings for magnification page" 2022-02-14 05:39:00 +00:00
Menghan Li
df13fb1d1e Merge "Polish humanize strings for color correction page" 2022-02-14 05:33:55 +00:00
Zoey Chen
9c0985b5d5 Merge "[Settings] Fix the test fail in robo tests" 2022-02-14 05:26:10 +00:00
TreeHugger Robot
582e270281 Merge "[Panlingual] Add device default language to suggested group" 2022-02-14 04:58:35 +00:00
tom hsu
4ca57b3c4e [Panlingual] Remove Icon of system language
Bug: 219384592
Test: local
Change-Id: Ib28461752150a66ab0edd0a3c2d631a6d600075c
2022-02-14 12:39:19 +08:00
TreeHugger Robot
1323cc25f3 Merge "Fix EligibleCardChecker test failure" 2022-02-14 04:23:00 +00:00
tom hsu
cfc5554068 [Panlingual] Add device default language to suggested group
- Add default language preference
 - Polish unit test
 - Fix unsupported locale show on suggested group

Bug: 209728327
Test: local test
Test: atest pass

Change-Id: I69778cb8d69b21314c75689f0d61c25294c7f9d2
2022-02-14 11:30:30 +08:00
Menghan Li
d46e6e18b7 Merge "Polish humanize strings for color inversion page" 2022-02-14 03:28:10 +00:00
Peter_Liang
a52a55f39c New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (20/n).
- Remove bold text, high contrast text, display size, and font size
  preferences in the color and motion layout.

Bug: 211503117
Test: manual test
Change-Id: I0d12bb65871fafc8901d3d1993e9fa85014ed645
2022-02-14 11:07:11 +08:00
Peter_Liang
19631ec1b1 New feature “Text and reading options” for SetupWizard, Wallpaper, and Settings (19/n).
- Rename the strings related to "text and display" to "color and motion" to avoid misunderstanding.

Bug: 211503117
Test: manual test
Change-Id: Icdca5ee03fb95a8531406a0f6ab07799a9dfb17c
2022-02-14 11:06:22 +08:00