TreeHugger Robot
b05bffeb71
Merge "Log when DEBUG is on" into sc-qpr1-dev am: 736bce563e am: 2cb6e12f11
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15598813
Change-Id: Ia3d1839519b3135a4ef29405226bc9eebc961719
2021-08-31 22:41:11 +00:00
TreeHugger Robot
2cb6e12f11
Merge "Log when DEBUG is on" into sc-qpr1-dev am: 736bce563e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15598813
Change-Id: I871fee03a402a25e917656e4b27015388697df5f
2021-08-31 22:40:39 +00:00
Julia Reynolds
0d16b9cb68
Add new task to intents that leave Settings am: 76aedd72f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15730311
Change-Id: Ibcb97ab31fba46e4c61f68bb03240a43e496a45c
2021-08-31 22:40:24 +00:00
TreeHugger Robot
736bce563e
Merge "Log when DEBUG is on" into sc-qpr1-dev
2021-08-31 22:19:19 +00:00
Julia Reynolds
76aedd72f0
Add new task to intents that leave Settings
...
Test: manual
Fixes: 197702721
Fixes: 197704633
Fixes: 197704125
Fixes: 197704456
Change-Id: Iffeca2d152bd083edafe69a7121d011e284eeb69
2021-08-31 21:13:03 +00:00
ykhung
24e8c1f902
Hide Camera background running time in the battery usage screen am: 2401ec4235
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15715976
Change-Id: I19048e33376a9e9b0816f20a6e8fea60c4f46bcc
2021-08-31 07:13:58 +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
Weng Su
1ddd133e16
Don't show Wi-Fi icon if the level is -1 am: 1f6f807834 am: dc50ca86fb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15720350
Change-Id: I6a2a26f74432e8e31f95ebc00e40000fd8d7f486
2021-08-31 03:30:44 +00:00
Weng Su
ef51aec905
Don't show Wi-Fi icon if the level is -1 am: 1f6f807834
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15720350
Change-Id: I9f8f1ed4d2ec8072dc3b7087d41186f021197e75
2021-08-31 03:21:50 +00:00
Weng Su
dc50ca86fb
Don't show Wi-Fi icon if the level is -1 am: 1f6f807834
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15720350
Change-Id: Ib8e3164f046f2deeca88e6d31e29058789751edc
2021-08-31 03:21:47 +00:00
Weng Su
1f6f807834
Don't show Wi-Fi icon if the level is -1
...
Bug: 195893448
Test: manual test
make RunSettingsRoboTests
ROBOTEST_FILTER=NetworkRequestDialogFragmentTest
Change-Id: Ifddc9aace42d1f024b7c861b1207f651061d790b
(cherry picked from commit 7e14668094 )
Merged-In: Ifddc9aace42d1f024b7c861b1207f651061d790b
2021-08-30 22:55:26 +00:00
TreeHugger Robot
f5fe795a34
Merge "[Performance] avoid setting the same optimization mode again" into sc-v2-dev am: f3155c03f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15712669
Change-Id: Ic89e75098b40489f66005e1c6309e02c1b427552
2021-08-30 10:49:36 +00:00
TreeHugger Robot
f3155c03f0
Merge "[Performance] avoid setting the same optimization mode again" into sc-v2-dev
2021-08-30 10:28:11 +00:00
PETER LIANG
c3b01abe59
Merge "Correct the position of the marker for audio adjustment." into sc-v2-dev am: 810ab566e7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15611717
Change-Id: I75845cabf350a69a15bd1e9b99b1726b0a815bc8
2021-08-30 09:57:30 +00:00
PETER LIANG
810ab566e7
Merge "Correct the position of the marker for audio adjustment." into sc-v2-dev
2021-08-30 09:55:35 +00:00
ykhung
ea57d6863e
[B&R] restore the backup data for app optimization mode back am: adec23a106
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15681503
Change-Id: I4977c0f78803d943426a7b2d64b0304bbc2c0b8a
2021-08-30 09:50:51 +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
Peter_Liang
ba297dc396
Correct the position of the marker for audio adjustment.
...
Root cause: Miss one the layout padding condition for computing the position of the marker.
Solution: add the layout padding condition into.
Bug: 196980036
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BalanceSeekBarTest ROBOTEST_FILTER=BalanceSeekBarPreferenceTest
Change-Id: Id0c6ebbc981d9ef41e7956ffff1fc5b9d4c0e787
2021-08-30 07:16:35 +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
Victor Liu
08aec88281
Merge "Initialize UwbManager only if supported on device." into sc-qpr1-dev am: 029b6397a8 am: 8fd386e5c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15676888
Change-Id: I83cfdad5fa3d7a0f59a9e0e9026480979b8a8a09
2021-08-27 02:26:40 +00:00
Victor Liu
da15cbb50e
Merge "Initialize UwbManager only if supported on device." into sc-qpr1-dev am: 029b6397a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15676888
Change-Id: If9a8aba1e56a75422b0c2a453673d0cd873d4aa1
2021-08-27 02:14:01 +00:00
Victor Liu
8fd386e5c4
Merge "Initialize UwbManager only if supported on device." into sc-qpr1-dev am: 029b6397a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15676888
Change-Id: I705dbcfa7b4095bdf1d39830b2910ce53eaf4e44
2021-08-27 02:14:01 +00:00
Victor Liu
029b6397a8
Merge "Initialize UwbManager only if supported on device." into sc-qpr1-dev
2021-08-27 01:57:14 +00:00
Android Build Prod User
0b8ff007b7
Merge "[QPR1] Add time unit into battery usage chart and refine some UI" into sc-qpr1-dev am: 33af17ff31
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15516309
Change-Id: Ie0d087c70691e9363126c096625e9ee4aab44a63
2021-08-26 21:59:26 +00:00
Android Build Prod User
ca8e67d144
Merge "[QPR1][Security] Fix RequestIgnoreBatteryOptimizations info disclosure" into sc-qpr1-dev am: 71327943dc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15596897
Change-Id: I3d91b11afeb397e7bddea0b82d0cfe4d2faafece
2021-08-26 21:59:11 +00:00
Android Build Prod User
33af17ff31
Merge "[QPR1] Add time unit into battery usage chart and refine some UI" into sc-qpr1-dev
2021-08-26 21:42:36 +00:00
Android Build Prod User
71327943dc
Merge "[QPR1][Security] Fix RequestIgnoreBatteryOptimizations info disclosure" into sc-qpr1-dev
2021-08-26 21:42:27 +00:00
Joy Babafemi
14aee30625
Initialize UwbManager only if supported on device.
...
Test: Manual
Bug: 197519749
Change-Id: I8346f4c2f3e3cc52e21a9214ab3fd428180c5d8d
Merged-In: I8346f4c2f3e3cc52e21a9214ab3fd428180c5d8d
2021-08-26 20:26:11 +00:00
Betty Chang
6bdc44eeff
Merge "Change the Network preference summary for wifi option" into sc-qpr1-dev am: 6a3b697141 am: 2889a7d49f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15671537
Change-Id: I7a0f00431aeb0eacf23be1381148fbec15886b85
2021-08-26 11:39:43 +00:00
Betty Chang
2889a7d49f
Merge "Change the Network preference summary for wifi option" into sc-qpr1-dev am: 6a3b697141
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15671537
Change-Id: I6ce573b12c83282587419e321f7c690c6830b4a6
2021-08-26 11:16:54 +00: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
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
Betty Chang
7e7b237092
Merge "Change the Network preference summary for wifi option" into sc-qpr1-dev am: 6a3b697141
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15671537
Change-Id: I4bc6a5d4d5eeccaf23d4c7da0314ebdfaf4965e4
2021-08-26 02:06:50 +00:00
Betty Chang
6a3b697141
Merge "Change the Network preference summary for wifi option" into sc-qpr1-dev
2021-08-26 01:50:56 +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
Zoey Chen
f834fe054a
Merge "[Provider Model] Redirect Settings Internet panel request to SystemUI." into sc-qpr1-dev am: 538af552c0 am: 8b3bb01ca8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15544646
Change-Id: I937c5e630247871b2ebb34da3c0c28f13ee97f78
2021-08-25 14:30:35 +00:00
Zoey Chen
8b3bb01ca8
Merge "[Provider Model] Redirect Settings Internet panel request to SystemUI." into sc-qpr1-dev am: 538af552c0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15544646
Change-Id: I57e5c0f9abf213026d67cdfed8acfccff46084a8
2021-08-25 14:20:17 +00:00
Zoey Chen
e964d73673
Merge "Add new ACTION_WIFI_DETAILS_SETTINGS to Settings" into sc-qpr1-dev am: 2a87acf247
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15580670
Change-Id: I8eb97e03575fb7b1d69aac24fecc22bc100cca50
2021-08-25 06:19:18 +00:00
Zoey Chen
2a87acf247
Merge "Add new ACTION_WIFI_DETAILS_SETTINGS to Settings" into sc-qpr1-dev
2021-08-25 06:04:30 +00:00
Zoey Chen
5c49db8d8b
Merge "[Provider Model] Redirect Settings Internet panel request to SystemUI." into sc-qpr1-dev am: 538af552c0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15544646
Change-Id: Iaae85f03949e22b76390956de127513c2b806863
2021-08-25 04:54:20 +00:00
Zoey Chen
538af552c0
Merge "[Provider Model] Redirect Settings Internet panel request to SystemUI." into sc-qpr1-dev
2021-08-25 04:29:12 +00:00
ykhung
5f3bc01915
[B&R] notify BackupManager when app optimization mode is changed am: 935a9321b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15667992
Change-Id: I6699e68d8c6e66ee76420c732307af03ee9513fd
2021-08-25 03:43:21 +00:00
changbetty
b1b2da9aca
Change the Network preference summary for wifi option
...
Bug:192987269
Test: Manual test
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: I3892386f8fe2e5c3e29cd7e91f88db65c3693990
Merged-In: I3892386f8fe2e5c3e29cd7e91f88db65c3693990
2021-08-25 02:55:38 +00:00
ykhung
ef42284a61
Refactor BatteryOptimizeUtils from enum to @IntDef am: 0ab0a3af56
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15659652
Change-Id: Ia636f4a56ff2b528e8a86d924af00e2a68602b06
2021-08-25 02:46:38 +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
Zoey Chen
b4ebc1c059
Merge changes Ia8ce6cfa,I1acdfb09 into sc-qpr1-dev am: 8c5611a7ea am: 5d3e33badf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15582202
Change-Id: I9fd80cfe34f34ba99e35e3c6c5d1da411caf2668
2021-08-24 03:16:57 +00:00
changbetty
95f566beed
Set the attribute of the dialog window for overlay QS internet panel am: 6871807a95 am: 17f06cc0ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15580496
Change-Id: I622330aa4b5448d6f3165a388ca6a7cee1c2ca1b
2021-08-24 03:16:56 +00:00