Jason Chiu
4f8c4bc7df
Merge "Fix Robolectric broken on SplitController" into sc-v2-dev am: 6318bb23a0
am: fc37054461
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15747142
Change-Id: I286f34d305d544df2eb7bc53ede8e9e352e91c29
2021-09-02 09:26:20 +00:00
TreeHugger Robot
f8b6a8297c
Merge "Move legacy hide applications in usage screen list to SettingsGoogle" into sc-v2-dev am: 11d6ba6f57
am: 0d4e7a27e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15737567
Change-Id: I0a749bf60f06c8c9aa06ad8bc2a3ae222229d4e3
2021-09-02 09:26:12 +00:00
Jason Chiu
6318bb23a0
Merge "Fix Robolectric broken on SplitController" into sc-v2-dev
2021-09-02 09:13:46 +00:00
TreeHugger Robot
11d6ba6f57
Merge "Move legacy hide applications in usage screen list to SettingsGoogle" into sc-v2-dev
2021-09-02 08:58:33 +00:00
Jason Chiu
348cfdbf61
Fix Robolectric broken on SplitController
...
Fixes: 198563284
Test: robotest
Change-Id: I1f4cd3c972fed4da171feadb8c31b858c85c6757
2021-09-02 08:13:45 +00:00
ykhung
0a03758738
Move legacy hide applications in usage screen list to SettingsGoogle
...
Bug: 195306545
Test: make SettingsRoboTests
Change-Id: Iccb3530c40bc32c20d74d65aa3f26eb2d6719106
2021-09-02 11:57:54 +08:00
TreeHugger Robot
622e910981
Merge "Phone fails to switch channel mode from stereo to mono"
2021-09-01 09:47:24 +00:00
Tim Peng
1469626b4a
Phone fails to switch channel mode from stereo to mono
...
-Set codec to SBC when HD audio is off
Bug: 194349060
Test: make -j50 RunSettingsRoboTests
Change-Id: Iae4aa3f1d77350f5b4d91e7a687e048091c1daea
2021-09-01 08:42:30 +00:00
Menghan Li
ac74f5e31a
Merge "Fix null pointer issue of accesibility learn more button click event" into sc-v2-dev am: e8582f9c31
am: 355ae871b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15678258
Change-Id: I199e6d1b3f30cacfac3a15010242f9f5a4dc3239
2021-09-01 06:56:27 +00:00
Menghan Li
e8582f9c31
Merge "Fix null pointer issue of accesibility learn more button click event" into sc-v2-dev
2021-09-01 06:19:03 +00:00
Dmitri Plotnikov
99ec71728f
Merge "Remove uses of deprecated class BatterySipper also, remove the obsolete class FakeUid"
2021-08-31 22:36:55 +00:00
menghanli
d665ecb86d
Fix null pointer issue of accesibility learn more button click event
...
Root cause: Some OEMs can not provide valid intent for help & feedback
Solution: Check the intent is vaild before show up the help strings
Bug: 197786797
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityFooterPreferenceControllerTest
Change-Id: I8103730ed48a343f7b72c16647f7e8047aee34b2
2021-08-31 16:35:44 +08:00
Betty Chang
dc45560bd6
Merge "Change the SIM color for passing the GAR"
2021-08-31 07:55:17 +00:00
ykhung
8667ba61b4
Hide Camera background running time in the battery usage screen am: 2401ec4235
am: 24e8c1f902
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15715976
Change-Id: I2e38aa777eb57b48991cc76f4b689e723710cc50
2021-08-31 07:28:35 +00:00
ykhung
2401ec4235
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
2021-08-31 07:01:01 +00:00
changbetty
bea12d4bbe
Change the SIM color for passing the GAR
...
Bug: 195710292
Test: Manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=RenameMobileNetworkDialogFragmentTest
Change-Id: I7b7a3e1b6d72709acbae0a0433af897a28d73afc
2021-08-31 06:13:55 +00:00
TreeHugger Robot
0166f321c2
Merge "[Performance] avoid setting the same optimization mode again" into sc-v2-dev am: f3155c03f0
am: f5fe795a34
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15712669
Change-Id: I982c82723e8ec3d79b149f09a6d8ddc0f7d21447
2021-08-30 11:13:00 +00:00
ykhung
35bcab603b
[B&R] restore the backup data for app optimization mode back am: adec23a106
am: ea57d6863e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15681503
Change-Id: If1af4c2d1671d1ae9976245a739878bbdf887211
2021-08-30 10:11:00 +00:00
ykhung
9ac072dafe
[Performance] avoid setting the same optimization mode again
...
Add a checking condition to avoid setting the same optimization mode again to improve the performance, since setting the optimization mode is a heavy operation when binding with system service.
Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I4065e3c56201c1c9285d9cebedf670bc0c42c614
2021-08-30 09:25:51 +00:00
ykhung
adec23a106
[B&R] restore the backup data for app optimization mode back
...
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: Ia35f8caa8fe2408be28c3494785a174a1aeb11da
2021-08-30 06:45:26 +00:00
Dmitri Plotnikov
ad0bb5b7fe
Remove uses of deprecated class BatterySipper
...
also, remove the obsolete class FakeUid
Test: make RunSettingsRoboTests
Test: make RunSettingsGoogleRoboTests
Change-Id: I2f235a18dcca3b5b3a2839408b76553bbc4f655a
2021-08-27 18:19:36 -07:00
Zoey Chen
8df2fccba8
Merge "[RESTRICT AUTOMERGE] Add new ACTION_WIFI_DETAILS_SETTINGS to Settings" into sc-v2-dev
2021-08-26 10:58:40 +00:00
ykhung
8ffdf372c1
[B&R] ignore backup system app or default app optimization modes am: a90496e92e
am: c724633bf3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15671541
Change-Id: Ieb631d27cc6ca53f8926be3a4998baf38f4893dc
2021-08-26 08:49:15 +00:00
ykhung
c724633bf3
[B&R] ignore backup system app or default app optimization modes am: a90496e92e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15671541
Change-Id: I8b0df014d4e0c317349f1937a649df3ae9ba613f
2021-08-26 08:39:37 +00:00
Weng Su
29f4a35dea
[RESTRICT AUTOMERGE] Add new ACTION_WIFI_DETAILS_SETTINGS to Settings
...
- Need to export the interface to Quick Settings to launch Wi-Fi Network
details settings.
- Rename WifiNetworkDetailsFragment.class
Bug: 191475923
Test: manual test with the topic CLs.
make RunSettingsRoboTests
atest -c SettingsUnitTests:com.android.settings.wifi \
SettingsUnitTests:com.android.settings.network
Change-Id: Id2fd8c9b3b113ffbb49168305b05c67392fa4d87
(cherry picked from commit e8a4e13a80
)
2021-08-26 04:24:39 +00:00
Weng Su
56c0fe1c84
Add new ACTION_WIFI_DETAILS_SETTINGS to Settings
...
- Need to export the interface to Quick Settings to launch Wi-Fi Network
details settings.
- Rename WifiNetworkDetailsFragment.class
Bug: 191475923
Test: manual test with the topic CLs.
make RunSettingsRoboTests
atest -c SettingsUnitTests:com.android.settings.wifi \
SettingsUnitTests:com.android.settings.network
Change-Id: Id2fd8c9b3b113ffbb49168305b05c67392fa4d87
(cherry picked from commit e8a4e13a80
)
Merged-In: Id2fd8c9b3b113ffbb49168305b05c67392fa4d87
2021-08-25 15:37:19 +00:00
ykhung
a90496e92e
[B&R] ignore backup system app or default app optimization modes
...
Avoid backup system app or default app optimization modes, since all of
them are using the MODE_UNRESTRICTED in default, and the system or
default apps may be different in the different devices.
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
Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I0862ee31fcfa3bece15c2d4fdef5b0ea70235967
2021-08-25 15:01:52 +00:00
ykhung
87898aec66
[B&R] notify BackupManager when app optimization mode is changed am: 935a9321b5
am: 5f3bc01915
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15667992
Change-Id: I8e422e893bb80e202ed50550c05ea5484b1b2756
2021-08-25 03:55:48 +00:00
ykhung
935a9321b5
[B&R] notify BackupManager when app optimization mode is changed
...
Invoke BackupManager.dataChanged() when app optimization mode is changed
to notify BackupManager to execute Settings agent to backup data in the
next backup session, when performing the partial backup event.
Bug: 192523697
Bug: 197608038
Bug: 194633034
Test: make SettingsRoboTests
Change-Id: I456acc2594d22503763e4ce286435148ae0644a4
2021-08-25 02:21:16 +00:00
ykhung
0ab0a3af56
Refactor BatteryOptimizeUtils from enum to @IntDef
...
Based on the Android API Council guideline, we should avoid using the
Enum structure to define the constant definition.
go/android-api-guidelines#avoid-enum
Bug: 197595292
Test: make SettingsRoboTests
Change-Id: I4b22f0abde7f4ce2c3a0b076db786e619783d93e
Merged-In: I4b22f0abde7f4ce2c3a0b076db786e619783d93e
2021-08-24 12:04:31 +00:00
ykhung
b2f80a7105
Refactor BatteryOptimizeUtils from enum to @IntDef
...
Based on the Android API Council guideline, we should avoid using the
Enum structure to define the constant definition.
go/android-api-guidelines#avoid-enum
Bug: 197595292
Test: make SettingsRoboTests
Change-Id: I4b22f0abde7f4ce2c3a0b076db786e619783d93e
2021-08-24 10:20:43 +00:00
TreeHugger Robot
b20b462cca
Merge "[B&R] backup the battery optimization mode for installed apps" into sc-v2-dev am: c63c0d4370
am: 0249ae9582
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15635264
Change-Id: I81cc433712fcb62a72a85dc227be14e65d979e5b
2021-08-23 05:55:43 +00:00
ykhung
37ddf4bc3e
[B&R] backup the battery optimization mode for installed apps
...
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
Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I4671e48a9d3b315362b451384db637d5cae36a4d
2021-08-23 12:32:07 +08:00
Govinda Wasserman
5963ef2202
Merge "Revert "Revert "Add sensitivity configuration to long press power dialog""" into sc-qpr1-dev am: 8351a9a504
am: 26f121b673
am: f04886df8b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15640673
Change-Id: I6a3effb0337fc1c43c29fc34992cf3b4504cb360
2021-08-20 18:02:39 +00:00
Govinda Wasserman
f04886df8b
Merge "Revert "Revert "Add sensitivity configuration to long press power dialog""" into sc-qpr1-dev am: 8351a9a504
am: 26f121b673
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15640673
Change-Id: I848c23910f68343f9a3ff52acbc9a03a14882096
2021-08-20 17:47:33 +00:00
Govinda Wasserman
3869aac6d3
Revert "Revert "Add sensitivity configuration to long press power dialog""
...
This reverts commit c4084d4141
.
Reason for revert: Dependant change has now successfully been propagated to sc-v2-dev child graphs
Change-Id: I1f6126a423c72540d219b99e20b464b51ef65923
2021-08-20 17:06:40 +00:00
TreeHugger Robot
49ab5d1a72
Merge "Revert "Add sensitivity configuration to long press power dialog"" into sc-qpr1-dev am: ea4e5a33bf
am: ef2c734413
am: 701b89a3b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15635257
Change-Id: Id48f9bb739d55cb239133fb98cd72b2c97c1e3e0
2021-08-20 11:35:29 +00:00
TreeHugger Robot
701b89a3b9
Merge "Revert "Add sensitivity configuration to long press power dialog"" into sc-qpr1-dev am: ea4e5a33bf
am: ef2c734413
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15635257
Change-Id: Ibc897838a3d068d718df8be06e5ccd6b3925dbdd
2021-08-20 11:22:09 +00:00
Sam Chang
c4084d4141
Revert "Add sensitivity configuration to long press power dialog"
...
This reverts commit de2f00df41
.
Reason for revert: This CL will cause build break, b/197290948
Change-Id: Ibee2d4bc5e445e863585c291b4b2741bcb4b4c81
2021-08-20 06:46:33 +00:00
YUKAI HUNG
8a51d3a749
Merge "[B&R] backup the getFullPowerWhitelist() for battery setting" into sc-v2-dev am: 5d59c685d7
am: 902ae0a655
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15611718
Change-Id: I409320cd7a991095c102ea5fab3a035c9c3e86a1
2021-08-20 02:02:15 +00:00
YUKAI HUNG
5d59c685d7
Merge "[B&R] backup the getFullPowerWhitelist() for battery setting" into sc-v2-dev
2021-08-20 01:39:28 +00:00
ykhung
7cbc683d3e
[B&R] backup the getFullPowerWhitelist() for battery setting
...
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
Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I2d5c51b5b5788d703a233f5df719a298382feb98
2021-08-19 23:59:21 +00:00
Jernej Virag
7a0e4ae189
Add sensitivity configuration to long press power dialog am: de2f00df41
am: a4034c602a
am: 4ff3404ebf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15542611
Change-Id: I421bde212de03e3b09d33bc8488c2c2430795742
2021-08-19 15:42:04 +00:00
Jernej Virag
4ff3404ebf
Add sensitivity configuration to long press power dialog am: de2f00df41
am: a4034c602a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15542611
Change-Id: I4dce1c3176544f7df08c4ef9b3d28daddcd5a3ac
2021-08-19 15:28:52 +00:00
Jernej Virag
5d37f9b93d
Add sensitivity configuration to long press power dialog am: de2f00df41
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15542611
Change-Id: Iee7ce4a08a1a132e95eb9f4313b58c7fbe3eafd2
2021-08-19 15:16:26 +00:00
Jernej Virag
de2f00df41
Add sensitivity configuration to long press power dialog
...
This gives the user the ability to configure the length of the long press power gesture. The configuration values are read from config.xml and can be customized per device.
Bug: 193792060
Test: Manual test on Pixel 6 and Pixel 4 hardware devices
Test: Unit tests with make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.gestures.*"
Change-Id: Ia6595c1337244b01e9c8b2ef04dd97a9a0f03de2
2021-08-18 19:41:10 -04:00
TreeHugger Robot
4f014f690c
Merge "LPP will now always launch either GlobalActions or the Assistant." into sc-dev am: 6bf17de139
am: 27f9d9ce04
am: 9def67d894
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15603279
Change-Id: Ie39d75d5f53fdcac88b8578af0cafd0ec4a6dafa
2021-08-18 22:18:44 +00:00
TreeHugger Robot
3fa1d36367
Merge "LPP will now always launch either GlobalActions or the Assistant." into sc-dev am: 6bf17de139
am: f4977c5e36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15603279
Change-Id: I01256184429ddc1f337a5453b6a73ac6b441cfe4
2021-08-18 22:10:16 +00:00
TreeHugger Robot
9def67d894
Merge "LPP will now always launch either GlobalActions or the Assistant." into sc-dev am: 6bf17de139
am: 27f9d9ce04
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15603279
Change-Id: Ic349cb0e82e5c6a596ab232d3b23e333b1723241
2021-08-18 22:09:41 +00:00
TreeHugger Robot
23b9aad3f5
Merge "LPP will now always launch either GlobalActions or the Assistant." into sc-dev am: 6bf17de139
am: 95d2eb7376
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15603279
Change-Id: I3d211177777a9fd9ef570c19e1509fcb4f58236e
2021-08-18 22:05:09 +00:00