Commit Graph

100951 Commits

Author SHA1 Message Date
SongFerng Wang
65bf3886a9 Merge "Add the battery information into device details header" into tm-dev am: 45436a025c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17106471

Change-Id: Ibf05f749597fd931a67f3f2fa117223a5e93c70b
2022-03-16 09:54:53 +00:00
SongFerng Wang
45436a025c Merge "Add the battery information into device details header" into tm-dev 2022-03-16 09:44:42 +00:00
Yuri Ufimtsev
72f7a9f4b6 Merge "Set the Refresh Broadcast ID for Safety Event if available" into tm-dev am: 829ee90dd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17197110

Change-Id: I570e5c41206349044f579c9363b2e177189ffbf1
2022-03-16 09:42:54 +00:00
SongFerng Wang
58be8b3ff3 Merge "[LE]Gray out the a2dp and hfp when LeAudio is enabled" into tm-dev am: 23b5565bd7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17190683

Change-Id: I05e0ee9546ae4821b19dc9b4fc1dd46a67e53086
2022-03-16 09:42:47 +00:00
Yuri Ufimtsev
829ee90dd3 Merge "Set the Refresh Broadcast ID for Safety Event if available" into tm-dev 2022-03-16 09:33:26 +00:00
SongFerng Wang
23b5565bd7 Merge "[LE]Gray out the a2dp and hfp when LeAudio is enabled" into tm-dev 2022-03-16 09:22:43 +00:00
Stanley Wang
ffa34e4c93 Merge "Fix the problem that the "Remove account" keyword has no search result." into tm-dev am: e8e0773d9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180789

Change-Id: I7405f956c43dc7ef83cc7afaa487c1520dc1e717
2022-03-16 08:41:46 +00:00
Stanley Wang
e8e0773d9b Merge "Fix the problem that the "Remove account" keyword has no search result." into tm-dev 2022-03-16 08:13:43 +00:00
TreeHugger Robot
bc6229257b Merge "Update animation on storage item" into tm-dev am: 2d1c853931
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17092203

Change-Id: I584114da1acc12cecf46dee1d63b5cca3bfc4c16
2022-03-16 07:18:05 +00:00
TreeHugger Robot
2d1c853931 Merge "Update animation on storage item" into tm-dev 2022-03-16 06:46:54 +00:00
Jason Chiu
7f850294d0 Merge "Prevent scrolling after the homepage recreating" into tm-dev am: 1c8e07438a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17148787

Change-Id: Ib22b1879b60ce838744907459f887cd5fc937008
2022-03-16 04:53:08 +00:00
Jason Chiu
1c8e07438a Merge "Prevent scrolling after the homepage recreating" into tm-dev 2022-03-16 04:29:15 +00:00
SongFerngWang
57dd3bc444 Add the battery information into device details header
Add the new LE audio header
Add the battery information
Update the condition for non-LE audio header

Bug: 218626547
Test: build pass and manualy test
Change-Id: Ib9f4c388c369dc374c43dd399111e02b5555159b
2022-03-16 12:17:15 +08:00
Yomna Nasser
742e359c08 Merge "Check KEY_PREFER_2G_BOOL before showing 2G options." into tm-dev am: 4f829146a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17144311

Change-Id: I60526ffa5204d28c1cee6c588b6af74d9a370d81
2022-03-16 03:53:57 +00:00
Yomna Nasser
4f829146a2 Merge "Check KEY_PREFER_2G_BOOL before showing 2G options." into tm-dev 2022-03-16 03:30:02 +00:00
Menghan Li
e119b138d2 Merge "Fix no response after Talkback users double-tap on Learn more in Accessibility pages" into tm-dev am: 65bc1b40ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17157235

Change-Id: I31a93ca4560091773c91bae37eb47575b770cdfd
2022-03-16 03:13:44 +00:00
Menghan Li
65bc1b40ff Merge "Fix no response after Talkback users double-tap on Learn more in Accessibility pages" into tm-dev 2022-03-16 03:03:29 +00:00
PETER LIANG
171c5ecb2e Merge "Fix that the toggle of High contrast text doesn't change to turn off after tapping the Reset button." into tm-dev am: 9f9c2593ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17183508

Change-Id: I0577c50fee37d3edebaaec30b142549b6f8b2627
2022-03-16 03:01:14 +00:00
Menghan Li
03a4be2468 Merge "Minor update to the 3-button navigation steps string" into tm-dev am: 849c153afd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17206763

Change-Id: I59b5f9d5f01e31bfc4b410f4d580004523017b8f
2022-03-16 03:00:54 +00:00
Menghan Li
1300aa3c29 Merge "Not show default footer strings in accessibility settings" into tm-dev am: 4e6e4c93e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17206764

Change-Id: I38195d225ed422e0339fb3284975510f7f364a02
2022-03-16 02:36:16 +00:00
PETER LIANG
9f9c2593ad Merge "Fix that the toggle of High contrast text doesn't change to turn off after tapping the Reset button." into tm-dev 2022-03-16 02:35:33 +00:00
Menghan Li
849c153afd Merge "Minor update to the 3-button navigation steps string" into tm-dev 2022-03-16 02:34:20 +00:00
Menghan Li
4e6e4c93e1 Merge "Not show default footer strings in accessibility settings" into tm-dev 2022-03-16 02:33:31 +00:00
Joshua Mccloskey
0494709820 Merge "Updated fp enrollment to have 5 enroll stages." into tm-dev am: 5b8d645a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17189876

Change-Id: I3b2a488fc8a5a922c8cfb90e174fd7e5d69fb35c
2022-03-15 23:07:35 +00:00
Joshua Mccloskey
5b8d645a99 Merge "Updated fp enrollment to have 5 enroll stages." into tm-dev 2022-03-15 22:36:24 +00:00
menghanli
466ee402bf Fix no response after Talkback users double-tap on Learn more in Accessibility pages
Root cause: The ag/16569955 to fix unknown items issue when using Switch Access by grouping of related content. The design change impacts AccessibilityFooterPreference#setLinkEnabled that call TextView#setMovementMethod to change components can be focusable to break the grouping relation.

Solution: Reset summary view to nonFocusable after applied TextView#setMovementMethod.

Bug: 221342261
Bug: 221339524
Bug: 223526982
Bug: 215792117
Bug: 215792876
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityFooterPreferenceControllerTest AccessibilityFooterPreferenceTest ToggleFeaturePreferenceFragmentTest
Change-Id: I4a051ea036ded264ee7bf615375177db796f74c7
2022-03-16 06:13:20 +08: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
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
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
da591a4f76 Merge "Make NFC Setting summary text translatable" into tm-dev 2022-03-15 14:47:16 +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
b0151d1155 Merge "Update the categorize rule for system and app item bucket" into tm-dev 2022-03-15 13:17:53 +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
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
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
7cde68c751 Merge "Fixed lockscreen pattern size." into tm-dev 2022-03-15 03:31:21 +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
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
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
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
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
831b5f7ef7 Merge "Provide getBatteryLast24HrUsageData() method for application info" into tm-dev am: b527497438
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17180744

Change-Id: I562102e1e104004881653eb63ed9253168cb40e3
2022-03-14 08:12:07 +00:00