Lauren Winston
89be5b0d46
Merge "Add a cursor preference to Accessibility Settings"
2022-08-11 15:37:16 +00:00
TreeHugger Robot
4ff741a059
Merge "Wi-Fi panel doesn't need to check permission"
2022-08-11 12:21:01 +00:00
Tsung-Mao Fang
e1f72b7f3c
Wi-Fi panel doesn't need to check permission
...
Prior to this cl, we use #getPackagesForUid()
to get a list of calling package names and
pick up 1st package name in the list as target
calling package. And then go to check the
Wi-Fi permission.
This implementation is ok for most apps without
sharing system uid. However, this may not work
if the caller is set as sharing system ui.
In this case, we get a list of packages
and we don't know which one is caller. So, if we
decide to choose the 1st package of list as our
calling package, then it could fail to pass
permission check since that package could not
a calling package.
In this cl, we skip permission check for those
packages running with system uid. So, it can resolve
this Wi-Fi Panel problem since Wi-Fi panel running
on settings process and also promise the security
issue at the same time.
Test: 1. adb shell am start -a android.settings.panel.action.WIFI
2. Verify on assistant app and system ui launcher and search app.
Bug: 240531998
Change-Id: Ia825853dde2e966e3d390cecfbe1a99f6439d31e
2022-08-11 16:07:42 +08:00
Lauren Winston
205018a854
Add a cursor preference to Accessibility Settings
...
Bug: 240194047
Test: atest SoftwareCursorPreferencesControllerTest and
SoftwareCursorTogglerPreferenceControllerTest
Change-Id: I97e226d8d8c0bcdfd0e2612e86b81987480063d1
2022-08-11 04:00:16 +00:00
Jason Hsu
0c35e164ec
Merge "Add pair button in bluetooth details page for hearing aid device"
2022-08-10 10:42:35 +00:00
Zaiyue Xue
284e049cc1
Switch Battery Usage Chart from V1 to V2.
...
Test: manual
Bug: 236101166
Change-Id: I9142c0d4e00dea3771777ba9aedeab07b635fa1a
2022-08-10 13:55:54 +08:00
jasonwshsu
b07754d178
Add pair button in bluetooth details page for hearing aid device
...
Root Cause: Users can not connect another ear again after they cancel
the pairing dialog in Accessibility -> hearing aids entry
Solution: Add pair button in bluetooth details page for hearing aid
device
Bug: 233038449
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=BluetoothDetailsPairOtherControllerTest
Change-Id: I6a7af1c2c2263476b040233edb072cc64a2927b0
2022-08-09 18:06:27 +08:00
Zaiyue Xue
b9bf92f5ae
Add margin between battery daily and hourly charts
...
screenshot: https://drive.google.com/file/d/1vXL4XO9HezZ4fTJ5wh6Fi13oXf54yc9q/view?usp=sharing&resourcekey=0--k4_Qk4e9ELyENeAySlYFw
Bug: 236101166
Test: manual
Change-Id: Ib4f5705661d2799cc74f6a957ce715ebb93b28b8
2022-08-08 17:44:39 +08:00
Thomas Nguyen
874e9def60
Merge "Provide useful hint when invalid SIM PIN is entered during changing SIM PIN"
2022-08-05 20:08:13 +00:00
TreeHugger Robot
52ac9bea7e
Merge "Updates battery usage messages from last 24hr to last full charge. (Part2: non-V2 files)"
2022-08-05 18:34:48 +00:00
Zaiyue Xue
693711469d
Updates battery usage messages from last 24hr to last full charge. (Part2: non-V2 files)
...
Test: manual
Bug: 236101166
Change-Id: Id5ad3e859a01d3288a950bf6288eafc6144a23d6
2022-08-05 10:52:38 +08:00
Thomas Nguyen
a2b0146d07
Provide useful hint when invalid SIM PIN is entered during changing SIM PIN
...
Bug: 241441049
Test: Manually tested with Pixel 6 Pro
Change-Id: Ie7239ad397dfeacd59f1483953392ee7935cfd07
2022-08-04 18:58:42 +00:00
Xinyi Zhou
0e69d78c6f
Merge "Revert "Delete Fast Pair Settings""
2022-08-04 18:01:37 +00:00
Chaohui Wang
f9d10b6610
Merge "Clean up unused Fingerprint Settings strings"
2022-08-04 15:30:48 +00:00
TreeHugger Robot
bc52343473
Merge "Updates battery usage messages from last 24hr to last full charge. (Part1: V2 files)"
2022-08-04 09:45:50 +00:00
Zaiyue Xue
49e67c9f33
Updates battery usage messages from last 24hr to last full charge. (Part1: V2 files)
...
Test: manual
Bug: 236101166
Change-Id: I0aa9a1a4c902764bb9937e422e5e7f60b6e86859
2022-08-04 14:59:58 +08:00
Xinyi Zhou
6db89c73d6
Revert "Delete Fast Pair Settings"
...
This reverts commit 3438e20da1 .
Reason for revert: Fast Pair Project is resumed
Test: loaded on device
Change-Id: I54f68794be9c527c5c873e301aada51bcdb6e298
2022-08-03 22:07:07 -07:00
Tiffany Nguyen
0e37ac8d7a
Merge "Add Apps > Battery optimization page implementation."
2022-08-03 15:02:11 +00:00
Menghan Li
6fd05aa80a
Merge "Unify the caption preference class naming"
2022-08-02 22:15:31 +00:00
Tiffany Nguyen
5ecb1a1d69
Add Apps > Battery optimization page implementation.
...
Moving the old restricted page to the new optimization page will happen
in a follow-up CL.
Test: Unit, manual
Bug: 238026672
Change-Id: I5fee9ebe03284a013da6bfca9ada8b166c6af91c
2022-08-02 18:43:53 +00:00
Jason Chang
72a1fed542
Merge "Fix RTL issue on fingerprint setup screens in landscape mode" into tm-qpr-dev am: 7546b87a17 am: 0e7374b7ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19337646
Change-Id: I822db7f74147805a6cd51cf236d2acf1279df023
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-02 08:44:09 +00:00
Jason Chang
0e7374b7ef
Merge "Fix RTL issue on fingerprint setup screens in landscape mode" into tm-qpr-dev am: 7546b87a17
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19337646
Change-Id: Icd787eea9cc845e7ce7a2a102fce09c8e6491fd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-02 08:17:53 +00:00
menghanli
e57125650d
Unify the caption preference class naming
...
Bug: 197695932
Test: make RunSettingsRoboTests
Change-Id: Ice244442ad21e6d9f006d488992e9f58cf5c8fb0
2022-08-02 10:25:15 +08:00
Jason Chang
88c49e3257
Fix RTL issue on fingerprint setup screens in landscape mode
...
1. Add an RTL layout dimension for enrolling page.
2. Handling device rotation landscape 270/90 degrees with
layout dimension in LTR or RTL language.
Bug: 237104754
Test: manually verified on Settings > Security > Face & Fingerprint
Unlock > Fingerprint Unlock > Touch & Hold fingerprint sensor page
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.biometrics.fingerprint
.FingerprintEnrollEnrollingTest"
Change-Id: If4770d885d97c6bf4cfebefdf9cfa0b4ee0b995b
2022-08-01 19:02:50 +08:00
Sayak Dutta
9e6c889abe
Merge "Revamp SD card UX"
2022-07-30 13:04:25 +00:00
Bonian Chen
db4a6cf215
resolve merge conflicts of 81d1cd0871 to stage-aosp-master am: 4ec8323bad am: 244f21d9d7 am: 8097546f46 am: 1e744b4e66
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19465627
Change-Id: I056de36c838732748f0cf445075ae87f4269a2e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-29 11:09:22 +00:00
Bonian Chen
1e744b4e66
resolve merge conflicts of 81d1cd0871 to stage-aosp-master am: 4ec8323bad am: 244f21d9d7 am: 8097546f46
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19465627
Change-Id: I0ed7b6a1178d1827079723b7d3283cbb91981b2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-29 10:43:54 +00:00
Bonian Chen
8097546f46
resolve merge conflicts of 81d1cd0871 to stage-aosp-master am: 4ec8323bad am: 244f21d9d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19465627
Change-Id: Ifabb14e5aadcbaf55095c5fccea5adabc0da5b40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-29 10:27:37 +00:00
sayakiitg
9b432d54a6
Revamp SD card UX
...
Improve the SD card setup flow so that each formatting option is provided in a separate screen with clear description and illustration.Also make sure that guest users do not have any access to formatting options.
Test: Manual testing on Pixel Device
Screenshot1: https://screenshot.googleplex.com/WJwyxFkBtbSfZmN.png
Screenshot2: https://screenshot.googleplex.com/3oBcrrgRsKTxNPC.png
Bug: 201252175
Change-Id: I77df55c40fd99cabcfc6128084be035bb5b19531
Change-Id: I757abc6076fcc8f467d8faed9f090bcdd5774ff3
2022-07-29 10:21:49 +00:00
Bonian Chen
4ec8323bad
resolve merge conflicts of 81d1cd0871 to stage-aosp-master
...
Test: Build pass this conflict resolution.
Bug: None
Change-Id: Iaacaeaa579025deee52b29b4b1245fc7c0fa0346
2022-07-29 07:34:35 +00:00
Chaohui Wang
5d4488e7f4
Clean up unused string resources
...
Bug: 234570979
Test: make Settings app
Change-Id: Ic0166c5dd45fb28f5d53920ed7b5e69384fa1e82
2022-07-28 15:05:02 +08:00
Simon Wingrove
59183b0e32
Merge "Bool to note Pending Intent bug fixed" into tm-qpr-dev am: 5d68dd58aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19321786
Change-Id: I6c0058301c05a0faf123216c6df558bcacf388a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-27 20:40:46 +00:00
Simon Wingrove
5d68dd58aa
Merge "Bool to note Pending Intent bug fixed" into tm-qpr-dev
2022-07-27 20:19:42 +00:00
Tsung-Mao Fang
994d27d9df
Set an action name for wallpaer index am: 0f7b80f47f am: b0f9134441 am: fefafaabf1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19394202
Change-Id: I9543c8cc2c92ddfcfae4554d081f1b16a0e53479
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-27 03:43:45 +00:00
Tsung-Mao Fang
fefafaabf1
Set an action name for wallpaer index am: 0f7b80f47f am: b0f9134441
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19394202
Change-Id: Idfbf2786117d7e264b1da6f1101da99db23b76c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-27 03:22:00 +00:00
Tsung-Mao Fang
68fa74625c
Set an action name for wallpaer index am: 0f7b80f47f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19394202
Change-Id: Id464e7cb46590b003ecb2fab9d73b69fc14fda9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-27 03:02:38 +00:00
Tsung-Mao Fang
b0f9134441
Set an action name for wallpaer index am: 0f7b80f47f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19394202
Change-Id: Ibcfaa3afcbe2fde0a00c717883c3007bdecb0ac9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-27 03:02:35 +00:00
Chaohui Wang
8589b41994
Clean up unused bluetooth resources
...
Bug: 234570979
Test: make Settings app
Change-Id: I23d5a3dc27fe5df5ba45b8593c9f2ad3d7c25cbc
2022-07-26 12:53:24 +08:00
Tsung-Mao Fang
0f7b80f47f
Set an action name for wallpaer index
...
Since Android T+, app has to assign an action name for opening a
external app page.
Test: Manual test wallpaper search result and can open.
Fix: 239867167
Change-Id: I4579aaf6e831ff82721c958e6b91ede4cabda2c8
2022-07-26 02:36:13 +00:00
LuK1337
988a76f5bb
Settings: Make NetworkScanHelper max search time customizable
...
Default max search time (300) fails on some devices.
Test: Network scan works on OnePlus 9 after overlaying
max network scan search time to 254.
Change-Id: Ia0038fac6d2000748e0aa08fd6a53f11876728d7
2022-07-25 17:44:40 -07:00
Peter Zhang
9b502ca1d2
Merge "Improve the UI of Press & hold power button settings" into tm-qpr-dev am: 1cc741a745 am: 179c4dd48a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19291450
Change-Id: I970ace8e8cee5aa3e23693d2a3985999f8f10b8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-25 17:50:30 +00:00
Peter Zhang
179c4dd48a
Merge "Improve the UI of Press & hold power button settings" into tm-qpr-dev am: 1cc741a745
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19291450
Change-Id: I7f3ea617800c37f49d8534131728875c0cd1d243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-25 17:33:08 +00:00
Peter Zhang
1cc741a745
Merge "Improve the UI of Press & hold power button settings" into tm-qpr-dev
2022-07-25 17:18:25 +00:00
Peter Zhang
f0013da134
Improve the UI of Press & hold power button settings
...
The following changes has been made:
- The on/off toggle for Assistant now becomes two radio selectors ("Power Menu" and "Digital Assistant"). This is to make things clearer that Press & hold power button can be configured to power menu.
- The corresponding power menu animation will be shown when "Power Menu" is selected.
- The Assistant specific sensitivity settings and the foot notes are hidden when "Power Menu" is selected.
- Some minor wording updates according to the requests from Assistant / Settings UXW.
Bug: 229722937
Test: robotest, manual
Change-Id: Ib356fba861ad8c4a2626a0e0bd8cf3e4d90ce9a6
2022-07-22 16:07:52 +02:00
Simon Wingrove
f952e89d4b
Bool to note Pending Intent bug fixed
...
A workaround can be used to cover for the fact that PendingIntents sent
by Settings might differ only by Intent extras (and thus be wrong). This
bool notes that the issue is fixed so the workaround code can be
dropped.
Bug: 238605613
Test: manually
Merged-In: I478dd5fbd53d1dafd049e392a186d9796dd179cb
Change-Id: Ife355166df080ce7371a95b5cea28575227153f0
2022-07-21 11:01:15 +00:00
Simon Wingrove
da96b47ce8
Bool to note Pending Intent bug fixed
...
A workaround can be used to cover for the fact that PendingIntents sent
by Settings might differ only by Intent extras (and thus be wrong). This
bool notes that the issue is fixed so the workaround code can be
dropped.
Bug: 238605613
Test: manually
Change-Id: I478dd5fbd53d1dafd049e392a186d9796dd179cb
2022-07-21 10:27:30 +00:00
Grace Cheng
16aacff410
Merge "Add missing description to SUW set pattern lock UI" into tm-qpr-dev am: 66625c9c7b am: 5aff3d9de6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19303032
Change-Id: Ib913526c5340f4cce6f4d670433c947edd704980
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 20:30:19 +00:00
Julia Reynolds
c961d97a2e
Update strings am: 21744cf2d1 am: bfe54c8ad0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19325246
Change-Id: Id84be5f2811095f9f7fd982f9653630e403cacd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 20:09:12 +00:00
Grace Cheng
5aff3d9de6
Merge "Add missing description to SUW set pattern lock UI" into tm-qpr-dev am: 66625c9c7b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19303032
Change-Id: Iaaef33597b7a6c79deb5154bc9b7841af8f5e48f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-07-19 19:42:56 +00:00
Grace Cheng
66625c9c7b
Merge "Add missing description to SUW set pattern lock UI" into tm-qpr-dev
2022-07-19 19:31:06 +00:00