Commit Graph

102096 Commits

Author SHA1 Message Date
Bill Yi
ae75e97012 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 6d7f03d94b
Blank merge reason: commit message contains skip directive

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

Change-Id: Iaa79e1e6e678cc2e19a85b25328304ca70302628
2022-03-15 21:58:41 +00:00
Bill Yi
6d7f03d94b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7a22f6809906aa7470c04a0bc1b86b544583201f
2022-03-15 21:58:31 +00:00
Bill Yi
e46d423191 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia09bdb224783387ab0a7e27d69bdbf0114672da4
2022-03-15 21:57:00 +00:00
Bill Yi
efdd218ef0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8767e1897fb3e2442dd4a2a4a0766ce62fdacd78
2022-03-15 21:55:23 +00:00
Bill Yi
a9a68c077f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2408577986c728f96e74f593f07cbcb55da3fd6f
2022-03-15 21:52:34 +00:00
Bill Yi
33db44bfe7 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 50710ebebc
Blank merge reason: commit message contains skip directive

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

Change-Id: If6660b0216ad7340ccfac9f8517eb55b2372b73a
2022-03-15 21:49:06 +00:00
Bill Yi
50710ebebc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I812e8eedb33afa7935bf814371527c7bcc920545
2022-03-15 21:48:53 +00:00
menghanli
3a82089630 Not show default footer strings in accessibility settings
Bug: 224689419
Test: Manual testing
Change-Id: I2377c21de0e8fac395ea2b84a480feb5fc8b69ff
2022-03-16 05:46:07 +08:00
menghanli
3ff6148d1b Minor update to the 3-button navigation steps string
Bug: 218409088
Test: Manual testing
Change-Id: I8a7452715326329c3968866ad5eb963102e9c2ac
2022-03-16 05:30:51 +08:00
Eric Biggers
b21d2216ac Remove support for converting from FDE to FBE
Devices that launched with Android 10 or later require FBE (File Based
Encryption) from the beginning, so there's no need to support converting
to FBE after the fact anymore.  This was only ever a developer option,
so it probably wasn't used much.  And in any case, it's not used
anymore, as isConvertibleToFBE() is hard-coded to return false.  Besides
the fact that FBE has been required for several releases now, this
functionality was only ever available on devices that use FDE (Full Disk
Encryption), but FDE support has been removed from Android.

Therefore, remove this unused code.

Bug: 208476087
Change-Id: Ia765d6827e6144153c4e2a253b146ef2c75ca6fe
2022-03-15 17:27:53 +00:00
SongFerngWang
8339724c21 [LE]Gray out the a2dp and hfp when LeAudio is enabled
1.Gray out the a2dp and hfp when le audio is enabled
2.When the user disables le audio, then the settings turn on the
  a2dp and hfp
3.When the user enables le audio, then the settings turn off the
  a2dp and hfp

Bug: 218626162
Test: build pass.
Change-Id: Ic728749112b0047cac291600b3279b9dedbf0b5a
2022-03-16 00:04:59 +08:00
TreeHugger Robot
122ec93459 Merge "Make NFC Setting summary text translatable" into tm-dev am: da591a4f76 am: 28cdf59770
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17129536

Change-Id: I0b9ffbfd080ac85ec9a0be06bef4b30aad2a3529
2022-03-15 15:38:50 +00:00
Yuri Ufimtsev
4e255cb407 Set the Refresh Broadcast ID for Safety Event if available
Test: atest SettingsUnitTests

Bug: 222679576
Change-Id: I52ba3aff3045a8211fc936240f1310da6fad9fb0
2022-03-15 15:23:07 +00:00
TreeHugger Robot
28cdf59770 Merge "Make NFC Setting summary text translatable" into tm-dev am: da591a4f76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17129536

Change-Id: I16593d25303d35d1f5a37505c73fdbeb8481a6af
2022-03-15 15:14:26 +00:00
TreeHugger Robot
17508c9c14 Merge "Make NFC Setting summary text translatable" into tm-dev am: da591a4f76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17129536

Change-Id: I565b2bfada1fa78137022d8fe9a5f0a0424344ad
2022-03-15 15:11:41 +00:00
TreeHugger Robot
da591a4f76 Merge "Make NFC Setting summary text translatable" into tm-dev 2022-03-15 14:47:16 +00:00
YK Hung
8a6179017d Merge "Update the categorize rule for system and app item bucket" into tm-dev am: b0151d1155 am: e0ef422314
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17184511

Change-Id: I5d3e7b06a9a1ef006ed4d33db7396600938e1d9e
2022-03-15 14:09:13 +00:00
YK Hung
e0ef422314 Merge "Update the categorize rule for system and app item bucket" into tm-dev am: b0151d1155
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17184511

Change-Id: Ib15dfa31b9ac3e80f80b446c0358a724cbc26889
2022-03-15 13:42:27 +00:00
YK Hung
e343a8dcbb Merge "Update the categorize rule for system and app item bucket" into tm-dev am: b0151d1155
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17184511

Change-Id: I3d6d566e151f787374661a1c826690aaebf9b194
2022-03-15 13:42:06 +00:00
YK Hung
b0151d1155 Merge "Update the categorize rule for system and app item bucket" into tm-dev 2022-03-15 13:17:53 +00:00
TreeHugger Robot
345daf8328 Merge "[Panlingual] Settings UI revamp - Navigation handling" 2022-03-15 11:04:11 +00:00
danielwbhuang
fbf8cde0fb [Panlingual] Settings UI revamp - Navigation handling
Entry: Settings > Apps > All apps > any app

- video: https://screencast.googleplex.com/cast/NjM1NjUwODYxNTkwMTE4NHxkOGQzZDM2OS01Nw

Bug: 223090378
Test: local
Change-Id: Ied357b60c103f25540981cc0cb7abadb020f7995
2022-03-15 17:22:56 +08:00
Bonian Chen
f34a6dd025 Merge "[DataUsage] The drop down menu and gear icon not aligned" into tm-dev am: db201b0d03 am: 8481b25272
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180793

Change-Id: I8e4b25145103a9f60087899d9d15754d1a448562
2022-03-15 09:18:18 +00:00
Bonian Chen
8481b25272 Merge "[DataUsage] The drop down menu and gear icon not aligned" into tm-dev am: db201b0d03
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180793

Change-Id: I57e6753832bc430ee09eda3148f0214990939848
2022-03-15 08:54:07 +00:00
Bonian Chen
b826dec126 Merge "[DataUsage] The drop down menu and gear icon not aligned" into tm-dev am: db201b0d03
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180793

Change-Id: Ic510608e32e699a9f9802ef987ba07f189de9b09
2022-03-15 08:53:49 +00:00
ykhung
273d3445ee Update the categorize rule for system and app item bucket
Add a config to control different design concept in the chart 1) put all apps with system UID and system components (e.g. bluetooth, display, wifi ... etc) into the system bucket or 2) separate them into two different bucket (app & system bucket) in the chart UI for better experimental testing

Bug: 202118250
Test: make RunSettingsRoboTests
Change-Id: Id6f7c07d96ad8a365e7405160a5248c57a5a008d
2022-03-15 08:31:21 +00:00
Bonian Chen
db201b0d03 Merge "[DataUsage] The drop down menu and gear icon not aligned" into tm-dev 2022-03-15 08:29:24 +00:00
Joshua Mccloskey
0f4a2c77fd Merge "Fixed lockscreen pattern size." into tm-dev am: 7cde68c751 am: 8187e08fcf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17125596

Change-Id: I7468f58b4441480e6430b124072ff3e8f88a0d5b
2022-03-15 04:14:31 +00:00
Joshua Mccloskey
8187e08fcf Merge "Fixed lockscreen pattern size." into tm-dev am: 7cde68c751
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17125596

Change-Id: I50c408e156fa5cc6fb04459a31aec4ec690aecae
2022-03-15 03:50:42 +00:00
Joshua Mccloskey
7db5d37105 Merge "Fixed lockscreen pattern size." into tm-dev am: 7cde68c751
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17125596

Change-Id: I0ab44c75ebf411df1df7166e7d138ddc473d9812
2022-03-15 03:50:17 +00:00
TreeHugger Robot
30a78ef8ba Merge "Correct null UserHandle handling for ACTION_CHANGE_DEFAULT" into tm-dev am: 0469e3b5ba am: 45bd29c8c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180788

Change-Id: Ifcec4ef3b11e3d5e316bd84d6e0796e6c56ff718
2022-03-15 03:39:26 +00:00
Joshua Mccloskey
7cde68c751 Merge "Fixed lockscreen pattern size." into tm-dev 2022-03-15 03:31:21 +00:00
TreeHugger Robot
1524a8ca20 Merge "Correct null UserHandle handling for ACTION_CHANGE_DEFAULT" into tm-dev am: 0469e3b5ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180788

Change-Id: I8598fb0a0c9ec5ac48a0868b50bc56d16f58d02d
2022-03-15 03:16:04 +00:00
TreeHugger Robot
45bd29c8c5 Merge "Correct null UserHandle handling for ACTION_CHANGE_DEFAULT" into tm-dev am: 0469e3b5ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180788

Change-Id: I2ac9a3f48928cb00f8a0674d489d2b5fd4eabc86
2022-03-15 03:15:21 +00:00
TreeHugger Robot
0469e3b5ba Merge "Correct null UserHandle handling for ACTION_CHANGE_DEFAULT" into tm-dev 2022-03-15 02:48:20 +00:00
Jack Yu
323606ee25 Correct null UserHandle handling for ACTION_CHANGE_DEFAULT
When there is no userhandle passed via Intent.EXTRA_USER,
use UserHandle.myUserId() instead.

Bug: 221561126
Test: set default payment in GPay app
Change-Id: I272aa6674b7a18523fe02fadeb4a502a67303ee7
2022-03-15 02:47:25 +00:00
Timi Rautamäki
46f8b18446 Settings: only set phone number if it's not empty
Only set the phone number in Rename mobile network dialog if it's not
empty in order to preserve the ´Not available´ -text.

Test: m, open ´SIMs´ in settings, click Pen-icon to edit SIM, verify
      either mobile number or ´Not available´ -text is shown.
Change-Id: I3bc1f1f4eb26cda38e5cc7a12bd4db1bf922f076
2022-03-15 02:11:17 +00:00
Joshua Mccloskey
54b7d84212 Updated fp enrollment to have 5 enroll stages.
Test: Verified with multiple devices that there are now
5 stages for UDFPS enrollment.
Fixes: 222587017

Change-Id: I60780553894880f8e5301303f9be6b0cbb84651f
2022-03-14 23:38:06 +00:00
TreeHugger Robot
ad294121a4 Merge "FPSettings depends on SensorProps for maxEnrolls" into tm-dev am: b65ba00903 am: a1ec33b820
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17143748

Change-Id: Ia23c0972f55325fb1d596de44e15addec5659465
2022-03-14 23:05:40 +00:00
TreeHugger Robot
c60fd3ebf4 Merge "FPSettings depends on SensorProps for maxEnrolls" into tm-dev am: b65ba00903
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17143748

Change-Id: Ib66596eb8099e0ed9a71dcef5e0c401cb5b2edc5
2022-03-14 22:39:10 +00:00
TreeHugger Robot
a1ec33b820 Merge "FPSettings depends on SensorProps for maxEnrolls" into tm-dev am: b65ba00903
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17143748

Change-Id: Ic46862ae900c1a54654468567d6baac6b3f71256
2022-03-14 22:39:06 +00:00
TreeHugger Robot
b65ba00903 Merge "FPSettings depends on SensorProps for maxEnrolls" into tm-dev 2022-03-14 22:13:56 +00:00
Abel Tesfaye
ad23893e5f Update auto-rotate strings/toggles for better accessibility
This change will update some strings for smart-auto-rotate and replace
the activity based switchbar with SettingsMainSwitchPreference. The
switchbar had to be replaced to allow the new text to appear above the main toggle.

Test: locally with flame and with resolver service enabled & disabled

Bug: 220182618
Change-Id: I4b60bf006bdde9e47b33a52c7719ec770caf5746
2022-03-14 19:33:07 +00:00
TreeHugger Robot
ac5cc9204d Merge "Export battery usage data for EBS essential list filter mechanism" into tm-dev am: 34d3f79fe5 am: 5c6e8e42ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180633

Change-Id: Ib89751918dae835e2377acf1ef79b873907008ba
2022-03-14 12:52:32 +00:00
TreeHugger Robot
5c6e8e42ef Merge "Export battery usage data for EBS essential list filter mechanism" into tm-dev am: 34d3f79fe5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180633

Change-Id: I1bf7b0d6e179c94e1e5ab74705e3383f10c86da4
2022-03-14 12:31:32 +00:00
TreeHugger Robot
be97647d59 Merge "Export battery usage data for EBS essential list filter mechanism" into tm-dev am: 34d3f79fe5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180633

Change-Id: I1c34cfd0c1b2c6fcd46733f5447cb39ad238d6ca
2022-03-14 12:31:30 +00:00
TreeHugger Robot
34d3f79fe5 Merge "Export battery usage data for EBS essential list filter mechanism" into tm-dev 2022-03-14 12:04:03 +00:00
Peter_Liang
9a845de914 Fix that the toggle of High contrast text doesn't change to turn off after tapping the Reset button.
Solution:
Triggered the updateState() after setChecked() to ensure the UI with the correct state.

Fix: 220081053
Test: atest HighTextContrastPreferenceControllerTest
Change-Id: I33c61d4e5602dfd67ec93a0826613304a1af7c2d
2022-03-14 18:58:30 +08:00
ykhung
93a4ef67c4 Export battery usage data for EBS essential list filter mechanism
Bug: 207471193
Test: make RunSettingsRoboTests
Change-Id: I0003bbfce7428e92a2a0e144903d72fc51804dbb
2022-03-14 17:34:50 +08:00
TreeHugger Robot
4b1b44bdb0 Merge "Provide getBatteryLast24HrUsageData() method for application info" into tm-dev am: b527497438 am: 831b5f7ef7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180744

Change-Id: I337fa950cb16a8b5ff6b6e39196114a120387eba
2022-03-14 08:44:40 +00:00