Commit Graph

15442 Commits

Author SHA1 Message Date
Wilson Wu
3752817938 Merge "Use AvailableVirtualKeyboardFragment for IME settings" 2021-09-24 02:00:36 +00:00
Bonian Chen
fc0efdca8c [Settings] Ignore failed test case
Ignore failed test case.

Bug: 201005754
Test: build pass
Change-Id: I79168bfcdc83540be59964f6cccc8099525218ad
2021-09-24 08:53:58 +08:00
Eric Laurent
738a621933 Merge "Fix error prone build with spatial audio settings test" into sc-v2-dev am: eb79498e0f am: 1ad39d5015
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15879873

Change-Id: Ida1af01b2df258b9630fc979e7db247490db297b
2021-09-23 15:01:16 +00:00
Eric Laurent
1ad39d5015 Merge "Fix error prone build with spatial audio settings test" into sc-v2-dev am: eb79498e0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15879873

Change-Id: I370713e27fa23a14125a5dff842b7483fe70aefb
2021-09-23 14:48:18 +00:00
Eric Laurent
eb79498e0f Merge "Fix error prone build with spatial audio settings test" into sc-v2-dev 2021-09-23 14:37:32 +00:00
YUKAI HUNG
ac19d0e300 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev am: b62c1e8142 am: f488cf5416
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892826

Change-Id: I69fa32b26f7674366be9fa4b0807d9b0fe2c54a4
2021-09-23 11:47:14 +00:00
YUKAI HUNG
f488cf5416 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev am: b62c1e8142
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15892826

Change-Id: I5050b2e16522f19e4cdd04e317a2118ea881f322
2021-09-23 11:34:07 +00:00
YUKAI HUNG
b62c1e8142 Merge "[B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle" into sc-v2-dev 2021-09-23 11:24:19 +00:00
Bonian Chen
c61b4bcb29 Merge "[Settings] Ignore failed test case" 2021-09-23 10:50:26 +00:00
ykhung
9de5fe158d [B&R] avoid to backup & restore app which is in the PowerSaveWhitelistExceptIdle
BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy method name

Test command for backup manager:
adb shell bmgr backupnow com.android.settings
adb shell dumpsys backup | grep Current
adb shell bmgr restore 3e9867a7660315b8 com.android.settings

Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I78f34870af3146698e6d1b9fbc5ec4385a8d5384
2021-09-23 17:29:22 +08:00
Tsung-Mao Fang
b57265fa31 Revert "Move Automatic System Updates from Developer Options to ..."
Revert submission 15552651-cherrypick-automatic-system-update-n9jr24y6ba

Reason for revert: Legal team decided to have this entry in GMS, so we can move this setting item back.
Reverted Changes:
Iaea3e11d9:Move Automatic System Updates from Developer Optio...
I077607a6a:Move Automatic System Updates from Developer Optio...

Change-Id: If000388f2dd0f9e3e06a29dcbdd362181d1bfd47
Bug: 196297425
2021-09-23 09:26:58 +00:00
Eric Laurent
bab4074204 Fix error prone build with spatial audio settings test
Add cast when getting AudioManager per
https://errorprone.info/bugpattern/MockitoCast

Bug: 191870827
Test: make
Change-Id: Icf93e68ec373f9ce145440f97fbe8d02c1716983
2021-09-23 09:52:10 +02:00
Jason Hsu
1ed5b468f4 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev am: 768722fed4 am: da247a3042
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824482

Change-Id: I58f6e45441389cd1d54d5399aa48c219d4a81ed4
2021-09-23 07:26:46 +00:00
Bonian Chen
ab9428f315 [Settings] Ignore failed test case
Ignore failed test case.

Bug: 200906425
Test: build pass
Change-Id: Iacd21b22b3971388add17ca559135473385b8c91
2021-09-23 15:21:36 +08:00
Jason Hsu
da247a3042 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev am: 768722fed4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15824482

Change-Id: I8d5053da73433f54491fe9e32f822757d09057ef
2021-09-23 07:12:16 +00:00
Jason Hsu
768722fed4 Merge "Support ability to add different page id for different accessibility service page in settings." into sc-v2-dev 2021-09-23 07:01:58 +00:00
TreeHugger Robot
58edb69d46 Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev am: a448a917eb am: edc5e940ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15884455

Change-Id: Iedbf25f530937ae35e7b772873df994036c1d237
2021-09-23 06:55:21 +00:00
TreeHugger Robot
edc5e940ef Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev am: a448a917eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15884455

Change-Id: I82270db9e790b8f64f3c8cb7ed878ba0fd3ab025
2021-09-23 06:17:26 +00:00
TreeHugger Robot
a448a917eb Merge "Add the Spatial audio toggle in SoundSettings" into sc-v2-dev 2021-09-23 06:00:54 +00:00
Jason Hsu
d2c58d835e Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev am: f7695aae33 am: 9e787479a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836289

Change-Id: I0047af43a2a4fd872324720fecaced139b5811dc
2021-09-23 05:22:04 +00:00
Jason Hsu
9e787479a6 Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev am: f7695aae33
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836289

Change-Id: I34e04b0e990cf4e0eb6e9729f99d545a4f421edf
2021-09-23 05:08:33 +00:00
Jason Hsu
f7695aae33 Merge "Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory" into sc-v2-dev 2021-09-23 04:55:54 +00:00
Alan Huang
e303658f0d Add the Spatial audio toggle in SoundSettings
The Spatial audio toggle will be showed only on supported devices

Test: robotest, manual checked the UI, but not the actual functionality due to
doesn't have supported device in hand

Bug: 191870827
Change-Id: I7db264902b03fddb7808676d8cb98cbe045deda1
2021-09-23 04:45:46 +00:00
jasonwshsu
3d0f12d043 Support ability to add different page id for different accessibility service page in settings.
Bug: 190344664
Test: build pass
Change-Id: I6cc90b27dcbb5075d13e3c59fe754309182b4d0a
2021-09-22 18:36:46 +08:00
jasonwshsu
01cc290446 Add the AccessibilitySearchFeatureProvider mock in testutils/FakeFeatureFactory
* Complete the missing part in ag/14299190

Bug: 184171842
Test: build pass
Change-Id: I020f218b58dca132bdb093163f764e125b8ea816
2021-09-22 18:36:17 +08:00
Zoey Chen
17c240a5a3 Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e am: ab18c8ac04 am: 0817b1053b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: Icb7f4daca521410d355cd0beb6a2d66eafe1df02
2021-09-22 06:31:14 +00:00
Zoey Chen
0817b1053b Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e am: ab18c8ac04
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: I1be0cd9d16e5a11a1be2fc127c1f85b450381412
2021-09-22 06:21:04 +00:00
Zoey Chen
5db9f0042a Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: I80712b16464d2104e570038060044bde74c9c4fb
2021-09-22 06:07:00 +00:00
Zoey Chen
ab18c8ac04 Merge "[Provider Model] The SIMs page should list all p-SIMs" into sc-qpr1-dev am: 39b6769e5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15834629

Change-Id: Iaa62b3be6f11eaa86b3d7b547f3e896e9bee5f9e
2021-09-22 06:06:57 +00:00
Wesley.CW Wang
803e3d710b Add PowerSaveWhitelistExceptIdle as Optimizted modes condition am: e7cca4cd81
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15836295

Change-Id: Id84f334ae11660a24d89d1bd6b9fdd7465cd0d44
2021-09-22 03:43:01 +00:00
Wesley.CW Wang
e7cca4cd81 Add PowerSaveWhitelistExceptIdle as Optimizted modes condition
- Check PowerSaveWhitelistExceptIdle list before update each apps
 optimizaton mode to avoid duplicate remove action
 - Make those apps which under PowerSaveWhitelistExceptIdle list keep at
 optimized mode only

BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy naming, not edit by this code change


Bug: 199892006
Test: make SettingsRoboTests
Change-Id: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
Merged-In: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
2021-09-22 02:14:05 +00:00
TreeHugger Robot
44a9969a87 Merge "Add PowerSaveWhitelistExceptIdle as Optimizted modes condition" 2021-09-22 02:09:41 +00:00
Yuri Lin
00d824657d Merge messages & conversations settings for DND priority senders.
This change explicitly allows for multiselect between priority senders (starred, contacts) & priority conversations, and also allows unchecking boxes by clicking on the same ones again.

Also makes the screens for setting messages and calls in custom rules consistent in behavior with the main DND settings. Since much of the functionality is shared, this change refactors most of the logic into a new helper class used by both.

While these changes also affect how the "calls" screen is constructed, in effect there is no change to the functionality of priority call sender settings except under the hood.

Test: atest ZenPrioritySendersHelperTest; Settings robotests
Bug: 190180868
Bug: 197223270
Change-Id: I894775537a18feb7a891b2668b9a613a203a129c
2021-09-21 15:00:16 -04:00
Zoey Chen
95db7ae728 [Provider Model] The SIMs page should list all p-SIMs
- We do not support multiple pSIMs until now, so we need to get all p-SIMs from SubscriptionManager
- Apply same checking for downloaded sim

Bug: 199032142
Test: vendor test
Test: atest NetworkProviderSimsCategoryControllerTest and atest NetworkProviderSimListControllerTest
Change-Id: I77d7c52e73ac4e5d09fa3f3926490d7f8f8b0913
2021-09-21 17:29:27 +00:00
TreeHugger Robot
962fd6b22e Merge "Add the pairing string for CSIP supported device" 2021-09-20 16:19:11 +00:00
Wesley.CW Wang
3f7839cad0 Add PowerSaveWhitelistExceptIdle as Optimizted modes condition
- Check PowerSaveWhitelistExceptIdle list before update each apps
 optimizaton mode to avoid duplicate remove action
 - Make those apps which under PowerSaveWhitelistExceptIdle list keep at
 optimized mode only

BYPASS_INCLUSIVE_LANGUAGE_REASON=legacy naming, not edit by this code change


Bug: 199892006
Test: make SettingsRoboTests
Change-Id: I3cd10cf51b5132fc12a83e9554801ec4e8578cd1
2021-09-17 18:38:01 +00:00
Alice Kuo
02cadb9b32 Add the pairing string for CSIP supported device
Show the pairing dialog with the hint message
that pairing this device will pair all of the
set member of a coordinated set. If the device
supports CSIP, the message will be shown.

Screenshot: https://screenshot.googleplex.com/8WcrdgBoLRgJjHs

Bug: 178981521
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BlueotohPairingDialog
Change-Id: I5432b7264652dd4485e2669f6004caa4f7459238
2021-09-18 01:15:51 +08:00
Wilson Wu
bc72945561 Use AvailableVirtualKeyboardFragment for IME settings
CL[1] make InputMethodPreference support:
-. Tap to corresponding IMEs settings
-. Using switch to enable/disble IMEs

Using AvailableVirtualKeyboardFragment for
language and input settings entries and
remove unused files.

[1]: I445551e4112117aabd8d7a48f53c29b7ffd8bafd

Bug: 197705032
Test: Manually test settings keyboard flow, test video in bug
Change-Id: I4d74df7d2dda71661e3298c7070459885aa308cb
2021-09-15 18:10:47 +08:00
ykhung
4d67f4c847 Hide Camera background running time in the battery usage screen
hide camera background running time in the battery usage screen to avoid
users confuse about it, since it will standby in the backgound to sspeed
up launching time, not always running in the background

Bug: 196744910
Test: make SettingsRoboTests
Change-Id: Ia391d661bca44435fc5a68b1c86e5ca32dd0fcfe
Merged-In: Ia391d661bca44435fc5a68b1c86e5ca32dd0fcfe
(cherry picked from commit 4e3f692164)
2021-09-15 00:10:55 +00:00
TreeHugger Robot
d604c56542 Merge "Correct how the injection mechanism starts activities" into sc-v2-dev am: 40e9a8aaaf am: 5be7a95a99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809057

Change-Id: Ib6b6c20b95653e23e79183e8ec30ac6a7c462d0d
2021-09-14 04:23:42 +00:00
TreeHugger Robot
5be7a95a99 Merge "Correct how the injection mechanism starts activities" into sc-v2-dev am: 40e9a8aaaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809057

Change-Id: I8752904ce14c7ca84787e260b0bdb1a4aefb047c
2021-09-14 04:14:22 +00:00
TreeHugger Robot
40e9a8aaaf Merge "Correct how the injection mechanism starts activities" into sc-v2-dev 2021-09-14 04:02:45 +00:00
Pavel Grafov
b01b2ba4d0 Merge "Respect PASSWORD_QUALITY_MANAGED for biometrics" into sc-qpr1-dev am: 1ecc3166f0 am: fc67167c93 am: 0e72224c38
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15778274

Change-Id: I44c3cbd651e59cc195a25f5ce06c4ea5b4fa441e
2021-09-13 14:33:14 +00:00
Pavel Grafov
0e72224c38 Merge "Respect PASSWORD_QUALITY_MANAGED for biometrics" into sc-qpr1-dev am: 1ecc3166f0 am: fc67167c93
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15778274

Change-Id: Ic295385f6cb70c2caecff6679336dd757cde513b
2021-09-13 14:18:44 +00:00
Pavel Grafov
6b3e240d20 Merge "Respect PASSWORD_QUALITY_MANAGED for biometrics" into sc-qpr1-dev am: 1ecc3166f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15778274

Change-Id: Iaee401d8cc88e9c5a48d5fee445ae44980eacdd1
2021-09-13 14:09:29 +00:00
Pavel Grafov
fc67167c93 Merge "Respect PASSWORD_QUALITY_MANAGED for biometrics" into sc-qpr1-dev am: 1ecc3166f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15778274

Change-Id: I277765ca0a21a2793558668b3a3f20bccd2f28c4
2021-09-13 14:08:56 +00:00
Pavel Grafov
1ecc3166f0 Merge "Respect PASSWORD_QUALITY_MANAGED for biometrics" into sc-qpr1-dev 2021-09-13 13:52:26 +00:00
Pavel Grafov
36120b8a4c Respect PASSWORD_QUALITY_MANAGED for biometrics
Bug: 195488124
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=\
    com.android.settings.password.ChooseLockGenericControllerTest
Test: manual with a modified TestDPC
Change-Id: Ifa15877c735bb0f396051af04a4e012a606bf9e1
2021-09-13 11:50:06 +01:00
ykhung
dfd2bf044f Fix failed tests since presubmit is ignored in ag/15802168 am: 27efa546cf am: a168e2e0fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809054

Change-Id: I8396a058b78d2c37ebf223e26884860061a08b84
2021-09-11 18:25:11 +00:00
ykhung
a168e2e0fc Fix failed tests since presubmit is ignored in ag/15802168 am: 27efa546cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15809054

Change-Id: I5b0e17f5862f295da35456f691dfcdc32587bcdc
2021-09-11 18:13:37 +00:00