Zoey Chen
77e38838a4
Merge "[Settings] Do not creat multiple database"
2022-10-30 13:17:25 +00:00
Lucas Silva
11a5067ee5
Update the "When to dream" settings am: 47d84b41ac
am: 0e7f4d87ce
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20302008
Change-Id: Id60e4ff240602ef42905a5af46f0ac77bde17f9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 21:07:21 +00:00
Lucas Silva
0e7f4d87ce
Update the "When to dream" settings am: 47d84b41ac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20302008
Change-Id: Id0ae8f8af81ab9cea7e61b1050e077afbe51a1f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 20:34:09 +00:00
Lucas Silva
47d84b41ac
Update the "When to dream" settings
...
For devices which don't support dreaming on battery, we can offer
simpler options since the device must always be charging for
screensavers to appear. Therefore there are only two options:
1. While charging
2. While docked and charging
Test: flashed and verified on device
Test: make -j64 RunSettingsRoboTests
Fixes: 226187572
Change-Id: I6ed24cda8874f2fb941f6cfded9ed97ed78a3cb6
2022-10-28 13:07:36 -04:00
Chaohui Wang
85cb46094c
Merge "Add AppSettingsPreference for Spa"
2022-10-28 12:53:12 +00:00
Chaohui Wang
5a89763503
Merge "Add AppDataUsagePreference for Spa"
2022-10-28 12:52:57 +00:00
Stanley Wang
1be259b75a
Merge "Send pre-index intent when developer options changed" into tm-qpr-dev am: 18dd9b2307
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20307418
Change-Id: I2fbed4ebb333ef8a489dadc24147367754d50384
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 11:19:08 +00:00
Stanley Wang
cf38fb9701
Merge "Send pre-index intent at Settings first started" into tm-qpr-dev am: 5ba309c5ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20307417
Change-Id: I849c03cd70a2e5598d6b95cbaf2b4fcae5316831
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 11:19:05 +00:00
Stanley Wang
9f7094e47e
Add new api for search pre-index am: 22d1cdb3bf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20307416
Change-Id: I0dc4b69c51ad4aad37ec37e059035564f02ca364
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 11:19:02 +00:00
Zoey Chen
97291ac0ad
[Settings] Do not creat multiple database
...
Bug: 254405469
Test: manual
Change-Id: I96ea77899270439a87569bd1676d38b52dd36650
2022-10-28 11:07:39 +00:00
Stanley Wang
18dd9b2307
Merge "Send pre-index intent when developer options changed" into tm-qpr-dev
2022-10-28 10:42:27 +00:00
Stanley Wang
5ba309c5ad
Merge "Send pre-index intent at Settings first started" into tm-qpr-dev
2022-10-28 10:42:27 +00:00
Chaohui Wang
aafdb3bfbc
Add AppSettingsPreference for Spa
...
This is used in new App Info page.
To try:
1. adb shell am start -n com.android.settings/.spa.SpaActivity
2. Go to Apps -> All apps -> [One App] -> Additional settings in the app
Bug: 236346018
Test: Unit test & Manual with App Info page
Change-Id: I40a175d771c4c0f13986f8c615169c99ce1b0623
2022-10-28 07:41:24 +00:00
Stanley Wang
c0458b8a15
Send pre-index intent when developer options changed
...
Bug: 244521263
Test: manually test and review UI
Change-Id: I410dcc8ac8a9e131357a3e186e17b0d6363ad247
(cherry picked from commit 0b72d620a3
)
2022-10-28 07:34:44 +00:00
Stanley Wang
0a9a9d34a7
Send pre-index intent at Settings first started
...
Bug: 244521263
Test: manually test and review UI
Change-Id: I654a562b62256fd673f65949dd264f75574444c0
(cherry picked from commit 59446252d7
)
2022-10-28 07:33:41 +00:00
Stanley Wang
22d1cdb3bf
Add new api for search pre-index
...
Add sendPreIndexIntent api.
Bug: 244521263
Test: manually test and review UI
Change-Id: Ibbe88eeb114b453886693ecb92ebd8ee287f9581
2022-10-28 07:32:03 +00:00
Chaohui Wang
c972af0ca7
Merge "Add AppBatteryPreference for Spa"
2022-10-28 07:24:53 +00:00
TreeHugger Robot
e0cc98d631
Merge "Remove "Always show icon when in vibrate mode"" into tm-qpr-dev am: a82d5e7be2
am: 24dd061bba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20297389
Change-Id: I929baecabdf7e3394289f4fb1046bb53bef7efb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 04:19:32 +00:00
TreeHugger Robot
24dd061bba
Merge "Remove "Always show icon when in vibrate mode"" into tm-qpr-dev am: a82d5e7be2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20297389
Change-Id: If301290625468d587bc940eafddeed2b2458c267
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 03:44:02 +00:00
Chaohui Wang
dbead03b6a
Add AppBatteryPreference for Spa
...
This is used in new App Info page.
To try:
1. adb shell am start -n com.android.settings/.spa.SpaActivity
2. Go to Apps -> All apps -> [One App] -> App battery usage
Bug: 236346018
Test: Unit test & Manual with Settings App
Change-Id: I4784e42f230534d8d843ec00de51032baffcb7e2
2022-10-28 11:18:21 +08:00
TreeHugger Robot
a82d5e7be2
Merge "Remove "Always show icon when in vibrate mode"" into tm-qpr-dev
2022-10-28 03:15:21 +00:00
Chaohui Wang
ca7eca1440
Merge "Add AppInstallerInfoPreference for Spa"
2022-10-28 03:08:06 +00:00
Yining Liu
923cdcae41
Fix text in notification settings for apps that do not send notifications am: e899b4c96c
am: 7f6b3cc7ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20283152
Change-Id: I3b63362fab7d5c532d231b7db82553fc9a7bde4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-28 00:23:19 +00:00
Yining Liu
7f6b3cc7ca
Fix text in notification settings for apps that do not send notifications am: e899b4c96c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20283152
Change-Id: Ic748f560f9a4767b6c75349506ae569cde1473af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-27 23:29:27 +00:00
Yining Liu
e899b4c96c
Fix text in notification settings for apps that do not send notifications
...
Added a new string to show for apps apps that target T, but do not declare the POST_NOTIFICATIONS permission in notification settings.
Bug: 229108007
Test: `croot` `make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.notification.app.NotificationsOffPreferenceControllerTest"` and manual: open Settings-Notifications-App Settings, check the text for apps that does not post notifications with toggle disabled. Text should be: "This app does not send notifications" when system language is English.
Change-Id: I9822b6f983e00c5982522099e339d86fae45aefe
2022-10-27 20:19:44 +00:00
George Chan
7e11a11ac1
Merge "Revert "Added transparency-metadata display.""
2022-10-27 18:19:58 +00:00
Chaohui Wang
601124517a
Add AppInstallerInfoPreference for Spa
...
This is used in new App Info page.
To try:
1. adb shell am start -n com.android.settings/.spa.SpaActivity
2. Go to Apps -> All apps -> [One App] -> App details
Bug: 236346018
Test: Unit test
Change-Id: Ibd1ae27c60a096b7f12ca6640a58b099dcfb0b6b
2022-10-27 20:19:17 +08:00
Chaohui Wang
9ee43c96d3
Add AppDataUsagePreference for Spa
...
This is used in new App Info page.
To try:
1. adb shell am start -n com.android.settings/.spa.SpaActivity
2. Go to Apps -> All apps -> [One App] -> Mobile data & Wi-Fi
Bug: 236346018
Test: Unit test & Manual with Settings App
Change-Id: I1ebcc2c5197eef0c35a2b188b7edb3594fa4ae2a
2022-10-27 11:16:57 +00:00
Zoey Chen
93b0b686bd
Merge "[Settings] Change the way in InternetPreferenceController for getting the subscription info from room db part4"
2022-10-27 10:29:22 +00:00
Tsung-Mao Fang
9065049733
Remove "Always show icon when in vibrate mode"
...
If device doesn't support vibrator, then disable this feature.
Test: No this setting
Fix: 253165108
Change-Id: I58e2bf7b36a3af61d458fc2cb8c92c18219d6684
2022-10-27 10:05:50 +00:00
Zaiyue Xue
06edef48f7
Merge changes I93d4d089,I4f09f9e5 into tm-qpr-dev am: f5a9766041
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20280700
Change-Id: I7d8393abd95e6a82f6d8b7540171e60d6b3ccc07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-27 09:21:48 +00:00
Zaiyue Xue
f5a9766041
Merge changes I93d4d089,I4f09f9e5 into tm-qpr-dev
...
* changes:
Fix b/248686898: Battery Usage list renders items on top of each other after swiping back from an app
Fix broken battery usage Robolectric tests
2022-10-27 08:36:46 +00:00
Weng Su
1207974dc6
Merge "Remove Modify popup menu for non-admin" into tm-qpr-dev am: 7a8a9e4fba
am: fcd8eefe8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20288324
Change-Id: Ia487fc1634e0e1ceb3db2a6db5f8a59bf35dbcc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-27 04:54:35 +00:00
Zoey Chen
0d540ceb62
Merge "[Settings] Change the way in MobileNetworkListFragment for getting the subscription info from room db part3"
2022-10-27 04:45:33 +00:00
Weng Su
fcd8eefe8f
Merge "Remove Modify popup menu for non-admin" into tm-qpr-dev am: 7a8a9e4fba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20288324
Change-Id: I93d7b79259b846a7bd7c528e9c3032cb04e11193
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-27 04:17:47 +00:00
Weng Su
7a8a9e4fba
Merge "Remove Modify popup menu for non-admin" into tm-qpr-dev
2022-10-27 03:50:09 +00:00
George Chan
f9b20b0fe9
Revert "Added transparency-metadata display."
...
Revert "Added new transparency metadata enum."
Revert submission 19943929-mba_ui
Reason for revert: Feature cancelled due to product direction change.
Reverted Changes:
I7b3e296c3:Added transparency metadata feature flag.
Ia4b2f294b:Added new transparency metadata enum.
If7822100a:Added transparency-metadata display.
Change-Id: If50179b4a485587dcf49a2c9e2ae18a69b173794
2022-10-26 20:54:02 +00:00
Zoey Chen
b995e6d0cb
Merge "[Settings] Update the title if launch the fragment from search app"
2022-10-26 14:51:44 +00:00
SongFerngWang
8604adf90f
[LE Unicast]UI can Enable/Disable VCP and CSIP am: 9144681d4c
am: 217477e4d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20271144
Change-Id: Ia7c1ad3076736c56cedffcccd6e4a08db09e0912
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-26 14:13:55 +00:00
SongFerngWang
217477e4d2
[LE Unicast]UI can Enable/Disable VCP and CSIP am: 9144681d4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20271144
Change-Id: Id451b0052152a0274dac97e65f2747f78860def8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-10-26 13:16:35 +00:00
Zoey Chen
1c4a1989f3
[Settings] Change the way in InternetPreferenceController for getting the subscription info from room db part4
...
Bug: 254405469
Test: atest InternetPreferenceControllerTest
Change-Id: I7f3b471ca1fcabd3c44b82fff8af7002fa2fbc24
2022-10-26 12:39:59 +00:00
SongFerngWang
9144681d4c
[LE Unicast]UI can Enable/Disable VCP and CSIP
...
When the user turns on/off the LE audio toggle, the settings set
enabled/disabled for the LE audio profile, the VCP profile and the
CSIP profile.
Bug: 238866767
Test: build pass. Local test: Enable/Disable LE audio toggle and
then those profiles work properly.
Change-Id: Iabfbea846a06104de977ef0e91c74e6e20334ec0
2022-10-26 12:39:15 +00:00
Zoey Chen
31a3bd2e03
[Settings] Change the way in MobileNetworkListFragment for getting the subscription info from room db part3
...
Bug: 254405469
Test: atest NetworkProviderDownloadedSimListControllerTest, atest NetworkProviderSimListControllerTest
Change-Id: Iec6e17688b260d2fef464a711f92e788fe76fbe7
2022-10-26 12:28:10 +00:00
Zaiyue Xue
4fbd2064d6
Fix b/248686898: Battery Usage list renders items on top of each other after swiping back from an app
...
Root cause: When adding an animation to the hourly chartview which is scolled up out of the page, onBindViewHolder() will be trigered, then UI is refreshed again, and then the animation is added to the hourly charview again. This is a dead loop.
This fix adds animation to the hourly chartview only if the visibility is changed.
http://cs/android/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/BatteryChartPreferenceController.java;l=676;rcl=9f24ea815d637a05e1b7ddf2d4372d716d749229
http://cs/android/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/BatteryHistoryPreference.java;l=102;rcl=9f24ea815d637a05e1b7ddf2d4372d716d749229
Bug: 248686898
Fix: 248686898
Test: manually
Change-Id: I93d4d089f537515d452c1330f5d75a6726b229f8
(cherry picked from commit aabea16898
)
Merged-In: I93d4d089f537515d452c1330f5d75a6726b229f8
2022-10-26 17:31:17 +08:00
Weng Su
dcfbccbfbc
Remove Modify popup menu for non-admin
...
- Don't add the Modify ContextMenu if the user is not an admin.
Bug: 237672190
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: I62e0f5559fa2315450221fcb71e348af59af9549
2022-10-26 16:31:00 +08:00
Chaohui Wang
189c7eee3d
Merge "Add AppLocalePreference for Spa"
2022-10-26 07:05:02 +00:00
Zoey Chen
3eaadf598f
[Settings] Update the title if launch the fragment from search app
...
Bug: 245613972
Test: manual
Change-Id: I07bf9a8f59ea14fc8133e2473746a59a5c187d47
2022-10-26 06:50:47 +00:00
Zaiyue Xue
aabea16898
Fix b/248686898: Battery Usage list renders items on top of each other after swiping back from an app
...
Root cause: When adding an animation to the hourly chartview which is scolled up out of the page, onBindViewHolder() will be trigered, then UI is refreshed again, and then the animation is added to the hourly charview again. This is a dead loop.
This fix adds animation to the hourly chartview only if the visibility is changed.
http://cs/android/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/BatteryChartPreferenceController.java;l=676;rcl=9f24ea815d637a05e1b7ddf2d4372d716d749229
http://cs/android/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/BatteryHistoryPreference.java;l=102;rcl=9f24ea815d637a05e1b7ddf2d4372d716d749229
Bug: 248686898
Fix: 248686898
Test: manually
Change-Id: I93d4d089f537515d452c1330f5d75a6726b229f8
2022-10-26 11:22:03 +08:00
Chaohui Wang
3eddcc6703
Add AppLocalePreference for Spa
...
Also let SettingsSpaUnitTests depends on the
mockito-target-extended-minus-junit4 to support mock static methods.
Bug: 236346018
Test: Unit test & Manual with Settings App
Change-Id: Ib7a3022b20e30c8292713f52d29785eb78899c70
2022-10-26 11:01:47 +08:00
Ling Ma
1cbf8c786a
Merge "Convert dataDuringCall to autoDataSWitch"
2022-10-25 23:36:43 +00:00