Commit Graph

142307 Commits

Author SHA1 Message Date
Bill Yi
6a8dff19ac Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic7a3ed2076e279e5b23f5f069a95381ca70e0ccb
2024-07-22 21:14:33 -07:00
Diya Bera
9bae71c15c Add mandatory biometric prompt to platform surfaces (3/N)
Pass user ids for identity check. This is to make sure that the right
user is requested auth for different profiles.

Flag: android.hardware.biometrics.Flags.MANDATORY_BIOMETRICS
Bug: 339910718
Test: atest UtilsTest
Change-Id: I953b56e9bfd1edd49d080124905d42a23247b7a7
2024-07-23 04:07:08 +00:00
Chelsea Hao
7a01fb2679 Merge changes Ibb68252c,Ide20e07f,I5d2e2c70 into main
* changes:
  Add accessibility label for "QR code" scanner. Also added landscape mode.
  Add accessibility label for "QR code" image. Also added landscape mode.
  Add accessibility label for "QR code" button in Audio sharing page.
2024-07-23 02:52:11 +00:00
Treehugger Robot
6aac1cba28 Merge "Clean up BT stack log level preference controller and tests" into main 2024-07-23 02:45:25 +00:00
Haijie Hong
8b2d520221 Merge "Update color of ring battery indicator" into main 2024-07-23 02:29:35 +00:00
Ram Peri
34152fae41 Merge "Robolectric upgrade" into main am: 71b2be5571 am: 119d1e9f43
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3185301

Change-Id: Ide8c2fe010260f3ae172c0b2537d6d879212b333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 01:25:50 +00:00
Ram Peri
119d1e9f43 Merge "Robolectric upgrade" into main am: 71b2be5571
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3185301

Change-Id: I9469f534e375c589f0a7dbac20f185f61ae69295
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 01:08:54 +00:00
Pajace Chen
7ec1355922 Merge "[BugFix] Fix the incorrect state for dockdefend on battery settings page" into main 2024-07-23 00:37:13 +00:00
Ram Peri
71b2be5571 Merge "Robolectric upgrade" into main 2024-07-23 00:28:56 +00:00
Isaac Chai
8b1135e1c9 Merge "feat(color correction): Disable slider when not applicable" into main 2024-07-22 22:43:39 +00:00
Daniel Norman
20d2eabe35 Checks that prebundled categories contain only preinstalled contents.
Bug: 353888087
Test: atest AccessibilitySettingsTest
Test: manually check all prebundled services are still in their proper
      groups, even after installing an APK update
Flag: com.android.settings.accessibility.check_prebundled_is_preinstalled
Change-Id: I023db9c37d7990deb50c9eec516619f0a8db65b7
2024-07-22 21:42:59 +00:00
Isaac Chai
581fbc8dfa feat(color correction): Disable slider when not applicable
We received feedback that slider should be disabled when it's not
applicable, namely when it's off and when mode == gray scale.

Bug: 351920992
Test: Locally tested + unit tests
Flag: com.android.server.accessibility.enable_color_correction_saturation

Change-Id: I1162a501a797a1d2b30da76f0c75e5fdea3f61d2
2024-07-22 21:09:54 +00:00
Treehugger Robot
0dcf3ff102 Merge "[Dev options] Conditionally show Freeform toggle: Only display when freeform is NOT available by default on the device." into main 2024-07-22 20:34:19 +00:00
Joshua Mccloskey
9d47208270 Merge "Fix settings crash for non-fingerpirnt devices" into main 2024-07-22 19:57:02 +00:00
Joshua McCloskey
cfb087632c Fix settings crash for non-fingerpirnt devices
Test: Verified that Settings does not crash on non-fingerprint devices
Flag: EXEMPT bugfix
Fixes: b/350635316
Change-Id: Ia6be6672cf8f8d84b2503fdb305a0217224a864d
2024-07-22 18:32:33 +00:00
Alina Zaidi
9609216cb5 [Dev options] Conditionally show Freeform toggle: Only display when freeform is NOT available by default on the device.
Previously Freeform Toggle was a no-op when freeform was by default available on devices

On the other hand Desktop mode toggle is displayed only when freeform IS available by default on the device. (This is because desktop mode support is tied to devices with default freeform capability.)

Also update toggle strings for a clearer user experience

Test: Updated tests
Bug: 348193756
Bug: 348186127
Flag: com.android.window.flags.show_desktop_windowing_dev_option
Change-Id: I29e36a939db78010bb3153e756f95bb6c21a31f9
2024-07-22 18:11:14 +00:00
Ram Peri
f5b58ea3be Robolectric upgrade
Test: atest SystemUIGoogleRoboRNGTests
Flag: TEST_ONLY
Change-Id: I833ac67223875480994f947907754290bb25c946
2024-07-22 13:48:09 -04:00
Joshua Mccloskey
51bb0fe4e4 Merge "Added new fingerprint metric categories." into main 2024-07-22 17:35:20 +00:00
Joshua Mccloskey
bc726eda18 Merge "Refresh templates when fp removal fails" into main 2024-07-22 17:33:15 +00:00
Joshua McCloskey
f624d6adf7 Refresh templates when fp removal fails
Test: atest
Fixes: 339556796
Flag: EXEMPT bugfix
Change-Id: I369e37f170a57bc9ced98f9728d06f2072c01263
2024-07-22 17:33:03 +00:00
Joshua Mccloskey
ac8ba2ae08 Merge "Show disabled summary for CDC" into main 2024-07-22 17:27:02 +00:00
Matías Hernández
6e9555e604 Merge changes Iceadf4a1,If2b6b06b into main
* changes:
  Final (?) touches to people/apps/sound circles
  Show icons for allowed contacts
2024-07-22 17:27:01 +00:00
Oleg Blinnikov
df9b9abd4d External display page is not searchable
Page was moved to connnected devices
from connected devices->connection pref.
This makes the page non-searchable,
therefore must be dropped from
the search index.

Change-Id: I437b1310bedc5943041eb0baa73b2e3152eb9ebd
Bug: 294015706
Test: manual
Flag: EXEMPT bugfix
2024-07-22 15:35:47 +00:00
Matías Hernández
44c7272733 Final (?) touches to people/apps/sound circles
* Support comparing icon sets with a custom equivalence (needed because AppEntry doesn't implement equals(), and somewhat tricky because CircularIconPreference itself is not generic).
* Use final icons for allowed sounds.
* Use final appearance for +n icon.

Test: atest com.android.settings.notification.modes
Bug: 346551087
Flag: android.app.modes_ui
Change-Id: Iceadf4a182e607111afb72ff36bca872a62ae040
2024-07-22 17:06:38 +02:00
Jyotiraditya Panda
4ff23211dd Migrate to onViewCreated in DataSaverSummary
The onActivityCreated method has been deprecated. This change updates
DataSaverSummary to use onViewCreated instead, which is the recommended
method for initializing views after the fragment's view has been created.

Test: manual
Change-Id: I08daa11b557b05441fa4f7ed0019802d991846e3
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2024-07-22 20:18:08 +05:30
Treehugger Robot
3177febb4f Merge "Add null check before PackageManager operations" into main 2024-07-22 14:46:47 +00:00
Dipankar Bhardwaj
64e01615cb Add null check before PackageManager operations
Change-Id: I401fa2585975848e4b7301ccbadd8386b8ca17b9
Test: n/a
Bug: 353206855
Flag: EXEMPT minor NPE fix
2024-07-22 13:41:59 +00:00
Haijie Hong
11865236b0 Update color of ring battery indicator
Test: verify the color locally
Bug: 343317785
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I96b7775dfca51c4304b413a9a56a6489d735f748
2024-07-22 20:26:59 +08:00
Matías Hernández
d8b9fe8f01 Show icons for allowed contacts
Test: atest com.android.settings.notification.modes
Bug: 346551087
Flag: android.app.modes_ui
Change-Id: If2b6b06b4a9c16bdefb03850ad1615e96c601fbd
2024-07-22 14:20:25 +02:00
Yiyi Shen
1c5a04317e [Audiosharing] Make audio sharing dialog body scrollable
Fix: 353908196
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Test: atest
Change-Id: If18a5501d1afdd2a2cca7a4a5034ac7b0f9640a4
2024-07-22 19:10:00 +08:00
chelseahao
467bb26083 Add accessibility label for "QR code" scanner.
Also added landscape mode.

Test: atest
Bug: 354116021
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ibb68252c5de5b30bdcbb9e9f88127b26e767ef04
2024-07-22 10:27:31 +00:00
chelseahao
7299e0f6bd Add accessibility label for "QR code" image.
Also added landscape mode.

Test: atest
Bug: 354116021
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ide20e07f38660ef7f444fbe3b20d3364b9951e02
2024-07-22 10:27:08 +00:00
Pajace Chen
c0c3b65c5c [BugFix] Fix the incorrect state for dockdefend on battery settings page
Bug: 348563863
Change-Id: Ie5f0f3e380b9355f96898eeddc755a18a71917a0
Test: Manual Test
Test: http://ab/I16200010297673244
Flag: EXEMPT bug fix
2024-07-22 08:22:32 +00:00
chelseahao
8dd7d1cc80 Add accessibility label for "QR code" button in Audio sharing page.
Test: atest
Bug: 354112158
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I5d2e2c70ca76e3598ca3d9550ebcc140d3400e34
2024-07-22 14:19:06 +08:00
Lyn Han
5c466c5ba3 Merge "Update setting text of notification cooldown" into main 2024-07-20 00:41:42 +00:00
Joseph Vincent
0271c39748 Merge "Remove Biometric Option from Private Space Lock Setup in Settings" into main 2024-07-19 23:32:15 +00:00
Yining Liu
a20aef38cb Update setting text of notification cooldown
Update setting text of notification cooldown (also known
as adaptive notification, and notification avalanche).

Fix: 354052311
Flag: com.android.server.notification.polite_notifications
Test: Manual, Settings - Notifications - Notification cooldown
Change-Id: Id513350939f12ef5fa7e58c5cbbb3197b259978f
2024-07-19 23:12:25 +00:00
Joshua Mccloskey
2004df98f1 Merge "Too short error message on CDC is no longer red." into main 2024-07-19 21:38:01 +00:00
Matías Hernández
8ae1067818 Merge "Show icons for allowed sounds" into main 2024-07-19 17:06:27 +00:00
Matías Hernández
352100397f Show icons for allowed sounds
(Some icons are temporary, until we get the final assets)

Also some fixes/improvements to CircularIconsPreference:
* Show the correct placeholder and +N icons.
* Fix the displayIcons-before-measure case (global layout listener was incorrect).
* Properly cancel pending image load futures (field didn't point to the actual future).
* Don't reload icons if it's the same set (depends on equals() for the items, so unfortunately doesn't work for AppEntry yet).

Test: atest com.android.settings.notification.modes
Bug: 346551087
Flag: android.app.modes_ui
Change-Id: I9d029a5fdd785ada4e2ba4d8a90eba72b5fb9085
2024-07-19 15:30:45 +00:00
Pat Manning
15ed707dbc Log metrics for pointer icon settings changes.
Bug: 269100659
Test: PointerFillStylePreferenceControllerTest
Test: PointerStrokeStylePreferenceControllerTest
Test: PointerScaleSeekBarControllerTest
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: I5966abff27122269e59f20e63bd708b9739f4875
2024-07-19 14:58:16 +00:00
SongFerng Wang
b21b629021 Merge "Fix SmartForwardingActivity crash at screen rotation" into main am: 14393a5f06 am: bce8fc79e8
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2855525

Change-Id: I0406d14725638b6c3da33e0c7b115c1692725b67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-19 06:12:12 +00:00
SongFerng Wang
bce8fc79e8 Merge "Fix SmartForwardingActivity crash at screen rotation" into main am: 14393a5f06
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2855525

Change-Id: Ieb6ffb8c2f479ffcc30d60440df649618074e420
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-19 05:55:14 +00:00
Candice Lo
b9e9632f32 Merge "feat(EvenDimmer): refactor the initialization process" into main 2024-07-19 05:50:33 +00:00
SongFerng Wang
14393a5f06 Merge "Fix SmartForwardingActivity crash at screen rotation" into main 2024-07-19 05:41:40 +00:00
Yining Liu
50f762ef5a Update the text for Notifications cooldown settings
Update the text for Notifications cooldown (previously
known as Adaptive notifications) settings.

Fix: 354052311
Flag: com.android.server.notification.polite_notifications
Test: N/A
Change-Id: Iacada2effe312d34726a7cbccbd97d919af4329a
2024-07-19 00:44:19 +00:00
josephpv
83b49e06c2 Remove Biometric Option from Private Space Lock Setup in Settings
With this change when secondary unlock factor for private space is
initiated from settings page only the option to set traditional unlock
factors will be shown and biometric option will not be shown.
User will return to private space unlock settings screen. User should be
able to  manually set up biometrics form its dedicatated settings entry
point after authentication.

Recording:
b/332850595#comment7

Flag: android.multiuser.modify_private_space_secondary_unlock_setup_flow
Bug: 332850595
Test: Manual
Change-Id: I8feb8c23300ddb537c428f3675178c5ff49932d1
2024-07-18 22:52:48 +00:00
Joshua McCloskey
9ce9cb2833 Show disabled summary for CDC
When the admin disabled a pin/pattern/pass, the summary should now
reflect this.

Test: N/A
Fixes: 343213209
Flag: EXEMPT bugfix
Change-Id: I87e6fbefd014e2623948abbf82b452208e8ef58e
2024-07-18 21:28:27 +00:00
Joshua McCloskey
d779dd0b70 Added new fingerprint metric categories.
Test: Manual
Fixes: 260072451
Flag: EXEMPT bugfix
Change-Id: I122025dbe7125da4b602ab100eb2fc8130584d2e
2024-07-18 17:59:35 +00:00
Matías Hernández
bc0b3342bd Merge "Show icons for apps bypassing DND" into main 2024-07-18 11:54:51 +00:00