Commit Graph

137152 Commits

Author SHA1 Message Date
Derek Jedral
db72f4ea5f Merge "Update strings for Watch Unlock" into main 2023-11-30 05:23:33 +00:00
Treehugger Robot
50ffdb4a9e Merge "Fix BluetoothLeAudioDeviceDetailsPreferenceControllerTest faliure" into main 2023-11-30 04:58:18 +00:00
Roshan Pius
f04ee0dfab settings: Remove @hide NFC API usage
These @hide usages in other parts of platform need to be cleaned
up to unbundle NFC mainline module.

Flag: None (The NFC flag - `enableNfcMainline` has been promoted to trunkfood. Note these APIs are available as @hide even if not available in formal SDK until V)
Bug: 307352220
Test: Compiles

Change-Id: I6f87ad7ae03c67aaa2ddb0ac2529debc53278ba8
2023-11-29 21:24:28 +00:00
Alice Kuo
18e16b1a6a Fix BluetoothLeAudioDeviceDetailsPreferenceControllerTest faliure
Two failure case need to run under classic connection by default
situation. Add the precondition for those test case. Remove the ignore
to reland those test case.

Bug: 313589946
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioDeviceDetailsPreferenceControllerTest
Change-Id: If2c9cd590151be043be52e0793d073be83cd0c21
2023-11-30 01:55:57 +08:00
Oli Thompson
6a725695b7 Fix broken ManagedProfileQuietModeEnablerTest test
Bug: 313573729
Test: atest ManagedProfileQuietModeEnablerTest
Change-Id: I33eb9763e92f3060e65a3e7e498cad965aa55600
2023-11-29 15:24:57 +00:00
Edgar Wang
07b2af4120 Merge "Refactor Date & Time Settings" into main 2023-11-29 13:19:40 +00:00
Tetiana Meronyk
b3632f2ef6 Merge "Fix tests in UserSettingsTest" into main 2023-11-29 12:46:32 +00:00
YK Hung
0b6a023f80 Merge "Protect failed setUidPolicy() and avoid storing invalid UIDs" into main 2023-11-29 10:56:45 +00:00
Edgar Wang
fdab44f9e7 Refactor Date & Time Settings
- Rid off AbstractPreferenceController

Test: robotest
Bug: 235445309
Change-Id: I61118a0ff580231973509c06e84e7088dba897f5
2023-11-29 18:35:43 +08:00
Tetiana Meronyk
bbbdc8423c Fix tests in UserSettingsTest
Bug: 313666476
Test: atest UserSettingsTest
Change-Id: I74c5e9f5e88abb57f758b1d9afe04e07240e2dd2
2023-11-29 10:22:02 +00:00
Xinyi Mao
1dac4a24e4 Merge "Update Power Anomaly UI based on new visD spec." into main 2023-11-29 09:59:03 +00:00
Xinyi Mao
545381c427 Merge "Revert "Ignore failing test cases in BatterTipsCardPreferenceTest"" into main 2023-11-29 09:48:12 +00:00
ykhung
6891900af5 Protect failed setUidPolicy() and avoid storing invalid UIDs
Add protection for the setUidPolicy() failed case to avoid invalid UIDs
to crash the caller process, and avoid storing the invalid UIDs to
SharedPreferences if it is failed to setUidPolicy()

Bug: 306329984
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: I5c14434708b82ba3c238c2338d47085c2ce244e0
2023-11-29 16:59:17 +08:00
Haijie Hong
9a07931247 Merge "Fix test string in BluetoothSwitchPreferenceControllerTest" into main 2023-11-29 08:00:27 +00:00
Chaohui Wang
01ce50de90 Merge "Avoid ANR of TetherPreferenceController" into main 2023-11-29 07:04:30 +00:00
Haijie Hong
b61c785aa2 Fix test string in BluetoothSwitchPreferenceControllerTest
BUG: 313014781
Test: atest SettingsRoboTests:com.android.settings.bluetooth.BluetoothSwitchPreferenceControllerTest
Change-Id: I128e4b856aa3886625d59c643c9f0b32530266ba
2023-11-29 13:14:54 +08:00
Eric Biggers
aa590c2d8b Merge "Use isCeStorageUnlocked() in storage wizards" into main am: 7ec6e27c64 am: 7f849bdaac am: 92844e1744
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2807094

Change-Id: I09a872bdac766fe4141eb5acca30bf1329a2211d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 04:42:53 +00:00
Eric Biggers
32154db445 Merge "Use isCeStorageUnlocked() in storage wizards" into main am: 7ec6e27c64 am: 51a0475c44 am: e4f1aa8098
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2807094

Change-Id: I5d8aa16768a2145fcc0e06155be53d6a306e3e74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 04:42:21 +00:00
Eric Biggers
92844e1744 Merge "Use isCeStorageUnlocked() in storage wizards" into main am: 7ec6e27c64 am: 7f849bdaac
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2807094

Change-Id: Ied8c96cd60c627fc55a1793c35138c78e1292dad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 04:11:58 +00:00
Eric Biggers
e4f1aa8098 Merge "Use isCeStorageUnlocked() in storage wizards" into main am: 7ec6e27c64 am: 51a0475c44
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2807094

Change-Id: I3dc5181c72a6e99964b5681ec275c35eece2e6ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 04:09:41 +00:00
Chaohui Wang
880068d23a Avoid ANR of TetherPreferenceController
Off load the following work from main thread,
- Calculate title
- Calculate summery

This also helps improve the latency.

Also migrate to registerTetheringEventCallback() since
TetheringManager.ACTION_TETHER_STATE_CHANGED is deprecated.

Fix: 311848767
Test: manual - on Network & internet page and turn on / off tethering
Test: unit tests
Change-Id: I6ee182b41ef51f691ea31938142be1a41faf5573
2023-11-29 12:06:37 +08:00
Xinyi Mao
a8cc8c10de Revert "Ignore failing test cases in BatterTipsCardPreferenceTest"
This reverts commit 66469618e3.

Reason for revert: test passed in local atest

Change-Id: Ib3ae6f6b31fdbec30a9f95e0b0c6b4b64ced4940
2023-11-29 03:57:46 +00:00
Eric Biggers
7f849bdaac Merge "Use isCeStorageUnlocked() in storage wizards" into main am: 7ec6e27c64
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2807094

Change-Id: I6b244829ad28cd3175def5feb7ced27c6453d2c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 03:43:14 +00:00
Eric Biggers
51a0475c44 Merge "Use isCeStorageUnlocked() in storage wizards" into main am: 7ec6e27c64
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2807094

Change-Id: I038600e5177845571e80d65c24eb90278320e295
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 03:38:30 +00:00
Haijie Hong
ffabf36177 Fix failing tests in BluetoothDeviceDetailsFragmentTest
BUG: 313014781
Test: atest SettingsRoboTests:com.android.settings.bluetooth.BluetoothDeviceDetailsFragmentTest
Change-Id: I320875121899aed917041d31e186ea6bfbc5f735
2023-11-29 11:37:10 +08:00
Yiyi Shen
6a3a3e2ac7 Merge "[Audiosharing] Show/hide audio sharing settings based on BT state." into main 2023-11-29 02:32:42 +00:00
Eric Biggers
7ec6e27c64 Merge "Use isCeStorageUnlocked() in storage wizards" into main 2023-11-29 02:27:02 +00:00
Derek Jedral
2c4f5454f1 Update strings for Watch Unlock
Test: Built locally
Bug: 294281617
Change-Id: I01493060d5ea1b1941b1fb381d0c90cd4ce2ee78
2023-11-29 01:21:09 +00:00
Yanting Yang
83cb0a9c17 Merge "Ignore failing test of ContrastPreferenceControllerTest" into main 2023-11-29 01:19:31 +00:00
Yanting Yang
eb8200630f Merge "Ignore failing test of WebViewAppPickerTest" into main 2023-11-29 01:19:05 +00:00
Treehugger Robot
95235f8b3f Merge "Ensure udfps icon doesnt disappear in enroll" into main 2023-11-28 23:07:04 +00:00
Joshua McCloskey
a16a36c911 Ensure udfps icon doesnt disappear in enroll
Test: Manual
Fixes: 306280706
Change-Id: I7fd41d53b891fcfd2140ad1e2b1376ee4c017591
2023-11-28 22:06:16 +00:00
Becca Hughes
d4e09de3e1 Merge "Swap cog and left hand side of row" into main 2023-11-28 21:19:40 +00:00
Becca Hughes
e70dad42f4 Swap cog and left hand side of row
See bug for more context.

Test: flash device
Bug: 280951040
Change-Id: I21ba2a2177f88dbabea42915727f8c33aa0e23f8
2023-11-28 10:05:38 -08:00
Yanting Yang
4b2a052628 Merge "Ignore failing test of EntityHeaderControllerTest" into main 2023-11-28 14:14:00 +00:00
Yanting Yang
cff3e7301f Merge "Ignore failing tests of TrustAgentsPreferenceControllerTest" into main 2023-11-28 13:34:14 +00:00
Yanting Yang
a3a2c7eb36 Merge "Ignore failing test of PinPrivacyPreferenceControllerTest" into main 2023-11-28 13:21:57 +00:00
Yanting Yang
6028b68840 Ignore failing test of EntityHeaderControllerTest
Bug: 313616350
Test: atest
Change-Id: If2cbae5d95f78da92f7532516534ba22c126771b
2023-11-28 21:12:31 +08:00
Yanting Yang
e61bdff368 Merge "Ignore failing test of CodeInspectionTest" into main 2023-11-28 13:10:45 +00:00
Yanting Yang
5bca487a8c Ignore failing test of WebViewAppPickerTest
Bug: 313615637
Test: atest
Change-Id: Ic63c31b5220ab9b2cba11c11f4b40cf35ea6f3f9
2023-11-28 21:02:08 +08:00
Yanting Yang
bcce49defd Merge "Ignore failing test of GrayscaleConditionControllerTest" into main 2023-11-28 12:54:24 +00:00
Yanting Yang
5f7694d633 Merge "Ignore failing tests of com.android.settings.homepage.contextualcards.slices" into main 2023-11-28 12:53:39 +00:00
Yanting Yang
79667f5f59 Merge "Ignore failing test of AppLocalePickerActivityTest" into main 2023-11-28 12:53:17 +00:00
Yanting Yang
d6e87805fb Ignore failing test of ContrastPreferenceControllerTest
Bug: 313614100
Test: atest
Change-Id: I7ca5c14066369ffaed3866be6780612583b55541
2023-11-28 20:52:29 +08:00
Yanting Yang
a2cd9b813f Ignore failing tests of TrustAgentsPreferenceControllerTest
Bug: 313612480
Test: atest
Change-Id: I0faf497beb5ed998464c61aa5983a3bcba554826
2023-11-28 20:42:25 +08:00
Yanting Yang
40b666ac6e Merge "Ignore failing tests of MediaOutputIndicatorSliceTest" into main 2023-11-28 12:32:44 +00:00
Yanting Yang
c4293e281a Ignore failing test of PinPrivacyPreferenceControllerTest
Bug: 313612259
Test: atest
Change-Id: I123bb570a903c8c404c99feec52989304d6401c5
2023-11-28 20:29:37 +08:00
Yanting Yang
4eb112de74 Merge "Ignore failing tests of LabeledSeekBarPreferenceTest" into main 2023-11-28 12:23:40 +00:00
Yanting Yang
208f6cbacc Merge "Ignore failing test cases in BatterTipsCardPreferenceTest" into main 2023-11-28 12:23:11 +00:00
Yanting Yang
85e85e1915 Merge "Ignore failing test case in NetworkProviderSettingsTest" into main 2023-11-28 12:22:16 +00:00