Commit Graph

141985 Commits

Author SHA1 Message Date
Isaac Chai
8b1135e1c9 Merge "feat(color correction): Disable slider when not applicable" into main 2024-07-22 22:43:39 +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
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
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
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
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
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
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
Joseph Vincent
9707271dad Merge "Start PrivateSpaceDeleteActivity in full screen on foldables" into main 2024-07-18 10:28:38 +00:00
SongFerng Wang
410f699c6f Merge "Settings: Adapt edge-to-edge enforcement" into main am: 9befb6cd8f am: e910d895f1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3142636

Change-Id: I4a7f739df1b12c2151a6b4a484881360541c113d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-18 10:08:48 +00:00
Matías Hernández
0ebc865c5e Show icons for apps bypassing DND
(Several things pending, such as the +n icon and the correct pending icons, but it's a start).

Test: atest com.android.settings.notification.modes
Bug: 346551087
Flag: android.app.modes_ui
Change-Id: Ifd2ab6a8bb447739dc8ffe400c3960779d477fd6
2024-07-18 11:59:06 +02:00
SongFerng Wang
e910d895f1 Merge "Settings: Adapt edge-to-edge enforcement" into main am: 9befb6cd8f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3142636

Change-Id: Ibfc5f8fb007d93d618c4a0c67e396677329b5728
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-18 09:48:49 +00:00
SongFerng Wang
9befb6cd8f Merge "Settings: Adapt edge-to-edge enforcement" into main 2024-07-18 09:31:55 +00:00
Chaohui Wang
9503f42efb Merge "Clean up UiccInfoEntity unused fields" into main 2024-07-18 08:44:19 +00:00
Yuchen Sun
028dd20d96 Merge "Clean up slice from spa and move androidx.slice dependency to Settings." into main 2024-07-18 08:26:05 +00:00
Yuchen Sun
93036e2045 Clean up slice from spa and move androidx.slice dependency to Settings.
Test: build successfully
Flag: EXEMPT clean up
Bug: 352442832
Change-Id: Ifc222a91991d4924f1cb7b5c1e7fd90968bfed26
2024-07-18 08:25:48 +00:00
Treehugger Robot
770917dc6b Merge "Fix whenNoInstaller_notDisplayed" into main 2024-07-18 06:17:42 +00:00
Treehugger Robot
2e3e6d69e8 Merge "Add wait for title_displayed" into main 2024-07-18 04:39:30 +00:00
Chaohui Wang
9187f1fd7d Add wait for title_displayed
Bug: 346420411
Flag: EXEMPT test only
Test: atest BackgroundInstalledAppsPageProviderTest
Change-Id: I8047cd0aa4e414df83bcc69ebf21f245f985b447
2024-07-18 11:51:51 +08:00
Chaohui Wang
512141619d Fix whenNoInstaller_notDisplayed
Which is forgot to update in Icd5559bce06c059844269d70926b3c0b39589edb

Bug: 346420411
Flag: EXEMPT test only
Test: atest AppInstallerInfoPreferenceTest
Change-Id: If21215b81008c03a6b6ad2a77a90073a6d708390
2024-07-18 11:39:13 +08:00
Chaohui Wang
dcc60f0371 Update FakeFeatureFactory
Return null for getSurveyFeatureProvider, since this will be called by
SurveyMixin during test.

Bug: 346420411
Flag: EXEMPT test only
Test: atest ResetNetworkConfirmTest
Change-Id: I7d0fab039bf96a2ef453e35dcf88cbdb77f01523
2024-07-18 11:22:18 +08:00
Joshua McCloskey
d11b1dc739 Too short error message on CDC is no longer red.
Test: atest ChooseLockPasswordTest
Fixes: 325097409
Flag: none
Change-Id: I09f910eeb28d117f6a5008d64b8d3eb5a1731800
2024-07-17 17:00:29 +00:00
Treehugger Robot
ee83f6a5d7 Merge "Tests - Add mandatory biometric prompt to platform surfaces (1/N)" into main 2024-07-17 15:37:02 +00:00
Asmita Poddar
541038ebb7 Merge "Add Mouse keys A11Y settings to PK settings page" into main 2024-07-17 10:03:26 +00:00
Daniel Huang
9f5e410191 Merge "Add accessibility appearance settings backup feature flag" into main 2024-07-17 09:28:02 +00:00
danielwbhuang
7b24af118c Add accessibility appearance settings backup feature flag
Bug: 341210043
Flag: com.android.settings.flags.accessibility_appearance_settings_backup_enabled
Test: manual
Change-Id: I71163c3dcdb81aa9621ae47e69a694b42331b8b7
2024-07-17 16:14:58 +08:00
Chaohui Wang
371e7b09e1 Clean up WifiPrimarySwitchPreferenceController
This one is not used any more.

Bug: 167474581
Flag: EXEMPT clean up
Test: m Settings
Change-Id: Ia2439af2b3a6b643f41f6e3fce9e4bf1126c282e
2024-07-17 16:02:40 +08:00