Commit Graph

88237 Commits

Author SHA1 Message Date
Arc Wang
8297718f60 Set storage volume spinner invsible when only 1 volume am: 1beae1bf91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831304

Change-Id: I9b462403ee41b3235ce64cadbdc09b4f389b6e7e
2021-06-04 09:13:43 +00:00
changbetty
ae1af61b80 Remove extra space under "Wi-Fi hotspot" option
Due to the attribute "settings:summaryLineCount" cause the extra space,
use "android:maxLines" instead of the original attribute.

Bug: 186609481
Test: Manual test
Change-Id: Id0beeeddfab443a4434f53b7575af0966e3371d7
2021-06-04 17:12:16 +08:00
Arc Wang
10e549ac37 Set storage volume spinner invsible when only 1 volume am: 1beae1bf91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831304

Change-Id: I8751d6f4c84dd1e02989932acf64803c40cebbdb
2021-06-04 09:11:50 +00:00
Kunhung Li
850478cf02 Merge "Refine wallpaper search keywords" into sc-dev am: a19c7053a2 am: 59ffa8c26f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14758322

Change-Id: I7af04ec3d785e10f5a82613b944d8e270b219208
2021-06-04 08:36:08 +00:00
Jason Chiu
773b87d320 Merge "Revise homepage colors" into sc-dev am: 132cc2127b am: 940945b67c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14797776

Change-Id: I6802ec9625eca2bc50fe0f89537bd982002638fc
2021-06-04 08:28:38 +00:00
Stanley Wang
481b3abe0d Fix NPE in SettingsMainSwitchPreference.
- Check if the RestrictedPreferenceHelper is null to avoid NPE.

Fix: 190135868
Test: run robotest and manually test that page.
Change-Id: I746099260d8f53dc30513ccbb30aec5cbe3657e7
2021-06-04 16:15:04 +08:00
Yi-Ling Chuang
9312dc83fa Apply sliding transition to biometric settings
Bug: 187542491
Test: rebuild
Change-Id: Ife645785a37c4ac838204d0613dffd5a5911a47e
2021-06-04 15:49:43 +08:00
Arc Wang
1beae1bf91 Set storage volume spinner invsible when only 1 volume
Bug: 189390166
Test: atest StorageSelectionPreferenceControllerTest
Change-Id: I93e5fbf50153580ec60c146959d21e61f556c18c
2021-06-04 07:25:30 +00:00
TreeHugger Robot
cb4274b7e2 Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0 am: 648a638343 am: 2af744373d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886

Change-Id: I3febbefc344e75404fe47caccd66ab4b4a9a8107
2021-06-04 06:58:25 +00:00
Arc Wang
388f4383b9 Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe am: 0879f52360 am: 9604ca9809
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293

Change-Id: I74896a715b0102e8dce264be08596de378ca0243
2021-06-04 06:58:20 +00:00
TreeHugger Robot
3214921966 Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0 am: da161056df am: 528cd80fb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886

Change-Id: Iaa0e167df5e27023e82108621d8dd9af5c3e6f90
2021-06-04 06:58:15 +00:00
Arc Wang
f70ef2f826 Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe am: b8940dc2c1 am: 990656ee7e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293

Change-Id: I1b2ba3d060de5c18d83bc881abdc91e577cd6d0f
2021-06-04 06:58:08 +00:00
TreeHugger Robot
2af744373d Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0 am: 648a638343
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886

Change-Id: Ic1e76044765aa923adbb15fc3dddac1af4101f39
2021-06-04 06:49:57 +00:00
Arc Wang
9604ca9809 Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe am: 0879f52360
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293

Change-Id: Ic64877f7d1b59dd0cda0a04beb4a0ea1d4afc86f
2021-06-04 06:49:51 +00:00
TreeHugger Robot
528cd80fb4 Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0 am: da161056df
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886

Change-Id: I01eeee8a2c379be1b8f9dbd33c7ed2634a977a4d
2021-06-04 06:44:08 +00:00
Arc Wang
990656ee7e Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe am: b8940dc2c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293

Change-Id: I3610512eaaabf39600bcfd4f35997f63c469dc0a
2021-06-04 06:43:59 +00:00
TreeHugger Robot
648a638343 Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886

Change-Id: I6480bccc251cc6577f113b2a5152a19572fca416
2021-06-04 06:29:50 +00:00
Arc Wang
0879f52360 Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293

Change-Id: Ibff01d4d28144eb40a92ae6e1d532c834344a296
2021-06-04 06:29:45 +00:00
TreeHugger Robot
4c85fa3c67 Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886

Change-Id: I9f425dd5c1a7fc41e5ff2a968c4157e8d66255e9
2021-06-04 06:28:09 +00:00
Arc Wang
d63f40f633 Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293

Change-Id: I76ab017dd778902f6bc762643fab4bb5d45d19d6
2021-06-04 06:28:03 +00:00
TreeHugger Robot
da161056df Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886

Change-Id: I04e4a269da323bbf06a2ecca565113f1468a6c36
2021-06-04 06:25:15 +00:00
Arc Wang
b8940dc2c1 Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293

Change-Id: I95d071c983cbeba702d53ab0716a8ad3ba57e4c0
2021-06-04 06:25:09 +00:00
TreeHugger Robot
367fe0eae0 Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev 2021-06-04 06:17:01 +00:00
Arc Wang
466be8d6fe Merge "Set font size 20 for StorageItemPreference" into sc-dev 2021-06-04 04:06:08 +00:00
Arc Wang
51b3e7a093 Storage Settings hides categories when loading
To hide sorting animation.

- Storage Settings always loads cache and updates UI, then
  loads storage size and updates UI.
  Remove the chche design because storage category preferences
  will hide during loading, it no meaning to load from cache
  and update UI.

- Hides loading circle before storage category preferences
  become visible, it prevents flickers.

- Remove Calculating... summary of StorageItemPreference.

- Private storage category preferences and secondary user
  preference become visible at
  StorageItemPreferenceController#onLoadFinished.

Bug: 188731179
Bug: 185547228
Bug: 188615591
Test: atest com.android.settings.deviceinfo
      atest com.android.settings.deviceinfo.storage
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.storage
      manual visual
Change-Id: I3ebef5829ef4f806add07f58fa02520804768be5
2021-06-04 11:50:12 +08:00
TreeHugger Robot
65a40cda29 Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425 am: a00244929c am: 8e0d68017c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331

Change-Id: Ib74515e7371308b267c559f38e9b1d038b6d300d
2021-06-04 03:05:58 +00:00
TreeHugger Robot
20a278332b Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425 am: 327bc9ee98 am: 861aef801a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331

Change-Id: I1972088d77a79725b0aca3985d12bef00f33bf02
2021-06-04 03:05:12 +00:00
TreeHugger Robot
e83cba9265 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 37e8f3f696 -s ours am: ee2d493495 -s ours am: d22ae1b5e3 -s ours am: d220429ab5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iad88369bff526c3eca86717913355fb289fd3beb
2021-06-04 03:04:21 +00:00
Bill Yi
190d7b2a1b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 79ef9e3fc8 -s ours am: fc601649d9 -s ours am: b3d032b2b7 -s ours am: c3e754c75c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia8b4fad62e195cf604fdbe35eac5643093e94c5d
2021-06-04 03:02:23 +00:00
TreeHugger Robot
bcfc0d6524 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 23e3a2b7f2 -s ours am: 7221374cb4 -s ours am: 700c6e09e6 -s ours am: e55a5414ae -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib70305d977c5347c1ae740d61ba19e4a30c19c0a
2021-06-04 02:57:53 +00:00
Bill Yi
c395ffffee [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6df7694b57 -s ours am: aaa1ec13a4 -s ours am: 729f6a8a41 -s ours am: bfd63d416a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I677dbf35bc994a3e82d602614f99f63d65db0d78
2021-06-04 02:56:54 +00:00
TreeHugger Robot
c26c56f8b1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: b475f57f13 -s ours am: f7ec7e18d1 -s ours am: 9dd275f590 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I497c00d94a64c9b943c8d2b8203656752af95396
2021-06-04 02:55:06 +00:00
TreeHugger Robot
132ef19f8a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: bba877accb -s ours am: 03571296d4 -s ours am: 55a07cb3c7 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Icc1585c3fc89dfef1ff924652ac9b6235d649f88
2021-06-04 02:54:47 +00:00
TreeHugger Robot
9fa44ecba0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 5753862c9e -s ours am: a859ca90a4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7c9d60794b8d4d21e5acbd609e5c507a440ae76d
2021-06-04 02:48:45 +00:00
TreeHugger Robot
8e0d68017c Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425 am: a00244929c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331

Change-Id: If3bae515189277e67a458e205a0a1811403a82de
2021-06-04 02:48:28 +00:00
TreeHugger Robot
861aef801a Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425 am: 327bc9ee98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331

Change-Id: I81f541d1217a1b89b86d43dc103f286feb32082e
2021-06-04 02:47:29 +00:00
Arc Wang
578affca57 Set font size 20 for StorageItemPreference
To improve UX.

Bug: 189390237
Test: manual visual
Change-Id: Ice40b7c8c86f7f4c220d43fd7f4a035e6160e50d
2021-06-04 10:45:36 +08:00
TreeHugger Robot
2ef0707c7d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: f189c24095 -s ours am: b3cf01bb58 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib197e798bc7343b69c1a00e65268c20f050b4e5d
2021-06-04 02:40:59 +00:00
Chloris Kuo
e3dbfca8b9 Merge "Fix flaky NotificationAssistantPreferenceControllerTest" into sc-dev am: 8f5ccfaef0 am: c2a0a1c3ae am: 338a62023a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14810398

Change-Id: Ifcfa3eb45e76acc7573f331911f9e8e028e91182
2021-06-04 02:38:20 +00:00
Abel Tesfaye
0bed465783 Merge "Use list+ toggle on devices without face detection" into sc-dev am: 040e5ef894 am: 084d9f864b am: a38622da57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14040065

Change-Id: I9c90b3a0c1e153b2cebc4037b40d0eb61a9cc4a9
2021-06-04 02:38:09 +00:00
TreeHugger Robot
e65addff84 Merge "[Settings] Modify the ordering of mobile plan preference." into sc-dev am: 36c45e0ffd am: d4d5f05a99 am: dff5fba1af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819338

Change-Id: Ida325cbc6189ae8709967468f3999d76f325505b
2021-06-04 02:38:02 +00:00
Les Lee
05875f1744 Merge "wifi direct: Close the channel after leaving the Setting page" into sc-dev am: c48cf5ee37 am: 44149f10c9 am: 700ac83de5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14786728

Change-Id: Ia0b55a99a23c97bfeedeee1af459dfe6727784c2
2021-06-04 02:37:56 +00:00
TreeHugger Robot
487a230f49 Merge "Fix broken test" into sc-dev am: f8641a4d86 am: 2d68db1cef am: f51bd51aa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809883

Change-Id: I28dab8771f32cfeeff3f2479a8b3fba25a364325
2021-06-04 02:37:50 +00:00
TreeHugger Robot
327bc9ee98 Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331

Change-Id: Ib67e2fcb0d6f9ec014c631cf80ceead2ef5cd967
2021-06-04 02:32:32 +00:00
TreeHugger Robot
2651bbe995 Merge "Add OWNERS file for TARE." 2021-06-04 02:31:24 +00:00
TreeHugger Robot
43235f86d9 Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331

Change-Id: I1d4c7dbd7b86a06fc37f6dd04566e4dd0bfa2769
2021-06-04 02:30:59 +00:00
TreeHugger Robot
a00244929c Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331

Change-Id: I85cf80bd2d966dce3287baabbad96431ff0435ff
2021-06-04 02:30:19 +00:00
Wesley.CW Wang
6f650b11fb Update string reference
Bug: 189842579
Bug: 189899895
Test: make RunSettingsRoboTests
Change-Id: I545f85226fcd184aa7e2af84734943173a869693
2021-06-04 02:29:05 +00:00
Kevin Han
8df22e7cd9 Move unused apps count calculation to bg thread
Move the somewhat expensive calculation of the "Unused apps" count to
the background thread

Initially, the "Unused apps" preference is unavailable. When the bg work
finishes and we see we have a non-zero number of unused apps, we display
the preference and update the summary text.

Bug: 187996287
Test: atest HibernatedAppsPreferenceControllerTest
Test: measure latency of displaying preferences w/ custom trace points

Change-Id: Idb0d836fd8f4bcdd2605a7d59703a7ed53bcd6d4
2021-06-03 19:14:25 -07:00
TreeHugger Robot
d220429ab5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 37e8f3f696 -s ours am: ee2d493495 -s ours am: d22ae1b5e3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4d75927ba7dad609f7e9633602293d920ebc759f
2021-06-04 02:10:57 +00:00