Angela Wang
bb1fe04afb
Fix test failure of AvailableMediaDeviceGroupControllerTest
...
Prevent test failing by avoid using ShadowFragment in the test. This
will cause `androidx.fragment.app.SuperNotCalledException` when creating
HearingAidPairingDialogFragment.
Bug: 299597695
Test: atest AvailableMediaDeviceGroupControllerTest
Change-Id: I99b5213cb78aad97fcb7e44e1babcf6c7f11636e
2023-09-08 11:58:24 +00:00
Zaiyue Xue
c192039fe5
Merge "Refactor battery usage page contollers interaction logic" into main
2023-09-06 11:46:09 +00:00
Shivangi Dubey
25825c8329
Merge "Refine fold setting" into main
2023-09-06 10:47:31 +00:00
Zaiyue Xue
f5ea50e20e
Refactor battery usage page contollers interaction logic
...
(1) Move controllers interaction logic from BatteryChartPreferenceController to main page PowerUsageAdvanced.
(2) Move query power anomaly logic to DataProcessManager async job.
Bug: 284893240
Test: manual
Change-Id: Ib23b338fe3946e68ff73a372342ec5d86494c566
Merged-In: Ib23b338fe3946e68ff73a372342ec5d86494c566
2023-09-06 17:51:02 +08:00
mxyyiyi
2c0242bed3
Refactor flags of Power Anomaly Tips in Settings Intelligence.(1/2)
...
- Remove unused flag is_battery_tips_feedback_enabled
- Update logic about is_battery_tips_enabled
Bug: 284893240
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:24e269dd0a63b5cb98fec791708cfe294b5aa47c )
Change-Id: I826f517aa61e0c970048164706c4512ac3e0472d
2023-09-05 17:48:18 +00:00
Angela Wang
873936451c
Merge "Redirect user to original pairing page from pair dialog" into main
2023-09-05 07:08:16 +00:00
SongFerng Wang
4f4a1e3037
Merge "Skip Data usage in Settings Widgets" into udc-qpr-dev am: 60afc1259f
am: 33b6032bb2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24575008
Change-Id: I192fa19976ca932cabbf744915f6e4568ca391ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-05 03:44:34 +00:00
SongFerng Wang
33b6032bb2
Merge "Skip Data usage in Settings Widgets" into udc-qpr-dev am: 60afc1259f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24575008
Change-Id: I2214f91f8f27ab937b2d9b96f62a1fdcdae47072
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-05 02:49:28 +00:00
SongFerng Wang
60afc1259f
Merge "Skip Data usage in Settings Widgets" into udc-qpr-dev
2023-09-05 01:55:45 +00:00
Trina
c17809f03b
Sync the charge time with battery info on settings
...
Test: atest SettingsTests
Bug: 296793655
Change-Id: I407de30589e77ba09916f54f06f4f9c345adf330
2023-09-04 14:32:49 +00:00
Chaohui Wang
a9a819a5d7
Merge "Remove duplicated metered & privacy spinner" into main
2023-09-04 11:04:46 +00:00
Chaohui Wang
0d129f77f0
Remove duplicated metered & privacy spinner
...
From Wi-Fi dialog when there are already same settings in the Wi-Fi
detail page.
This makes simpler for the user and help fix the inconsistent issue.
Fix: 297036035
Test: manual - open Wi-Fi dialog from Wi-Fi detail page
Test: robo test
Change-Id: Ic02658d91938db78b91e867a923260aa2610ae49
2023-09-04 17:10:17 +08:00
Yiyi Shen
a82c257002
Merge "Add a new section to show eligible Fast Pair devices." into main
2023-09-04 08:25:11 +00:00
Kean Mariotti
4ed4885aa8
Merge "Revert^2 Remove Winscope tracing QS development tile" into main
2023-09-04 07:50:36 +00:00
Yiyi Shen
71d9c21856
Add a new section to show eligible Fast Pair devices.
...
The section only show at most 3 devices. If the device list size is
greater than 3, we will show a "See all".
The device Preference is ordered. FastPairDeviceUpdater will handle the
order logic.
Bug: 296507968
Test: FastPairDevicePreferenceControllerTest
Change-Id: I9692d5740dbc31ff50db0ebbf2c5535b726277c9
2023-09-04 11:32:32 +08:00
Holly Jiuyu Sun
80e4a5134a
Merge "Move ShadownDeviceConfig.java to tests/robotests/testutils." into main
2023-09-01 15:32:36 +00:00
dshivangi
dc485887cc
Refine fold setting
...
Current fold setting has a toggle button which can enable the “Stay unlocked on fold” setting.
Create a new page for fold setting which will allow us to choose something from three options.(https://screenshot.googleplex.com/6W65aTYtigGpr3v )
*Always - Front display turns on when you fold your device [Currently available setting]
*Only games, videos, and more - Front display turns on for apps that stop your screen going idle [Default]
*Never - Front display locks when you fold your device [New option for user]
Test: atest FoldLockBehaviorSettingsTest FoldLockBehaviorPreferenceControllerTest
*Manual
Flash the build with these changes
Manually select options one by one
Observe the behavior
Fixes: 294194379
Change-Id: Ie5b4e1d7560ed645ec2ca5f49cc9715b17d21367
2023-09-01 14:43:22 +00:00
Chaohui Wang
83cf8dbadc
Merge "Clean up deprecated WifiSettings" into main
2023-09-01 10:49:03 +00:00
Kean Mariotti
95b375e2b4
Revert^2 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: I7658537579cd054af092945aab553a4e17997273
2023-09-01 10:36:29 +00:00
Treehugger Robot
38bb07beb7
Merge "Fix b/298551473: Battery usage robotest failed in main branch" into main
2023-09-01 10:06:47 +00:00
Xinyi Mao
5bad30b3db
Merge "Impl app anomlay preference" into udc-qpr-dev am: c51a3da148
am: 428b124bea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24404174
Change-Id: I147d8496db00a770d8de45229813ae146e1e87cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-01 09:54:53 +00:00
Xinyi Mao
428b124bea
Merge "Impl app anomlay preference" into udc-qpr-dev am: c51a3da148
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24404174
Change-Id: I7068d880ab644f01dba523132dbccd2cc6ceff60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-01 08:59:18 +00:00
Xinyi Mao
c51a3da148
Merge "Impl app anomlay preference" into udc-qpr-dev
2023-09-01 07:53:09 +00:00
mxyyiyi
c4fb17d740
Impl app anomlay preference
...
[ScreenShot]: https://screenshot.googleplex.com/BBrHTQbwbFHxZE9
Bug: 291689623
Bug: 291689643
Test: manual
Change-Id: Ia257f3ace4a2d71b2221f861be3e1238de6d791e
2023-09-01 06:40:36 +00:00
Allen Su
f8be5736a8
Merge "Add feature flag for LocaleNotification" into main
2023-09-01 05:30:03 +00:00
Chaohui Wang
6e7b06f18e
Clean up deprecated WifiSettings
...
Replace all references to NetworkProviderSettings.
Bug: 297036035
Test: robo test
Test: manual - on internet settings
Change-Id: I2a5ae5644042c982c2a284a303257896c20b7714
2023-09-01 13:24:29 +08:00
Chaohui Wang
ca4e47c348
Merge "Migrate WifiDialog2 to Kotlin" into main
2023-09-01 05:19:39 +00:00
Allen Su
ac54b70c85
Add feature flag for LocaleNotification
...
Bug: 248514263
Test: atest AppLocalePickerActivityTest LocaleListEditorTest
Change-Id: I0e2160d75bbac83a161c73c90624b0e7af5b0a8e
2023-09-01 03:24:58 +00:00
Chaohui Wang
b1ecd0e392
Migrate WifiDialog2 to Kotlin
...
Bug: 297036035
Test: unit test
Test: manual - on wifi dialog
Change-Id: I5bcd636705b8514fe3fd784ef380f55e079c6ce7
2023-09-01 11:15:14 +08:00
Priyanka Advani
7b4cfbca95
Merge "Revert "Remove Winscope tracing QS development tile"" into main
2023-09-01 03:14:34 +00:00
Zaiyue Xue
30141ada64
Fix b/298551473: Battery usage robotest failed in main branch
...
Bug: 298551473
Fix: 298551473
Test: presubmit
Change-Id: I37a990003293bdfa0eb97e79c0ce7af2069d10bb
2023-09-01 11:11:17 +08:00
Vlad Popa
4ee43c40e9
Merge "Disable the spatializer options for device categories" into udc-qpr-dev am: 4010b222f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24531690
Change-Id: I134714c9a5cb03c06d6dbee2256d7630554c37c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-01 00:44:41 +00:00
Diwas Sharma
e08ceb575c
Revert "Remove Winscope tracing QS development tile"
...
This reverts commit 513e014963
.
Reason for revert: 298512106
Change-Id: I5efa947b17b8d33cfe8ca3350c2279903e5239af
2023-09-01 00:41:22 +00:00
Vlad Popa
4010b222f8
Merge "Disable the spatializer options for device categories" into udc-qpr-dev
2023-09-01 00:33:47 +00:00
Kean Mariotti
698657dead
Merge "Remove Winscope tracing QS development tile" into main
2023-08-31 22:06:52 +00:00
Holly Sun
0ec3b5035b
Move ShadownDeviceConfig.java to tests/robotests/testutils.
...
This is to solve the presubmit issue of ag/24543390.
Bug: 294858168
Test: build
Change-Id: I40c2ed7134676490d52aa63189dc16b3a7668a71
2023-08-31 21:07:25 +00:00
Vlad Popa
0127c488e4
Merge "Disable the spatializer options for device categories" into main
2023-08-31 20:48:06 +00:00
Vlad Popa
5175cdc2f5
Disable the spatializer options for device categories
...
If the BT device cannot be of category headphones do not show the
spatializer options.
Test: manual & atest BluetoothDetailsSpatialAudioControllerTest
Bug: 297265575
Merged-In: I7f044d40afadec6ccf659ae4969c0d6e2dc8c79e
Change-Id: I7f044d40afadec6ccf659ae4969c0d6e2dc8c79e
2023-08-31 09:48:49 -07:00
Vlad Popa
92fb7bddbf
Disable the spatializer options for device categories
...
If the BT device cannot be of category headphones do not show the
spatializer options.
Test: manual & atest BluetoothDetailsSpatialAudioControllerTest
Bug: 297265575
Change-Id: I7f044d40afadec6ccf659ae4969c0d6e2dc8c79e
2023-08-31 09:48:39 -07:00
Behnam Heydarshahi
2329c823ab
Merge "TalkBack: Clarify volume panel slice action label" into udc-qpr-dev am: a5b314b90f
am: e16000bbae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24005152
Change-Id: I925cca06a0fc7907f032448ab02411028f421000
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-31 15:31:35 +00:00
Behnam Heydarshahi
e16000bbae
Merge "TalkBack: Clarify volume panel slice action label" into udc-qpr-dev am: a5b314b90f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24005152
Change-Id: I6cd38f69c8ddaaa02119a12ffb6f1f26ec34e5a6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-31 14:38:13 +00:00
Behnam Heydarshahi
a5b314b90f
Merge "TalkBack: Clarify volume panel slice action label" into udc-qpr-dev
2023-08-31 13:40:55 +00:00
Yiyi Shen
cd1538ba5a
Merge "Add Fast Pair devices "See all" page." into main
2023-08-31 10:37:09 +00:00
Yiyi Shen
b7c914dc9f
Add Fast Pair devices "See all" page.
...
Bug: 296507968
Test: FastPairDeviceGroupControllerTest
Change-Id: I3939f65ac9262673d99e7041df5b9dc04bd43722
2023-08-31 17:07:41 +08:00
Ram Peri
467378309c
Merge "Fix META-INF for settings library to match robolectric" into main am: cd34a5f6d6
am: cc1d59b3b9
am: eb446ca146
am: acbb1b5560
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2731384
Change-Id: I35b73073058eebae562796a0f1eaab0c452b348b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 17:27:11 +00:00
Ram Peri
acbb1b5560
Merge "Fix META-INF for settings library to match robolectric" into main am: cd34a5f6d6
am: cc1d59b3b9
am: eb446ca146
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2731384
Change-Id: I0b5d81f67979bcb0fc5377e620d8be96059151a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 16:51:10 +00:00
Ram Peri
eb446ca146
Merge "Fix META-INF for settings library to match robolectric" into main am: cd34a5f6d6
am: cc1d59b3b9
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2731384
Change-Id: I8a7e3f2a148ec25b5f0b358d5c609e0f551ed5b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 16:03:43 +00:00
Ram Peri
cc1d59b3b9
Merge "Fix META-INF for settings library to match robolectric" into main am: cd34a5f6d6
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2731384
Change-Id: Ie747b6771b59f48fbb82c416580e823a117d984b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-30 15:14:08 +00:00
SongFerng Wang
8007efdbff
Skip Data usage in Settings Widgets
...
- Do not show data usage in Settings Widgets if the device does not support sim or there is the User Restricted of mobileMobileNetwork.
Bug: 292998280
Test: Manual test
[pass]make RunSettingsRoboTests ROBOTEST_FILTER=CreateShortcutPreferenceControllerTest
Change-Id: I3984a43dc67e9efa92d06a4644b18d1799d56824
2023-08-30 17:48:53 +08:00
Ram Peri
3c31a95f16
Fix META-INF for settings library to match robolectric
...
Test: atest SettingsRoboTests:com.android.settings.biometrics.fingerprint2.fragment.FingerprintEnrollmentIntroFragmentTest
Bug: 294753198
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:88a9d3faa2b04cf508472e10489eb515cef65bdc )
Merged-In: I2711538ff9c2a18f3cad80e384d0281b119cb94a
Change-Id: I2711538ff9c2a18f3cad80e384d0281b119cb94a
2023-08-30 02:05:44 +00:00