Commit Graph

122544 Commits

Author SHA1 Message Date
YK Hung
3f9363aaff Merge "Fix banner tip buttons visibility and update incompatible tip" into udc-dev 2023-04-19 07:40:45 +00:00
ykhung
ab07b53ea1 Fix banner tip buttons visibility and update incompatible tip
Fix the battery settings banner tip buttons visibility not reset issue
and update the incompatible charging tip into the colored primary button

Bug: 246960554
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.fuelgauge.*
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.widget.CardPreferenceTest
Change-Id: I9b72fccc7838d974d3b60d0f9684780841623cbb
2023-04-19 06:24:51 +00:00
Zoey Chen
84a7e78630 Merge "[Settings] Remove the large space when searching language" into udc-dev am: 5614c1e7dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22713802

Change-Id: Ia71fe1086c3cff95a909507770409d84dedcd024
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 05:47:06 +00:00
Bill Yi
956f1001fb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: 16148bb1bb -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie81f5599817d22524385f696547f38d7aac1f636
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 05:40:39 +00:00
Bill Yi
f99e320351 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 630293f38d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I57243eb7e8a721413556490dfbeb8c1e5d195aa6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 05:40:30 +00:00
Bill Yi
e8971c92c5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: 7fc901a9ed -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie25abe3450df2ef4755b4541aa9b26bd070b576f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 05:40:22 +00:00
Bill Yi
825c3da34d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 000f82ddbf -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9b1147149ac65845a75dcb4da5aa6ee2588a4e50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 05:39:57 +00:00
Bill Yi
b1a3ff1600 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: 5bd7827d1e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6860552138d10e6f692a4731e7f4cf1de17c1eb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 05:39:37 +00:00
Bill Yi
4cd3e99f74 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 80169f481e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I920208c679fdc692aa73d6b0df6210b113d95c65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 05:39:21 +00:00
Zoey Chen
5614c1e7dc Merge "[Settings] Remove the large space when searching language" into udc-dev 2023-04-19 05:19:56 +00:00
Bill Yi
16148bb1bb Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-19 04:54:01 +00:00
Bill Yi
7fc901a9ed Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-19 04:54:01 +00:00
Bill Yi
5bd7827d1e Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-19 04:54:01 +00:00
ot904699
f1f4097f20 Fix uninstall button can't click problem
Install CtsVerifier.apk and CtsEmptyDeviceAdmin.apk. When CtsEmptyDeviceAdmin is active device administrator, “Uninstall” button can’t click, we can’t uninstall the apk.

Compared with Android T, the ability to uninstall Active admin's apk is disabled by default on Android U. Make this cts test pass after modifying the setup code

Bug: 277545241
Test: manually
1. Enter the CtsVerifier apk
2. Click “Device Admin Uninstall Test”
3. Click “ENABLE ADMIN”,  then click “Activate this device admin app”
4. Click “LAUNCH SETTINGS”
(cherry picked from https://partner-android-review.googlesource.com/q/commit:67ecb5aef52d18332402d88a418aa4b87d047b87)
Merged-In: I200cfe56a3529e9c6ee5eebf4b2606237608a4b2
Change-Id: I200cfe56a3529e9c6ee5eebf4b2606237608a4b2
2023-04-19 03:21:53 +00:00
Chaohui Wang
4c02f5b5b5 Fix button label missing in the SIM card pop ups
Use Button instead of TextView, so Button role is applied.

Fix: 261994361
Test: Manually with Talkback on
Change-Id: I8a342e15af6193000bd3b1aa34b1acf671f47739
2023-04-19 11:08:42 +08:00
Treehugger Robot
3d8a22a257 Merge changes from topic "tc_change_23041807_29" into udc-dev am: b9faf7089d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22696129

Change-Id: Id9ef8071049d8570e3229d5dfc0d1113eb9e70d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 01:47:20 +00:00
Bill Yi
6d99f76e84 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 6c08eb4631 am: e1bef672d7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6924d7e200abc434ad93c335b40b79fb62ca49b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 01:47:15 +00:00
Treehugger Robot
b9faf7089d Merge changes from topic "tc_change_23041807_29" into udc-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 6c08eb4631
  Import translations. DO NOT MERGE ANYWHERE
2023-04-19 01:43:57 +00:00
Sunny Shao
b0b8ca7e1c Fix RTL display problem in Open by default
- setTextDirection for ListView ih the verified links dialog.
- setCompoundDrawables for TextView in the supported link dialog.

Fixes: 277082703
Fixes: 277084378
Test: manual review
Change-Id: Ib42ed2f04785a5f1803b9d2d95055e4208c9e88f
2023-04-19 09:07:50 +08:00
Yuxin Hu
0927e2af1d Add permission to use GPU service APIs
Allow Settings UI to access GPU service APIs,
this allows Developer option UI to toggle ANGLE
as the default system GLES driver.

Bug: b/270994705
Test: m;
Change-Id: I0a6c0bbe03482e4746e0d2a52ce247f4469baaa9
2023-04-18 22:58:39 +00:00
Diya Bera
33fab7e415 Adding owners
Test: N/A
Bug: 278741020
Change-Id: Ife62f56fd0e3c83427347365a1eebfad3ec3ed6d
2023-04-18 22:56:31 +00:00
Linyu He
3abe7779e0 Merge "Revert "List apps which requested the TURN_SCREEN_ON appOp permi..."" into udc-dev am: e346dc6779
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22715841

Change-Id: Ieb5b5f9da097858de4dfee1928e6ec9ca741a1df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 19:56:09 +00:00
Treehugger Robot
616fd2b0e0 Merge "Revert "Destroy activity in onStop()"" into udc-dev am: 6112e583d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22691451

Change-Id: Ic340037c566debd7c5b6275920b361b74e87e7f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 19:51:24 +00:00
Linyu He
e346dc6779 Merge "Revert "List apps which requested the TURN_SCREEN_ON appOp permi..."" into udc-dev 2023-04-18 19:36:45 +00:00
Julia Tuttle
fa5a5a884d Clarify full screen intent permission text
Modify the language to be more user-focused.

Bug: 277938620
Test: builds
Change-Id: I99a4e9cd93fcca7bee5861257086b417e11806e4
2023-04-18 15:10:25 -04:00
Treehugger Robot
6112e583d7 Merge "Revert "Destroy activity in onStop()"" into udc-dev 2023-04-18 19:07:33 +00:00
Liana Kazanova
94f08e4ba1 Revert "List apps which requested the TURN_SCREEN_ON appOp permi..."
Revert submission 22338257-turnScreenOnPermission_pregrant

Reason for revert: b/278739832

Reverted changes: /q/submissionid:22338257-turnScreenOnPermission_pregrant

Change-Id: Iada276497c37c0e89a2cde8706394949d468e8e5
2023-04-18 17:47:14 +00:00
Elliot Sisteron
6356de3f9b Launch work profile entries intent in the profile parent.
The screens don't work as expected if they're launched in the work
profile. The reason for this is that Settings handle the user separately
with an extra inside the intent. I assume launching the actual screen in
a separate user is not supported.

Note that I've also:
1. Added a safeguard to make sure that the "active unlock" code path
   only occurs in the profile parent — it seems preferrable (see
   b/277877289#comment4)
2. Added the user id as an identifier on the intents lauched by the
   entries. The reason we do this is to make sure the user id is taken
   into account in the PendingIntent#equals implementation. This was
   automatically taken care of when launching with the profile context,
   but now that we launch everything in the profile parent context we
   have to make sure the user id is taken into account

Bug: 278665241
Bug: 277877289
Test: manual
Change-Id: Idcaa31cd56ed64768aa8f069d30d2adeb7269099
2023-04-18 17:24:39 +00:00
Zoey Chen
7026760615 [Settings] Remove the large space when searching language
Don't expand the tool bar when users search the language because they will see a large space on the top.

Bug: 254387685
Test: local test
Change-Id: I52fbf4be47885ea6c7d2b6abb75db99c1690edca
2023-04-18 17:20:42 +00:00
Treehugger Robot
973e55818e Merge "Fallback to "Extended Compatibility" if Speed feature is not ready" into udc-dev am: dc02736824
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22651125

Change-Id: I2a579eab5db50e7209814a126c90f0fb5bcbd2c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 16:55:22 +00:00
Treehugger Robot
dc02736824 Merge "Fallback to "Extended Compatibility" if Speed feature is not ready" into udc-dev 2023-04-18 16:21:11 +00:00
Philip Junker
632da3759f Merge "List apps which requested the TURN_SCREEN_ON appOp permission" into udc-dev am: c57e5c0e2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22223104

Change-Id: Ib6a1346bbf7768360a758fe720452117fbc72d1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 15:52:47 +00:00
Philip Junker
c57e5c0e2c Merge "List apps which requested the TURN_SCREEN_ON appOp permission" into udc-dev 2023-04-18 15:36:55 +00:00
Bill Yi
411d527b94 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 26ca87ddff
Blank merge reason: commit message contains skip directive

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

Change-Id: Ie14298c9668f64979607171a25d97bae63266787
2023-04-18 14:31:18 +00:00
Bill Yi
7fc6abdfb9 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 4ff10a38f4
Blank merge reason: commit message contains skip directive

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

Change-Id: Id8ec8521ee5f526a2e3e88c310371115cee8011c
2023-04-18 14:29:59 +00:00
Bill Yi
dc1e24b89e [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 488128bd1d
Blank merge reason: commit message contains skip directive

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

Change-Id: I7e6b0f985caf0ebf223b5556d0074101a748d43e
2023-04-18 14:25:46 +00:00
Bill Yi
e1bef672d7 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 6c08eb4631
Blank merge reason: commit message contains skip directive

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

Change-Id: Ife222d96c49520aa63790f9901d188001be3a6e6
2023-04-18 14:25:39 +00:00
Weng Su
d965ff3049 Fallback to "Extended Compatibility" if Speed feature is not ready
- Fallback to the "Extended Compatibility" design when the following conditions occur
  - 5 GHz band is not supported on the device
  - 5 GHz SAP available channels cannot be obtained from WifiManager
  - 6 GHz SAP available channels cannot be obtained from WifiManager

Bug: 272450463
Test: manual test
atest -c WifiTetherSettingsTest
atest -c WifiTetherViewModelTest \
         WifiHotspotRepositoryTest \
         WifiTetherSecurityPreferenceControllerTest.java \
         WifiTetherMaximizeCompatibilityPreferenceControllerTest

Change-Id: If7c8c41ebe86f5e7d8e4737ab7a82d38c9d633de
2023-04-18 20:49:25 +08:00
TreeHugger Robot
4f2f22f89c Merge "[Settings] Update the footer link in Regional Preferences" into udc-dev am: c974342073
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22700947

Change-Id: I1104418200a50b0923793060615c250b8e22e7e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 11:38:24 +00:00
TreeHugger Robot
c974342073 Merge "[Settings] Update the footer link in Regional Preferences" into udc-dev 2023-04-18 11:17:16 +00:00
Zoey Chen
affb6ad3c9 Merge "[Settings] Fix the layout index" into udc-dev am: cd719845d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22573648

Change-Id: I25017a2a897fa689c5f103437ae4bae0594c5259
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 10:32:37 +00:00
Zoey Chen
cd719845d6 Merge "[Settings] Fix the layout index" into udc-dev 2023-04-18 10:02:40 +00:00
Zoey Chen
5e987f49dd [Settings] Update the footer link in Regional Preferences
Bug: 277573274
Test: local test
Change-Id: I0c02cee71365f98d89d98e4147e1eb5245b7ede9
2023-04-18 09:59:24 +00:00
Philip Junker
58e7b70df3 List apps which requested the TURN_SCREEN_ON appOp permission
Bug: 272053372
Test: manually installed an app which requests the permission and verified it shows up correctly in Settings > Apps > special app access > Turn screen on
Test: atest AppFilterRegistryTest
Test: atest TurnScreenOnDetailsTest
Test: m -j RunSettingsRoboTests
Test: adb shell am start -a android.settings.TURN_SCREEN_ON_SETTINGS
Change-Id: I7c47d4b1c0b33c7ba6209bb64acf93cb07d9a717
2023-04-18 09:12:44 +00:00
Jason Hsu
d3453f681c Merge "Fix pair another dialog doesn't show up after pairing in all bluetooth device page." into udc-dev am: 80016ad92a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22477523

Change-Id: I2d794bf5d149f2301364431114abdbe04352e8ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 09:00:43 +00:00
Jason Hsu
80016ad92a Merge "Fix pair another dialog doesn't show up after pairing in all bluetooth device page." into udc-dev 2023-04-18 08:47:37 +00:00
Zoey Chen
e9f6efa2b6 [Settings] Fix the layout index
The index of language label's layout is 0 and index of num layout is 1, so the select tp speak will read the language label first.
The root cause of the incorrect index is, the language label's layout starts with the parent layout instead of the num layout in the hierarchy view. Adjust the language label's layout and add these views one by one in the parent view.

Also fix the layout's jumping when user switches the page to "Remove language"

Bug: 277173513
Test: local test
Change-Id: I0d5879a07183713fa50b38f6321a15dd32582518
2023-04-18 08:46:23 +00:00
Treehugger Robot
9c37881b64 Merge "[BiometricsV2] fix enrolling rotate failed" into udc-dev am: 2a0d6ead1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/22651124

Change-Id: Id9d4afd348cd1274dc37cee3d5fa73b0e88789b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 05:26:25 +00:00
Ken Lin
8809994fce Smooth Display description error
Correct max refresh rate

Bug: 278111301
Test: Settings > Display > Smooth Display (and read description)
Change-Id: I9c701596712606ebd9d7d5640edd7dc3135ff5c9
2023-04-18 05:24:14 +00:00
Treehugger Robot
2a0d6ead1a Merge "[BiometricsV2] fix enrolling rotate failed" into udc-dev 2023-04-18 04:56:12 +00:00