Yanting Yang
f5e74b8f49
Merge "Support App details for work profile apps" into main
2023-08-02 20:12:32 +00:00
Chaohui Wang
515c0b8e3a
Remove context from userFeatureProvider
...
UserFeatureProviderImpl is created by using application context,
no need pass context in when get.
Bug: 286764889
Test: m Settings
Change-Id: I80ac7124c3278399e562d4d7d49d1847847b92af
2023-08-02 17:25:41 +08:00
Treehugger Robot
6a0adf823c
Merge "Update the incompatible charging banner tip icon" into udc-qpr-dev am: 103adb753a
am: 5058935211
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24276935
Change-Id: Ia625b2356fa07e3264539f31c1239fea977b307f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 05:04:01 +00:00
YK Hung
f6a7b7c349
Merge "Add cache strategy for getUsageSource()." into udc-qpr-dev am: 1b43697eb8
am: 5964c972fa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24236476
Change-Id: If040bea85d7eb72805175f2585e1155100d5eb6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-02 05:02:44 +00:00
Treehugger Robot
103adb753a
Merge "Update the incompatible charging banner tip icon" into udc-qpr-dev
2023-08-02 03:26:19 +00:00
YK Hung
1b43697eb8
Merge "Add cache strategy for getUsageSource()." into udc-qpr-dev
2023-08-02 03:23:11 +00:00
ykhung
69f46a72fc
Update the incompatible charging banner tip icon
...
Update the incompatible banner tip icon based on the UX update:
https://screenshot.googleplex.com/8ApTNJnsxRRufjQ
Fix: 246960554
Test: make test RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.fuelgauge
Change-Id: I060554c17b3825b38004fb643c0a0cdf5fdbed4d
2023-08-02 02:05:15 +00:00
Yanting Yang
6b02225810
Support App details for work profile apps
...
App info page stopped supporting the App details feature for work
profile apps in Android N but there is no exact reason from the history.
Try supporting it again to fulfill users' requests and check for
exceptions.
Bug: 264932611
Test: manual & robo and unit tests
Change-Id: I1227cff5e25313905952ba54ab0270cdf4f00fd4
2023-08-01 20:49:24 +08:00
mxyyiyi
c4ac74872b
Implement the battery tips cards.(1/2)
...
Bug: 291689623
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3ff665bd3292986030fdd8a3689b35bbf6f5a615 )
Change-Id: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f
2023-08-01 10:49:01 +00:00
Kuan Wang
64177774e2
Add cache strategy for getUsageSource().
...
Cache usage source into SharedPreferences when phone is booting to avoid
calling it too frequently.
It should be safe because the usage source can only change on reboot.
Bug: 293366011
Test: make RunSettingsRoboTests
Change-Id: I35c07539d294737c5764b03b746cfb39f4ce008d
2023-08-01 14:36:58 +08:00
Graciela Putri
9cba6cf4b9
Merge "[3/n] Add aspect ratio app info page" into udc-qpr-dev am: 386b02e906
am: e5e57a8d9e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23819685
Change-Id: I0a880774214c804f2c22fb7aa876c39349e71b62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 19:32:46 +00:00
YK Hung
d8f0731f60
Merge "Fix inconsistent connected without charging state in the Settings" into udc-qpr-dev am: 296322ad47
am: 4b1d5b8e8e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24219784
Change-Id: I11be4dc1c925f0100183d842fe2d2b3a13ae2741
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-28 19:21:21 +00:00
Graciela Putri
386b02e906
Merge "[3/n] Add aspect ratio app info page" into udc-qpr-dev
2023-07-28 13:14:03 +00:00
Graciela Wissen Putri
57984f02d5
[3/n] Add aspect ratio app info page
...
Apps > App Info > Advanced > Aspect ratio
Adds link from aspect ratio app list page to app info. Stops activity if
user chooses a different aspect ratio override.
To enable feature:
adb shell device_config put window_manager enable_app_compat_user_aspect_ratio_settings true
adb shell am force-stop com.android.settings
Bug: 287448187
Test: Manual
All Settings CUJs passed
atest SettingsRoboTests:UserAspectRatioDetailsTest
atest SettingsSpaUnitTests:UserAspectRatioAppPreferenceTest
Change-Id: Id47f291459e62267bf15d629c163dde73d96928a
2023-07-28 09:53:11 +00:00
YK Hung
296322ad47
Merge "Fix inconsistent connected without charging state in the Settings" into udc-qpr-dev
2023-07-28 05:53:16 +00:00
Treehugger Robot
98b806b999
Merge "Fix WifiScanWorkerTest tests failed" into main
2023-07-28 01:57:35 +00:00
Weng Su
903d3e6409
Fix WifiScanWorkerTest tests failed
...
- @Mock WifiManager class for WifiTrackerLib
Bug: 292993539
Test: Manual test
make RunSettingsRoboTests -j56 ROBOTEST_FILTER=com.android.settings.wifi.slice.WifiScanWorkerTest
Change-Id: I01758cf5043f6dc9b08bd06f4a72d9232b2ad8ed
2023-07-27 21:25:29 +08:00
Avinash Vadlamudi
0fe62fa541
Merge "Remove redundant code of setting the DeviceConfig overrides" into udc-qpr-dev am: 4e460ed41e
am: fea57771ad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24099788
Change-Id: Icfb7379fab2fc973045c4cc381ae577468f1f92d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-27 11:42:35 +00:00
ykhung
0610d2b682
Fix inconsistent connected without charging state in the Settings
...
Make the "connected, not charging" state condition is the same between
Settings main page (in the TopLevelBatteryPreferenceController), and
sub- battery settings page (in the BatteryHeaderPreferenceController).
https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryHeaderPreferenceController.java;l=116-119
Fix: 285204150
Test: make RunSettingsRoboTests -j40
Change-Id: I9b09d521ca71b18e180c779f1a048d1ea4ba161a
2023-07-27 08:21:49 +00:00
Avinash Vadlamudi
5567bdbfb3
Remove redundant code of setting the DeviceConfig overrides
...
- The auto pin confirm feature is now always available: (ag/23288037)
Bug: 291146670
Test: atest ChooseLockPasswordTest
Test: atest AutoPinConfirmPreferenceControllerTest
Change-Id: I6b9337dfee5d84ffdd3391f7b424377d640d451c
2023-07-26 17:51:13 +00:00
Wenhui Yang
d1f2c04069
Merge "Revert "Fix rotate device at face unlock detailed page, device will display"" into udc-d1-dev am: 5239911c6b
am: b1feaf710d
am: c7240489b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24199674
Change-Id: I04ec7f26fe4ce68d2083b6ce480735af4a22d6b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 05:14:18 +00:00
Wenhui Yang
b1feaf710d
Merge "Revert "Fix rotate device at face unlock detailed page, device will display"" into udc-d1-dev am: 5239911c6b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24199674
Change-Id: I1ed93893d170141ac974b2ad64fd2ddb6fe98bc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-26 03:17:46 +00:00
Wenhui Yang
5239911c6b
Merge "Revert "Fix rotate device at face unlock detailed page, device will display"" into udc-d1-dev
2023-07-26 02:44:08 +00:00
Chaohui Wang
a7a10f1088
Merge "Remove context from dashboardFeatureProvider" into main
2023-07-25 23:39:27 +00:00
Treehugger Robot
8d6ff6d1b6
Merge "Restrict ApnEditor settings" into udc-dev am: 64c88a192a
am: 57b00e28ea
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23982512
Change-Id: I7d8a257424acaf097339b062621eb85c515ae408
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 21:52:38 +00:00
Treehugger Robot
57b00e28ea
Merge "Restrict ApnEditor settings" into udc-dev am: 64c88a192a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23982512
Change-Id: Ic052e568818d4829fe40250e00679742fc816263
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 20:59:46 +00:00
Wenhui Yang
d26f18f727
Revert "Fix rotate device at face unlock detailed page, device will display"
...
This reverts commit 2ca753bd06
.
Reason for revert: Fix b/289173795
Change-Id: Ieaabe550bcbaad21a2373f3c5c103c68739d45dc
2023-07-25 20:31:36 +00:00
Treehugger Robot
5a5184ab27
Merge "Fix test in RemoteVolumeGroupControllerTest" into main
2023-07-25 15:06:57 +00:00
Iván Budnik
dd6ee00476
Fix test in RemoteVolumeGroupControllerTest
...
The failure was caused by ag/24081083.
Bug: 292920056
Bug: 192657812
Test: atest RemoteVolumeGroupControllerTest
Change-Id: Iac59b69dd49b4873a72081ae5776fc2f451bbb10
2023-07-25 13:48:12 +00:00
Bill Lin
41e2f9c1c0
Merge "Fix no vibration when enroll init stage after receive onEnrollmentHelp" into udc-qpr-dev am: c8eb80bcc2
am: f71d183d0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24175645
Change-Id: Ice5e79a72872009b5f1f90faf8bf9b02854c40d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-25 02:40:33 +00:00
Bill Lin
c8eb80bcc2
Merge "Fix no vibration when enroll init stage after receive onEnrollmentHelp" into udc-qpr-dev
2023-07-25 01:30:28 +00:00
lbill
a851e68272
Fix no vibration when enroll init stage after receive onEnrollmentHelp
...
Change the behavior of vibration when
1. Init stage, don't vibrate if onEnrollmentHelp invoke
2. Then next enroll progress update, should vibrate
Note: This onEnrollmentHelp is invoked by FINGERPRINT_ACQUIRED_PARTIAL
Test: Should vibration when the progress 1st indicating after lightly press
Test: m RunSettingsRoboTests -j30 ROBOTEST_FILTER=FingerprintEnrollEnrollingTest
Bug: 290723009
Change-Id: Ie056aac8b3251fb3da6dccd95254fb30628fa65e
2023-07-24 07:23:12 +00:00
Brandon Liu
da401305b0
Merge "Developer option for Grammatical Gender" into main
2023-07-21 23:39:26 +00:00
Vincent Wang
cd4b4f10cb
Merge "Fix enroll introduction page was not closed in background" into udc-qpr-dev am: 11b9933fea
am: 2b255a1f3a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24074845
Change-Id: I1da62994914c93695cf34feabdb527b8644b327f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-21 04:06:50 +00:00
Vincent Wang
11b9933fea
Merge "Fix enroll introduction page was not closed in background" into udc-qpr-dev
2023-07-21 03:32:32 +00:00
Angela Wang
8a373a5b14
Merge "Show connecting hearing devices in A11y hearing devices page" into udc-qpr-dev
2023-07-21 02:39:10 +00:00
Michael Mikhail
1ff1626fd5
Merge "Override the state description of volume seekbar." into udc-qpr-dev am: 4b77d876b9
am: 31f420ce9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23985544
Change-Id: I74b6b1e03877780f28779b563ea8ad088aa1233d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-20 16:55:25 +00:00
Weng Su
122668a911
Merge "Show Instant Tether network icon" into udc-qpr-dev am: 8cdbeab57c
am: 988568f64b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24122143
Change-Id: Ib363d47fc121b1f1c1c0f63f5f5d0906ae783607
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-20 16:08:02 +00:00
Michael Mikhail
4b77d876b9
Merge "Override the state description of volume seekbar." into udc-qpr-dev
2023-07-20 15:32:28 +00:00
Michael Mikhail
b222b96407
Override the state description of volume seekbar.
...
This overrides the state description of seekbar in order to adjust the
progress percentage. The percentage of seekbar is not matching with the
percentage said by talkback feature when the volume changes. This CL
rounds the percentage to match what is said by talkback.
Bug: 285458191
Test: Enabled talkback and checked percentages of sliders of all sounds
and vibrations volumes. Video attached in bug link.
Test: atest VolumeSeekBarPreferenceTest.
Change-Id: Iedcf3eccb13b7f8ee1a4ca521f0783c55d7a1902
2023-07-20 14:11:26 +00:00
Vania Januar
bbf2dc4991
Merge "USB firmware update for stylus in Stylus USI Device Details" into udc-qpr-dev
2023-07-20 13:42:55 +00:00
Treehugger Robot
facadb94c1
Merge "Remove duplicate routing logic from Settings app" into main
2023-07-20 10:06:33 +00:00
Chaohui Wang
58f0ee30fc
Remove context from dashboardFeatureProvider
...
DashboardFeatureProviderImpl is created by using application context,
no need pass context in when get.
Bug: 286764889
Test: m Settings
Change-Id: Ia9672dfd9d3d71f64735cbc5979a6ad57c9429d3
2023-07-20 12:21:16 +08:00
Edgar Wang
ab75ea8099
Restrict toggle/slider slice when the preference restricted
...
Bug: 289980550
Test: robotest & manual
Change-Id: Id87fbf12a2722344dd07886e810e7c61a9f401aa
2023-07-20 03:36:35 +00:00
Brandon Liu
28800ec247
Developer option for Grammatical Gender
...
Bug: b/272626712
Test: Added and verified affected atests pass
Change-Id: Ie07f80d608b78dfce3309533ac02d9a907e5e7b4
2023-07-19 17:29:50 +00:00
Weng Su
8cdbeab57c
Merge "Show Instant Tether network icon" into udc-qpr-dev
2023-07-19 17:18:40 +00:00
Vania Januar
982a13a6e8
Merge "Do not show a summary in Tail button preferences if no app found" into udc-qpr-dev am: 82c36c5cb5
am: 53988c6fe7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/23876589
Change-Id: I1cdf019d8dd73e233e647670af4c6d8d48bf9851
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-19 16:13:53 +00:00
Iván Budnik
f9fc86593c
Remove duplicate routing logic from Settings app
...
Also, remove unused MediaRouter2Manager references.
This is a non-functional change.
Bug: 192657812
Test: Presubmit
Change-Id: I72f5f40e157cea922ad40a2602fba881572fb708
2023-07-19 15:58:39 +00:00
Vania Januar
82c36c5cb5
Merge "Do not show a summary in Tail button preferences if no app found" into udc-qpr-dev
2023-07-19 14:57:54 +00:00
Weng Su
c32f5cf3dc
Show Instant Tether network icon
...
- Show hotspot device type icons without signal strength (no Wi-Fi level)
Bug: 268550769
Bug: 290805980
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiEntryPreferenceTest
Change-Id: Iaab5f05f4d2db2d0603825d38c05a840c15484b5
2023-07-19 16:28:57 +08:00