Commit Graph

111630 Commits

Author SHA1 Message Date
TreeHugger Robot
da8b6c7cbb Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-01-24 03:48:22 +00:00
TreeHugger Robot
8d0365e100 Merge "Enforce INTERACT_ACROSS_USERS_FULL permission for NotificationAccessDetails" into tm-qpr-dev am: 2b80fa789a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21073703

Change-Id: I440fce8ab4e8bd3dbeac0fe410286bb196c39f7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 17:17:03 +00:00
TreeHugger Robot
2b80fa789a Merge "Enforce INTERACT_ACROSS_USERS_FULL permission for NotificationAccessDetails" into tm-qpr-dev 2023-01-23 17:05:28 +00:00
Valentin Iftime
99b8b4cd60 Enforce INTERACT_ACROSS_USERS_FULL permission for NotificationAccessDetails
When using EXTRA_USER_HANDLE, check for INTERACT_ACROSS_USERS_FULL permission on calling package.

Bug: 259385017
Test:
 1. Build a test app that creates and starts an intent to NOTIFICATION_LISTENER_DETAIL_SETTINGS while setting the intent extra  "android.intent.extra.user_handle" to UserHandle(secondaryUserId).
 2. Create and switch to a secondary user
Settings > System > Multiple users > Allow multiple users > Add user > Switch to New user
 3. Open Settings > Notifications > Device & app notifications and choose an app from the list (uses android.permission.BIND_NOTIFICATION_LISTENER_SERVICE). Enable Device & app notifications for selected app and disable all attributed permissions.
 4. Switch back to the Owner user.
 5. Get the userId of the secondary user: adb shell pm list users.
 6. Open the test app and enter the userId for the secondary user and the component name that uses android.permission.BIND_NOTIFICATION_LISTENER_SERVICE.
 8. In the settings window that open, enable all 4 sub-options.
 9. Switch to the secondary user and note that the all sub-options for the app are disabled.

Change-Id: I875b9f2fc32c252acdcf8374a14067836e0f1ac6
2023-01-23 16:57:21 +00:00
Rubin Xu
ec8ad87f62 Merge "For top layout use FrameLayout than GlifLayout" into tm-qpr-dev am: 8f839acd71
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20979439

Change-Id: I61f851961501fb97fb63a804e157f370ad05726b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 16:57:15 +00:00
Rubin Xu
8f839acd71 Merge "For top layout use FrameLayout than GlifLayout" into tm-qpr-dev 2023-01-23 16:25:15 +00:00
Bill Yi
1b50b32ff1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib737e1fae6923c8ae2be1c92510a8cc12e889e72
2023-01-23 07:00:28 -08:00
Bill Yi
fe2b12b076 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic8aaea743c53e00ee7bfb2f3fa6b402fb3ea3cde
2023-01-23 06:54:45 -08:00
Mariia Sandrikova
4dbe956a4d Remove "nosensor" restriction from FallbackHome am: 436ede94c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21070223

Change-Id: I018aeb1c8a757b7858661b050ff0f7c403e9c9cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 14:40:34 +00:00
Mariia Sandrikova
436ede94c3 Remove "nosensor" restriction from FallbackHome
This was previously added in I875fa6d112db23273026dbc39b5d32748d7e99f1 to match boot animation orientation. But the first system orientation after boot is no longer influenced by FallbackHome and instead is influenced by the default rotation in DisplayRotation#readDefaultDisplayRotation so it should be safe to remove this restriction.

On the other side, if we keep this restriction it can lead to orientation flickering on devices that have ignoreOrientationRequest enabled since "nosensor" is respected on them unlike other orientations so it's possible that FallbackHome and launcher orientations won't match.

Fix: 264329911
Test: manual
Change-Id: I688a4ba3d81c1fe908b9f88c3d601aaccc4f2119
2023-01-22 17:02:10 +00:00
Steve Elliott
2891e33edb Merge "Setting to control seen notification filtering" into tm-qpr-dev am: c8a6db40ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21022067

Change-Id: Ibb65634f4c0f6b45dc8a769d4a45c363c4c63522
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 23:35:41 +00:00
Daniel Norman
383c10fe93 RESTRICT AUTOMERGE Updates Accessibilty Settings resources for sw600dp.
Includes some .java updates to automatically convert colors for lottie
animation files.

Fix: 261547883
Fix: 243905003
Fix: 243889447
Fix: 261544574
Test: launch cf_x86_64_tablet, open Settings > Accessibility
Test: Open "Color & motion" > "Color inversion"
Test: Open "Timing controls" > "Time to take action"
Test: Open "Caption preferences"
Test: Open "Magnification" > "Magnification shortcut"
Test: Open "Accessibility shortcuts" >
      "Accessibility button and gesture", change options
Test: Perform the above with both light and dark mode.
Change-Id: I46b75b53feb8870d3154744e058eb898e6011725
2023-01-20 23:32:20 +00:00
Steve Elliott
c8a6db40ac Merge "Setting to control seen notification filtering" into tm-qpr-dev 2023-01-20 23:22:56 +00:00
Sally Yuen
2042f150af Merge "Add extra dim banner for tablets" into tm-qpr-dev am: cc377605ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20993963

Change-Id: I342811135a8d93a991f4aafda19d1f9365c0995a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 18:20:02 +00:00
Sally Yuen
cc377605ef Merge "Add extra dim banner for tablets" into tm-qpr-dev 2023-01-20 17:20:56 +00:00
TreeHugger Robot
a8734588a4 [automerger skipped] Merge "[DO NOT MERGE] Add SHA team into Settings OWNER" into tm-qpr-dev am: cd68d8f7a3 -s ours
am skip reason: Merged-In I63122f5b2809224e7f8ff36adc31c1f1595de24d with SHA-1 e23a4e09db is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21052004

Change-Id: I6e20e2cb19345ffe5e17e16095ccde7703fa4fa9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 14:05:07 +00:00
Yanting Yang
ff914cd6f6 [automerger skipped] [DO NOT MERGE] Add SHA team into Settings OWNER am: dcc30118bf -s ours
am skip reason: Merged-In I63122f5b2809224e7f8ff36adc31c1f1595de24d with SHA-1 e23a4e09db is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21052004

Change-Id: I2fb5bb8efac723292226b969ad8f3730c9994b72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 14:04:15 +00:00
TreeHugger Robot
cd68d8f7a3 Merge "[DO NOT MERGE] Add SHA team into Settings OWNER" into tm-qpr-dev 2023-01-20 13:13:28 +00:00
Piotr Wilczyński
059ddcbcb4 Merge "Set display size to all displays" into tm-qpr-dev am: 0066afbe15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20664686

Change-Id: Ib3d9210dab71e6aa600bfa9f6f9ec5b68ab68dbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 10:11:00 +00:00
Piotr Wilczyński
0066afbe15 Merge "Set display size to all displays" into tm-qpr-dev 2023-01-20 09:39:50 +00:00
Yanting Yang
dcc30118bf [DO NOT MERGE] Add SHA team into Settings OWNER
Test: N/A
Change-Id: Ia534e08013b568044391c9cb86a0a68cb620538e
Merged-In: I9ab91f21558513b85847d9c513e7d50f9486c6ea
Merged-In: I63122f5b2809224e7f8ff36adc31c1f1595de24d
2023-01-20 16:44:42 +08:00
Treehugger Robot
e23a4e09db Merge "Update OWNER list" am: f846e5cf0e am: 3e1e67aa9c
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2396592

Change-Id: I63122f5b2809224e7f8ff36adc31c1f1595de24d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 08:07:47 +00:00
Treehugger Robot
3e1e67aa9c Merge "Update OWNER list" am: f846e5cf0e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2396592

Change-Id: I2d2cc997c8a01a42d4147029fe71e706a05b3daf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 07:35:43 +00:00
Treehugger Robot
f846e5cf0e Merge "Update OWNER list" 2023-01-20 06:53:33 +00:00
Yanting Yang
5c959d8610 Update OWNER list
Test: N/A
Change-Id: Ibb67601aa44b690fd4ac3016329277f8cb89be64
Merged-In: I9ab91f21558513b85847d9c513e7d50f9486c6ea
2023-01-20 05:06:37 +00:00
Steve Elliott
f127bc13b0 Setting to control seen notification filtering
Test: manual
  1. adb shell settings put secure \
     lock_screen_show_only_unseen_notifications <0|1>
  2. Settings > Notifications > General > Show only new notifications on
     lock screen
  3. Toggle setting
  Observe: if setting is enabled, seen notifications are filtered from
           the lockscreen, and vice versa
Bug: 254647461
Change-Id: I4f6e35a1d918095cea25a97f72ddd08869ad9b31
2023-01-19 22:22:30 +00:00
Daniel Norman
f86a0718b0 Fixes resource file exemption.
The previous version missed out on other file types (JSON motion files, mp4, etc.)

Change-Id: I2d1846ff1ab2461fe0c3716b02d1a323cb8af85b
2023-01-19 19:37:01 +00:00
Bonian Chen
b079eb6287 Merge "[Settings] Reduce CDMA API access when not required" into tm-qpr-dev am: 147669c893
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20893163

Change-Id: Iac1f7f8b5de6d6a50591170637c62f379fa6c1da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-19 03:55:55 +00:00
Grace Cheng
392d971067 Merge "Prevents retrying fingerprint after lockout reset if user exits FingerprintSettings" into tm-qpr-dev am: 5c10188254
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21038428

Change-Id: Ie39ae67775c24103c904efccdc80423d6a479f18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-19 03:55:18 +00:00
Bonian Chen
147669c893 Merge "[Settings] Reduce CDMA API access when not required" into tm-qpr-dev 2023-01-19 03:21:27 +00:00
Grace Cheng
5c10188254 Merge "Prevents retrying fingerprint after lockout reset if user exits FingerprintSettings" into tm-qpr-dev 2023-01-19 02:54:26 +00:00
Grace Cheng
83fce8a0aa Prevents retrying fingerprint after lockout reset if user exits FingerprintSettings
Fingerprint auth is active on the enrolled fingerprints page to indicate
to users which fingers are enrolled. Tapping 5x with unenrolled finger
on this page sends FINGERPRINT_ERROR_LOCKOUT, which posts a
mFingerprintLockoutReset runnable to retry fingerprint auth after
LOCKOUT_DURATION. If a user turns off their device and unlocks via
pin/pattern/password, this resets lockout, triggering the runnable and
causing fingerprint auth to be retried upon device entry. This change
prevents this by removing the runnable callback in
FingerprintSettingsFragment#onPause.

Test: Navigate to enrolled fingerprints page (Settings > Security > Face & Fingerprint Unlock > Fingerprint Unlock). Tap 5x with unenrolled finger, then turn off screen and unlock via pin/pattern/password. Ensure indicator does not appear upon device entry.
Fixes: 261366312
Change-Id: I4190669286461e9ce884685a9929313da953476d
2023-01-19 01:00:16 +00:00
Diya Bera
3539c9e793 Merge "No scrolling required to see find sensor animation" into tm-qpr-dev am: 8d6aade6d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21010898

Change-Id: I91f462e490708b57efdd7b20ba982aa18d3301e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 21:47:34 +00:00
Diya Bera
8d6aade6d9 Merge "No scrolling required to see find sensor animation" into tm-qpr-dev 2023-01-18 21:13:18 +00:00
sallyyuen
b87b93890f Add extra dim banner for tablets
Test: manual with dark theme turned on and off
Bug: 243902068
Change-Id: Ic88b50ed782560f1cabbcbe10508d936bbf65afe
2023-01-18 19:05:17 +00:00
Diya Bera
c2a429f4f8 No scrolling required to see find sensor animation
Changed the string security_settings_sfps_enroll_find_sensor_message.
Changed the layout of the animation.

Test: Manually check the position of the animation
Fixes: 265023019
Change-Id: Iae3100009e4430fbff7abc4bc3c1d4b9ffca6638
Merged-In: Iae3100009e4430fbff7abc4bc3c1d4b9ffca6638
2023-01-18 17:07:49 +00:00
TreeHugger Robot
272d523225 Merge "[Settings] Do not show SIM if not supported" into tm-qpr-dev am: ff959fb614
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21006130

Change-Id: Ic184c70a7c4ad9db0533f3666a6ca5db207dcff9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 12:35:37 +00:00
TreeHugger Robot
ff959fb614 Merge "[Settings] Do not show SIM if not supported" into tm-qpr-dev 2023-01-18 11:40:44 +00:00
Jason Chiu
8fddd7a618 Merge "Update the About device icon for tablet" into tm-qpr-dev am: ce290bda47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21017564

Change-Id: I63b62748e93155d085f75a908a06a649da1854a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 07:39:48 +00:00
Zoey Chen
bc561ec2dc [Settings] Do not show SIM if not supported
Bug: 264510592
Test: manual
Change-Id: Iaf250175361d86837a62330391c4b529639c3d9d
2023-01-18 07:06:28 +00:00
Jason Chiu
ce290bda47 Merge "Update the About device icon for tablet" into tm-qpr-dev 2023-01-18 06:40:49 +00:00
Joshua Mccloskey
7882fe06c4 Merge "Set default value for performant auth." into tm-qpr-dev am: ead95a4205
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20986428

Change-Id: I27ded7770eb6804e8619b37b8c28b71624a9b2f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 03:20:50 +00:00
Joshua Mccloskey
ead95a4205 Merge "Set default value for performant auth." into tm-qpr-dev 2023-01-18 03:09:58 +00:00
Bill Yi
d0f59453d8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 127306a6a7 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21005863

Change-Id: I42abb744d4560b2c6865cb07162f6c847eb2e407
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 22:36:07 +00:00
Bill Yi
dc55fe3918 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9079430596 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21005863

Change-Id: I7000ea8758566f2584099cf0b7cb9c00c191b716
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 22:35:51 +00:00
Bill Yi
127306a6a7 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2023-01-17 21:47:45 +00:00
Julia Reynolds
b33e126865 Make strings generic for multiple form factors am: 7a77d31771
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21022064

Change-Id: If98d3636ed7bebe10ddfae68f958fdd381710e41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 21:31:28 +00:00
Joshua Mccloskey
6f9ddeb66f Merge "Fixed additional lottie flicker in fp settings." into tm-qpr-dev am: 0dd635f28f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20950039

Change-Id: Ia48a9d9e4214f18ac8e053e1137603bc84807f85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-17 20:01:36 +00:00
Julia Reynolds
7a77d31771 Make strings generic for multiple form factors
Test: view string in Settings
Fixes: 244123498
Change-Id: I8cf4eebf1400dd9faecb1a96023c6f48bd4157ed
2023-01-17 19:38:43 +00:00
Joshua Mccloskey
0dd635f28f Merge "Fixed additional lottie flicker in fp settings." into tm-qpr-dev 2023-01-17 19:35:31 +00:00