Commit Graph

23203 Commits

Author SHA1 Message Date
Arc Wang
cb1574319b Merge "Fix UnsupportedOperationException in Display Settings" into sc-dev 2021-05-20 06:27:18 +00:00
menghanli
6d2357b251 Fix contrast ratio of some text in Audio adjustment page are too low am: 5eb4edad0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646253

Change-Id: Id976401938ce6bc0317eee8fd4672d3854df6c28
2021-05-20 06:25:37 +00:00
Bill Yi
9e877ea7a1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia86391259a32ec44647d63eb7ff1b7e22c86165c
2021-05-20 06:24:14 +00:00
Bill Yi
400bad3112 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If2bf582edebcec6c5e97188aa424970b51cb95ad
2021-05-20 06:15:53 +00:00
menghanli
5eb4edad0e Fix contrast ratio of some text in Audio adjustment page are too low
Apply same the sub text style from seekbar preference

Bug: 188603038
Test: Manual testing
Change-Id: I6e3db2657a02ac885b16309546e7f2224775a194
2021-05-20 06:13:57 +00:00
Tsung-Mao Fang
afffb1dd2f Should not show top intro in search
Set not searchable for top intro of credential page

Test: No top intro result in settings app.
Fix: 188491690
Change-Id: Ia7c4b33f72e3ea962073a552a7f57fa2072a2aa6
2021-05-20 14:02:05 +08:00
Mill Chen
ef8f5c5ca4 Fix overlapping problem for device admin page
The content of Activate device admin app is overlapping with the title
while scrolling up. That is because the collapsing toolbar needs to
work with the view that supports nested scrolling feature, and this page
hasn't updated the layout to use NestedScrollView. So that caused the
overlapping problem.

Fix: 188184864
Test: visual verified
1) Navigate to Settings > Security > Device admin apps > pick up one to
activate
2) Scrolling the content and see if the content is overlapping with the
title

Change-Id: Ide5ff9ed40202c3b217934db93c82a4861983416
2021-05-20 13:56:52 +08:00
Yu-Han Yang
791b6fadc7 Fix footer issues
1. setContentDescription for "learn more"
2. set searchable="false"

Bug: 187471260
Bug: 188490701
Test: on device
Change-Id: Iaa6907fdf2b6c47cbc1386a88a08ac31f3676367
2021-05-19 18:01:25 -07:00
Arc Wang
4a2acd2e20 Fix UnsupportedOperationException in Display Settings
Remove android:textColorHint from Theme.Settings to fix the regression.

This is a quick fix, each EditText should set its hintTextColor
attribute before there is a fix to apply the attribute globally in
Settings APP.

Bug: 188405076
Test: manually launch 'Font size' and 'Display size'.
Change-Id: If3313be47e0c3e8ce9d41a6e87cdf2e7067ce54b
2021-05-20 01:01:21 +00:00
Antoan Angelov
57d52482cc Merge "Update ActionDisabledByAdminDialogHelper" into sc-dev am: eb45fd3f2a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441130

Change-Id: I1d2ca81504f78e98d2f27d34ca8b037ffc433719
2021-05-19 14:05:09 +00:00
Antoan Angelov
eb45fd3f2a Merge "Update ActionDisabledByAdminDialogHelper" into sc-dev 2021-05-19 13:50:06 +00:00
Weng Su
99d8fcfae2 [Provider model] Revise the Internet Panel title sub-text
- Display "Tap a network to connect" on sub-title when Wi-Fi networks is
not empty

- Screenshot:
  https://screenshot.googleplex.com/5TzpJDLghpCQnDP

Bug: 188594439
Test: manual test
atest -c InternetConnectivityPanelTest

Change-Id: I0e3f0eb269fb4fe040a62be9ee84105879af82f7
2021-05-19 15:35:41 +08:00
Peiyong Lin
4e4a7f0dbd Merge "Add Game settings support." into sc-dev am: d32d11248e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14553339

Change-Id: Id122a4cd8356f8ee735df146a1631238e81178c5
2021-05-19 06:49:45 +00:00
Peiyong Lin
d32d11248e Merge "Add Game settings support." into sc-dev 2021-05-19 05:42:14 +00:00
Weng Su
46d3fc525e Merge "Improve discoverability of the intent & actions progress" into sc-dev am: ca5f4e4952
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622857

Change-Id: Ibe3c2cbce2440578dceb8b67f09feae66d07d2ae
2021-05-19 04:34:01 +00:00
Weng Su
ca5f4e4952 Merge "Improve discoverability of the intent & actions progress" into sc-dev 2021-05-19 03:48:16 +00:00
TreeHugger Robot
80c3d12ff9 Merge "Visual update for FaceSettings" into sc-dev am: 2a7e608ef2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14551407

Change-Id: Iab74ccda074e474d65f70c9b3ace8105d4abee8e
2021-05-19 03:40:54 +00:00
TreeHugger Robot
aaf4959555 Merge "Fix the text contrast for biometric header" into sc-dev am: a07eb69948
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14605930

Change-Id: I633edb6a3dc4a92143d6d4fe28ac023d9f116ee9
2021-05-19 03:40:49 +00:00
TreeHugger Robot
d3f0fc54a7 Merge "Update the layout of Pattern/PIN/Password confirmation" into sc-dev am: 6d550713dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554361

Change-Id: I7b44bb1cf9e244e063b13ce5fbc8c83b391665aa
2021-05-19 03:40:38 +00:00
TreeHugger Robot
7bb6afbfd1 Merge "Tweak the layout for Pattern/PIN/Password enrollment" into sc-dev am: 4a67b1c099
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554357

Change-Id: Ic60fa99f77c21aef31aa570ace8cbbd5a38394b2
2021-05-19 03:39:58 +00:00
TreeHugger Robot
2a7e608ef2 Merge "Visual update for FaceSettings" into sc-dev 2021-05-19 03:19:07 +00:00
TreeHugger Robot
a07eb69948 Merge "Fix the text contrast for biometric header" into sc-dev 2021-05-19 03:17:48 +00:00
TreeHugger Robot
6d550713dd Merge "Update the layout of Pattern/PIN/Password confirmation" into sc-dev 2021-05-19 03:16:47 +00:00
TreeHugger Robot
4a67b1c099 Merge "Tweak the layout for Pattern/PIN/Password enrollment" into sc-dev 2021-05-19 03:15:28 +00:00
Chloris Kuo
0e30c2599f Merge "Fix NAS dialog string" into sc-dev am: 074eee332a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14607898

Change-Id: I856d8740ee4c90343e7cd4da2e1349efca331d33
2021-05-18 18:20:17 +00:00
Weng Su
4bf9551c30 Improve discoverability of the intent & actions progress
- Display "Select the network you want to use for data" on sub-title
when Wi-Fi networks is not empty

- Screenshot:
  https://screenshot.googleplex.com/6nuwYoSh7UjF93Q

Bug: 186432232
Test: manual test
atest -c InternetConnectivityPanelTest

Change-Id: I9ab0ce0ca052b3444e50a914b59f38e4e7778ddf
2021-05-19 02:17:33 +08:00
Chloris Kuo
074eee332a Merge "Fix NAS dialog string" into sc-dev 2021-05-18 17:54:50 +00:00
Peiyong Lin
83a71ca8fd Add Game settings support.
Add Game settings page under Apps so that users can access game related
features and toggle settings.

Bug: b/185822999
Test: make ROBOTEST_FILTER=GameSettingsPreferenceControllerTest RunSettingsRoboTests
Change-Id: I923ba70536b7f68b5330a508b8dabf27e33f4c55
2021-05-18 17:24:51 +00:00
arangelov
d79ab00524 Update ActionDisabledByAdminDialogHelper
- For managed devices, "Learn more" takes the user to a support
page
- Put back the "If you have questions, contact your IT admin"
dialog content text
- Update header to 'Blocked by your IT admin' for managed devices

Fixes: 184107103
Test: manual
Test: atest ActionDisabledByAdminDialogHelperTest
Test: atest ActionDisabledLearnMoreButtonLauncherImplTest
Change-Id: Ie5b8a21b9ba295435d5709f9b0374035141d319a
2021-05-18 15:40:46 +01:00
TreeHugger Robot
0af7445e78 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-18 14:36:27 +00:00
TreeHugger Robot
583c25da1f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-18 14:32:55 +00:00
TreeHugger Robot
fe9d014c8c Merge "Update style name" into sc-dev am: db6c7211e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14547063

Change-Id: I9363ee0318a2785498a04829822af9348bedb35b
2021-05-18 11:34:32 +00:00
TreeHugger Robot
db6c7211e4 Merge "Update style name" into sc-dev 2021-05-18 11:28:56 +00:00
Arc Wang
cf32a78aa9 Merge "Add "This device" string for default internal storage" into sc-dev am: 7c3adee295
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609995

Change-Id: I548dc62bd75fc1925f35d6463679d72956c8130a
2021-05-18 09:35:15 +00:00
Mill Chen
4e168dd691 Visual update for FaceSettings
This includes the following changes:
- Remove the face animation from FaceSettings page
- Correct the color filling of collapsing toolbar
- Make the button align with other settings
- Remove the seperator

Fix: 186804060
Fix: 187882118
Test: visual verified
Change-Id: I4b7679ced0c420b4d23a3c326ac2a93734c0b8bb
2021-05-18 17:29:56 +08:00
Arc Wang
7c3adee295 Merge "Add "This device" string for default internal storage" into sc-dev 2021-05-18 09:18:54 +00:00
Arc Wang
1aac3eb017 Add "This device" string for default internal storage
Bug: 188492974
Test: build pass
Change-Id: I075441f1211b10eeb69f5a85818261d6083a5453
2021-05-18 16:09:43 +08:00
Bill Yi
64b93de7fd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I68e6533cfd3227be4253cd2839924d5605277299
2021-05-18 07:59:02 +00:00
Bill Yi
e1ced04862 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib2fcc8cb7140ff10b4be202b67c7cac152791c5e
2021-05-18 07:50:11 +00:00
Betty Chang
597d2a157c Merge "[GAR] Change the text color for Private DNS Summary to follow the GAR" into sc-dev am: 78031d82b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609992

Change-Id: Ie0d73e83a46377277d8c1df1ad54c2506982da66
2021-05-18 06:57:53 +00:00
Betty Chang
0853f28f5a Merge "[GAR] Set selectable attribute to W+ network preference" into sc-dev am: 2d3487f704
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609990

Change-Id: I8fbb1163a44e3afe1d891f36855dd3f19acaab38
2021-05-18 06:57:45 +00:00
Betty Chang
78031d82b7 Merge "[GAR] Change the text color for Private DNS Summary to follow the GAR" into sc-dev 2021-05-18 06:47:00 +00:00
Betty Chang
2d3487f704 Merge "[GAR] Set selectable attribute to W+ network preference" into sc-dev 2021-05-18 06:41:03 +00:00
Mill Chen
39c512f9aa Fix the text contrast for biometric header
Since the color of text was using material dark color from material
theme, which is different from the one in Settings. Removing the text
color specified in the style can fix this problem.

Fix: 182437787
Fix: 187145158
Test: visual verified
Change-Id: I4ad5004a6811713982d0d22a8050889d75cc3a5f
2021-05-18 11:46:15 +08:00
changbetty
cea28334a2 [GAR] Change the text color for Private DNS Summary to follow the GAR
This cl is fixed one of the suggestion. Refer to b/181186668 for another
suggestion on Accessibility Scanner result.

Bug: 181184589
Test: Manual test by Accessibility Scanner
Change-Id: Ief0908891c98f641c99d578cf5acb210cc972e91
2021-05-18 10:14:15 +08:00
Mill Chen
148eb471bf Update the layout of Pattern/PIN/Password confirmation
- Using the SUW library API to enable the new style
- Removing some obsolete layouts which are using in landscape mode
- Verifying that these pages are using the new style

Fix: 188438375
Test: visual verified
1) Register a screen lock
2) Navigate to Settings > Security > Screen lock
2) See and check if the Pattern/PIN/Password confirmation page is using
the new style

Change-Id: I076dbf36388fa3badf4da409bcda83a5b368f13c
2021-05-18 09:57:43 +08:00
Evan Severson
1f2542e62c Merge "Update the settings privacy page to the latest mocks" into sc-dev am: 39e7cb2721
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14215739

Change-Id: I0501ac361ec29b4064d8a8b5bc80f58492d58e7d
2021-05-18 00:37:24 +00:00
Evan Severson
39e7cb2721 Merge "Update the settings privacy page to the latest mocks" into sc-dev 2021-05-18 00:23:22 +00:00
Chloris Kuo
36b42c90f4 Fix NAS dialog string
Bug: 188351469
Test: manually on device
Change-Id: I527b12b9414f97dc1a9a251b45b8d8453b0956b3
2021-05-17 16:28:52 -07:00
Evan Severson
175ca1c4b0 Update the settings privacy page to the latest mocks
Add the mic and camera toggles to the page. Also create an helper class
to keep binder calls to the system_server at a minimum.

Test: make RunSettingsRoboTests
Test: atest SettingsUnitTests
Test: Manual
Bug: 183985427
Change-Id: Iff6ee1c9a2c30095307f636decbcfcf298ed31b0
2021-05-17 22:49:28 +00:00