Zoey Chen
abe3265390
[Regional Preference] Need to remove the metrics by the metrics concil
...
team's comment. part2
Bug: 297194348
Bug: 284094665
Test: manual
Change-Id: I14fe40d771df123690d52755a062b601e9460266
2023-08-23 15:38:20 +00:00
danielwbhuang
90af0f0f26
[PK settings] Remove metrics.
...
Remove all metrics by the metrics concil team's comment.
Bug: 296544040
Test: manual
Change-Id: I6f5292c686d3eaac641c6e7f7631152b34a0085b
Merged-In: I6f5292c686d3eaac641c6e7f7631152b34a0085b
2023-08-23 23:08:02 +08:00
danielwbhuang
bdf89255a0
[PK settings] Remove metrics.
...
Remove all metrics by the metrics concil team's comment.
Bug: 296544040
Test: manual
Change-Id: I6f5292c686d3eaac641c6e7f7631152b34a0085b
2023-08-23 21:56:25 +08:00
SongFerngWang
280dfac8af
Fix the NullPointerException
...
Add the checking of null point for LocalBluetoothProfileManager
Bug: 296442243
Test: [pass]make RunSettingsRoboTests ROBOTEST_FILTER=MediaOutputIndicatorWorkerTest
Change-Id: Ieb38feec0a8a6b1f28c3ebd256ae7482c96fdf55
2023-08-23 09:33:26 +00:00
Zoey Chen
ae32c8e8a5
[Regional Preference] Need to remove the metrics by the metrics concil
...
team's comment.
Bug: 296544040
Test: manual
Change-Id: I8eecba55288bfad6f81b5c8c1a8290afccdd5ef8
2023-08-23 05:40:45 +00:00
Kean Mariotti
513e014963
Remove Winscope tracing QS development tile
...
This commit removes the obsolete QS development tile for Winscope
tracing as now Winscope traces can be collected via Traceur.
Bug: 295816837
Test: N/A
Change-Id: I15bd011d8d44293c0407e00a5550cc9fbe5e561c
2023-08-22 16:19:51 +00:00
Treehugger Robot
eafc4034d3
Merge "Add Instant hotspot preference" into udc-qpr-dev am: 67d5cb42e9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24483137
Change-Id: I345ec2843e47be6ba23b64807eb1b23ad479738a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-22 15:00:02 +00:00
Treehugger Robot
67d5cb42e9
Merge "Add Instant hotspot preference" into udc-qpr-dev
2023-08-22 14:36:05 +00:00
Chaohui Wang
adc24bca63
Merge "Clean up unused Lifecycle" into main
2023-08-22 10:36:32 +00:00
Chaohui Wang
cdbe5f350d
Clean up unused Lifecycle
...
From DataUsageSummaryPreferenceController.
Bug: 295260929
Test: m RunSettingsRoboTests
Change-Id: I4f1d33d7878a80e10aae908df32cff052762fd62
2023-08-22 14:21:03 +08:00
Treehugger Robot
47c6c86015
Merge "Add Instant hotspot preference" into main
2023-08-22 04:25:10 +00:00
Weng Su
27b3821313
Add Instant hotspot preference
...
- Add Instant hotspot preference to Wi-Fi hotspot settings
- Wait onServiceConnected callback and then getSettingsState
- Use the PendingIntent provided by SharedConnectivitySettingsState to launch Instant hotspot settings
Bug: 268550769
Test: manual test
atest -c WifiTetherSettingsTest
atest -c WifiTetherViewModelTest \
SharedConnectivityRepositoryTest
Merged-In: I343599e6127d9b1cb4af661dcc80a8683589c7b8
Change-Id: I343599e6127d9b1cb4af661dcc80a8683589c7b8
2023-08-21 12:21:25 +00:00
Treehugger Robot
e10d0237c2
Merge "Use Mockito Kotlin" into main
2023-08-21 11:26:14 +00:00
Weng Su
63321a1a83
Add Instant hotspot preference
...
- Add Instant hotspot preference to Wi-Fi hotspot settings
- Wait onServiceConnected callback and then getSettingsState
- Use the PendingIntent provided by SharedConnectivitySettingsState to launch Instant hotspot settings
Bug: 268550769
Test: manual test
atest -c WifiTetherSettingsTest
atest -c WifiTetherViewModelTest \
SharedConnectivityRepositoryTest
Change-Id: I343599e6127d9b1cb4af661dcc80a8683589c7b8
2023-08-21 11:14:04 +00:00
Zaiyue Xue
9f57691d89
Add UI metrics logging for battery tips card.
...
Bug: 291689623
Test: manual
Change-Id: I925e4d887c3435239aed0aa0fde7cda2c3a95b3c
Merged-In: I925e4d887c3435239aed0aa0fde7cda2c3a95b3c
2023-08-21 17:40:28 +08:00
Treehugger Robot
8cfb640bf3
Merge "Add UI metrics logging for battery tips card." into main
2023-08-21 09:21:49 +00:00
Chaohui Wang
8647256269
Use Mockito Kotlin
...
Which has better support for Kotlin unit test.
Bug: 289155281
Test: unit test
Change-Id: Ic98ba7e66c124e8398ad01d3bca7ee3a771b06c4
2023-08-21 17:01:52 +08:00
Zaiyue Xue
f838f5d5fa
Add UI metrics logging for battery tips card.
...
Bug: 291689623
Test: manual
Change-Id: I925e4d887c3435239aed0aa0fde7cda2c3a95b3c
2023-08-21 08:12:03 +00:00
Chaohui Wang
cc2133ba8e
Clean up unused fields from EntityHeaderController
...
Bug: 295260929
Test: manual - on pages with header
Test: robo test
Change-Id: Icebd63dbb5d3d44b4b46d3bececb8b65b30b4883
2023-08-21 13:58:07 +08:00
Angela Wang
6bb80b42bf
Merge "Fix flash notification preview not working for second user issue" into main
2023-08-19 08:38:38 +00:00
Kevin Liu
dad495d745
Merge "Setup external/robolectric for SettingsRoboTests" into main
2023-08-18 21:56:24 +00:00
Hao Dong
6bff9615fc
Fix face delete button rotation not working. am: 94f759230a
am: f55c4be4d4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24484929
Change-Id: I4ac57b657cc5dc8073eb55244f036ac4291cf0e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-18 21:16:01 +00:00
Hao Dong
f55c4be4d4
Fix face delete button rotation not working. am: 94f759230a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24484929
Change-Id: I97275e1f64fa87f615444870d894e05f386c5eda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-18 20:40:19 +00:00
Hao Dong
94f759230a
Fix face delete button rotation not working.
...
Bug: 264503740
Test: make -j64 RunSettingsRoboTests
ROBOTEST_FILTER="FaceSettingsRemoveButtonPreferenceControllerTest"
Change-Id: I28a281ca1ed16940400c44272f9fa78f5eb190af
2023-08-18 18:51:02 +00:00
Oli Thompson
974bb9ba9f
Merge "Add show emergency button call to biometric prompt" into main
2023-08-18 17:54:34 +00:00
Chaohui Wang
2ba1805e27
Merge "Clean up unused NetworkPolicyEditor" into main
2023-08-18 11:43:00 +00:00
Chaohui Wang
aba17fc847
Merge "Convert SimDialogActivityTest to Kotlin" into main
2023-08-18 11:09:51 +00:00
Chaohui Wang
334eb0b111
Merge "Remove DataUsageSummaryPreference unused fields" into main
2023-08-18 10:27:35 +00:00
Chaohui Wang
abe2710dc0
Clean up unused NetworkPolicyEditor
...
From DataUsageSummaryPreferenceController.
NetworkPolicyEditor.read() is not called, so
NetworkPolicyEditor.getPolicy() will always returns null.
Data limit info is already set in getDataUsageInfo().
Bug: 295260929
Test: robo test
Change-Id: I56a40cc906aa95207785886e704b1a59ea344e9c
2023-08-18 17:18:23 +08:00
Chaohui Wang
83e402a412
Remove DataUsageSummaryPreference unused fields
...
Bug: 295260929
Test: robo test
Change-Id: Ie44bc3e3b8b2e123bd51e2f9ee93ca9614ba54d3
2023-08-18 16:39:17 +08:00
mxyyiyi
851d31df23
Update power_anomaly_event proto fields am: 980116be4d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24440948
Change-Id: If97fb080ddead0d37886444e92e1f98e1c235c7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-18 07:30:46 +00:00
mxyyiyi
6b5273f985
Modify the name of power_anomaly_event enum fields
...
Test: manual
Bug: 291689623
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:93112b075979c2829bd3fa14c87160e361f66a82 )
Change-Id: I1df76167548033887a6227d7b643117c28d68125
2023-08-18 06:10:46 +00:00
mxyyiyi
980116be4d
Update power_anomaly_event proto fields
...
- add enum PowerAnomalyType/PowerAnomalyKey
- update the func to get anomaly index
Test: manual
Bug: 291689623
Change-Id: If4e6684c8169dfa3edd4e18a11d518737a3b2840
Merged-In: If4e6684c8169dfa3edd4e18a11d518737a3b2840
2023-08-18 14:10:06 +08:00
Angela Wang
65a9173d57
Fix flash notification preview not working for second user issue
...
When switching to second user and try to preview the flash notification
effect it'll not work. The root cause is the receiver is registered in
system process and the broadcast is sent as second user. Needs to send
the broadcast as system user to let the receiver receive the preview
broadcast.
Bug: 286039180
Test: atest FlashNotificationsPreviewPreferenceControllerTest
Test: switch to second user and test the preview function
Change-Id: I7dd553dac9fd66dab59eaec25849aac9f92989b6
2023-08-18 05:55:33 +00:00
Chaohui Wang
bd139deb91
Convert SimDialogActivityTest to Kotlin
...
Bug: 289155281
Test: unit test
Change-Id: Idf628cbfc0c49ae1bbb8a6c4c319f70f74b505d6
2023-08-18 13:19:06 +08:00
Xinyi Mao
12f8f5ac7a
Merge "Update power_anomaly_event proto fields" into main
2023-08-18 02:52:18 +00:00
Zaiyue Xue
aa37dd953e
Merge "Battery usage page latency improvement (1-8)" into udc-qpr-dev am: 1dad0bf856
am: d1a0370ddb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24211971
Change-Id: I2e0c1388e423cc18db20bbbb1f14b73d9667199f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-18 02:47:49 +00:00
Zaiyue Xue
d1a0370ddb
Merge "Battery usage page latency improvement (1-8)" into udc-qpr-dev am: 1dad0bf856
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24211971
Change-Id: I5b3b38a62fba34203e0195cdcc510c68f8e12652
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-18 02:39:34 +00:00
Zaiyue Xue
1dad0bf856
Merge "Battery usage page latency improvement (1-8)" into udc-qpr-dev
2023-08-18 02:35:15 +00:00
YK Hung
1b961c35ff
Merge "Impl the detect & show pipeline for PowerAnomalyEventList." into udc-qpr-dev am: 1119c81d10
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24400415
Change-Id: I81f08d96e2867dd70d031bb7ee4a05756daa33ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-18 02:08:40 +00:00
YK Hung
1119c81d10
Merge "Impl the detect & show pipeline for PowerAnomalyEventList." into udc-qpr-dev
2023-08-18 01:35:31 +00:00
Rex Hoffman
3c961e1c0e
Setup external/robolectric for SettingsRoboTests
...
Current failing tests: ab/I64100010182936387
Had to Ignore some of com.android.settings.accessibility tests, which will be fixed separately
Bug: 261728063
Test: atest SettingsRoboTests -- --test-arg com.android.tradefed.testtype.IsolatedHostTest:java-flags:-XX:CompressedClassSpaceSize=3g
Change-Id: I4a0cb992db924936826e0c9808accc78dddb5f30
2023-08-17 22:33:20 +00:00
Joshua Mccloskey
e198ff269b
Merge "Modifying FingerprintSettingsV2 structure" into main
2023-08-17 22:01:58 +00:00
Vania Januar
e2108b4b5b
Merge "Listen to USB_STATE events in the StylusUsbFirmwareController." into udc-qpr-dev am: a928e9202f
am: 728bf8b8b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24446427
Change-Id: I4d2d00428e09d1f2a07f6a777328b42c146dd183
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-17 13:29:07 +00:00
Treehugger Robot
b01d241023
Merge "Gray out the "Remove account" button when there's a restriction" into main
2023-08-17 09:22:10 +00:00
Vania Januar
728bf8b8b7
Merge "Listen to USB_STATE events in the StylusUsbFirmwareController." into udc-qpr-dev am: a928e9202f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24446427
Change-Id: Ic6326aaf9622027f8347d643b99565165e2b3efc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-17 08:44:37 +00:00
Jason Chiu
b6c2108c93
Gray out the "Remove account" button when there's a restriction
...
Fix: 243011338
Fix: 288887119
Test: robotest, manual
Change-Id: Ie3d6607f69a5e7c66bb750febc4d526d6d209ac6
2023-08-17 16:30:11 +08:00
mxyyiyi
2037b262ff
Impl the detect & show pipeline for PowerAnomalyEventList.
...
Test: make SettingsLibRoboTests
Bug: 293813663
Bug: 296322845
Change-Id: I0c477dc546ec4d00e4c4133afb61bf7d574be9f8
Merged-In: I0c477dc546ec4d00e4c4133afb61bf7d574be9f8
2023-08-17 06:35:49 +00:00
Justin McClain
d971817112
Fixing RemoteAuth Tests breakage
...
Fixing RemoteAuthEnrollFinishTest, RemoteAuthEnrollEnrollingTest, and
RemoteAuthSettingsTest by changing `isDisplayed()` check to the intended
`withEffectiveVisibility()`.
Bug: b/296191086
Test: make RunSettingsRoboTests -j40
Change-Id: I3405fd2709c83a966b83106c804880d00fc4bbf4
2023-08-16 18:45:09 +00:00
Joshua McCloskey
2e0244e323
Modifying FingerprintSettingsV2 structure
...
Test: Verified manually enrollment skeleton works.
Test: atest FingerprintSettingsNavigationViewModelTest
Test: atest FingerprintSettingsViewModelTest
Change-Id: Ifcb8f0bbb2fa83144101661d66772be1434044c9
2023-08-16 15:21:35 +00:00