Commit Graph

54224 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
Joseph Vincent
0271c39748 Merge "Remove Biometric Option from Private Space Lock Setup in Settings" into main 2024-07-19 23:32:15 +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
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
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
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
Chaohui Wang
fe712d3ea3 Merge "Always set cross sim calling" into main 2024-07-17 07:48:59 +00:00
Tom Hsu
0168d94464 Merge "Fix network can't handle simultaneously SS request for both subs" into main am: f20f297cfa am: 72541b8b19
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2643178

Change-Id: I478fb01ec9f956c040e08e6c3ae2fa475dc7fd3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-17 07:28:19 +00:00
Tom Hsu
72541b8b19 Merge "Fix network can't handle simultaneously SS request for both subs" into main am: f20f297cfa
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2643178

Change-Id: Id6f676ba5fe1ae096c6b3ed0ed75a00e2c1d92e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-17 07:13:32 +00:00
Tom Hsu
f20f297cfa Merge "Fix network can't handle simultaneously SS request for both subs" into main 2024-07-17 06:56:04 +00:00
Chaohui Wang
0ffd546f2f Clean up UiccInfoEntity unused fields
It's safe since MobileNetworkDatabase is in memory only.

Bug: 348118234
Flag: EXEMPT clean up
Test: manual - check Mobile Settings
Change-Id: Icea406a3c2e633ee51160e51b1af553b4f3034dc
2024-07-17 14:54:49 +08:00
Edgar Wang
1010a85eda Merge "Add Multiuser team to the OWNERS file for users package in Settings" into main am: 969c26392d am: ff519515b6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3176079

Change-Id: Id47bd03f0686b8f4dbb0c50383d374bbd51657c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-17 01:37:19 +00:00
Edgar Wang
ff519515b6 Merge "Add Multiuser team to the OWNERS file for users package in Settings" into main am: 969c26392d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3176079

Change-Id: Id9f83a06f922904ddf56ed803fa58cd362eba59f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-17 01:13:36 +00:00
Yomna Nasser
54e81b2dcd Merge "Remove searchability of CellularSecuritySettingsFragment" into main 2024-07-16 20:31:16 +00:00
josephpv
927e197db3 Start PrivateSpaceDeleteActivity in full screen on foldables
Screenrecording link:
b/342563741#comment2

Bug: 342563741
Test: Manual
Flag: android.multiuser.fix_large_display_private_space_settings
Change-Id: I428ef4af12e736880313b06e832b58a46b23a08a
2024-07-16 18:48:21 +00:00
Tetiana Meronyk
c641849a42 Add Multiuser team to the OWNERS file for users package in Settings
Bug: 352721898
Change-Id: Ica47025c4ba5033a15422931fd9f8ed85ae97e9e
Test: N/A
2024-07-16 12:05:25 +00:00
Asmita Poddar
78b485a3bb Add Mouse keys A11Y settings to PK settings page
Add the mouse keys toggle in the Settings under
System > Keybord > Physical Keyboard > Mouse Keys.
The toggle is shown when a physical keyboard is connected.

DD: go/mouse-keys-android
Bug: 341799888
Flag: com.android.hardware.input.keyboard_a11y_mouse_keys
Test: manual
Steps:
1. Connect a physical keyboard
2. Toggle the mouse keys setting to switch on the feature.
3. Mouse keys is enabled.
4. Switch off the mouse keys toggle under the setting.
5. Mouse keys is disabled.

Change-Id: Ifda8c93fcc1f8b7c1fb2eccb7c91266360ff1fc8
2024-07-16 11:45:24 +00:00