Commit Graph

100942 Commits

Author SHA1 Message Date
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
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
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
TreeHugger Robot
9a5b90c67f Merge "Add ingress rate limit to developer settings" into tm-dev am: d328f73ec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17126083

Change-Id: Idd79df6e16c4345c03e2832f65551ee327837536
2022-03-14 08:11:42 +00:00
TreeHugger Robot
b527497438 Merge "Provide getBatteryLast24HrUsageData() method for application info" into tm-dev 2022-03-14 07:54:52 +00:00
TreeHugger Robot
d328f73ec5 Merge "Add ingress rate limit to developer settings" into tm-dev 2022-03-14 07:53:33 +00:00
Mill Chen
d45b5275d1 Update animation on storage item
To prevent the flicker happening, the animation is being applied to both
progress bar and storage size info in the storage item.

Bug: 222421324
Test: manual test
1) Install memory fill
2) Increase storage size using memory fill
3) Navigate to Settings > Storage
3) Check the progress bar and size info has animation when updating

Change-Id: I4583358697afd416bc20cafac3ff89361397b6b9
2022-03-14 15:49:05 +08:00
Bonian Chen
0d6d1eea28 [DataUsage] The drop down menu and gear icon not aligned
Correct the alignment in layout.

Bug: 220322345
Test: local
Change-Id: Ia98eb84c5946466f90d813b9c846c1811f2ec10b
2022-03-14 07:29:04 +00:00
Jason Chiu
764e7fbc44 Prevent scrolling after the homepage recreating
- Only apply the layout transition when contextual home is enabled
- Do not scroll for highlighting when the homepage is recreated and
  never scrolled

Fix: 222238012
Bug: 222473415
Test: robotest, manual
Change-Id: I490c3f8dbca63a5250bae01555592b7795c90af2
2022-03-14 15:13:08 +08:00
Stanley Wang
f6cbd7ce7a Fix the problem that the "Remove account" keyword has no search
result.

Add "remove" and "delete" keywords to the search keyword.

Fix: 223315958
Test: manual test and see the search result.
Change-Id: Ibb27d8b3d29755ff8e31eb96923f0a024a8ba55b
2022-03-14 14:28:13 +08:00
ykhung
ffba705f8d Provide getBatteryLast24HrUsageData() method for application info
Bug: 178197718
Test: make SettingsRoboTests
Change-Id: Iaa5f0c1bdead1a5380129f63987bbae3b4461633
2022-03-14 13:35:15 +08:00
Jack Yu
47bdc61116 Make NFC Setting summary text translatable
Add a string in resource xml for the work app summary text in the
default payment selection list.

Bug: 202369556
Test: manual test
Change-Id: Iec3f4bd47c641f3226506a5c49f1601cb24f613a
2022-03-14 11:45:19 +08:00