Commit Graph

5380 Commits

Author SHA1 Message Date
Ido Ben-Hur
89dce4d1e8 Settings: Long press to copy wifi password
Instead of marking and manually copying. Better UX
2025-12-10 00:41:29 +09:00
TogoFire
62c569e201 Revert "[Wi-Fi] Remove 'Do not validate' option in CA certificate spinner"
This is not a definitive fix, so revert it. WPA2-Enterprise (802.1X) or
WPA2-PSK.

[xawlw]:
- Sometimes we can't connect to some Enterprise WiFi networks because we
  don't know its domain so let's revert this 'Security' feature
- Read more about it here:
  https://www.xda-developers.com/android-11-break-enterprise-wifi-connection/

This reverts commit 33cde5dbee.
This reverts commit 94b8579607.

Signed-off-by: TogoFire <italomellopereira@gmail.com>
Signed-off-by: xawlw <abdulazizawlw@gmail.com>
Change-Id: I3cec92b74a419b5463c5e5db496863e66d034703
2025-12-10 00:41:28 +09:00
Alex
070da71ef9 Settings: Make sure settings shortcut icons follow system accent
Change-Id: I88400b3ae2477c73ce16695f977974de45f7b44c
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
2025-12-10 00:41:28 +09:00
Anay Wadhera
78a8af301d Settings: Create face confirmation activity
Change-Id: Id245c958a3f32e36620240fab6b9b4961bee35d5
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Alex
8a5b8b0253 Settings: Desktop backup password: Tint buttons to match system theme
Change-Id: I91e75eab0b6d9ffc608af1f5977ddd79350b22fc
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Dmitry Muhomor
b45269eb32 add per-connection Wi-Fi MAC address randomization option
fixup! add per-connection Wi-Fi MAC address randomization option
2025-12-10 00:41:26 +09:00
Cristhian Zeas
b868ac34e0 Add the rest of Cloudflare and Quad9 Private DNS options 2025-12-10 00:41:25 +09:00
Steve Kondik
2c23d3060e Settings: Use seekbar to allow setting arbitrary animation values
frap129: Reworked for Pie, set default scale to 0.5f, and improved
the preference summaries so they match AOSP while keeping translations.

Change-Id: I29d89e532d07a325f6e568b21e4da4ce7e5761ac
Signed-off-by: Joe Maples <joe@frap129.org>
[jaysonedson: Fix fc when not using English and preference]
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
cjybyjk
edfa749d17 Settings: add TextView for summary into SeekBarDialogPreference
Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn>
Change-Id: Icff728749c3e597a4127d77646bdf3a742c35d83
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
El Dainosor
f5b6d8a224 Settings: Avoid enforcing weird backgrounds
Enforcing windowBackground on places they shouldn't be causes issues when applying background there.
Or another kind of issues, like full transparency on clear themes, or white bg on settings home categories.

Credits goes to Genkzsz11 and the whole Corvus-ROM team for finding some of the root issues on this commit:
2b595f3d56

Change-Id: Iacd5b2e369ba9089f5522ff637427b31dcdd69b7
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
minaripenguin37
85c24e4cea Settings: Add more DNS providers
Co-authored-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
Adam Lawson
daac5ad57c Settings: Add AdGuard DNS as a private DNS Provider
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
Pranav Vashi
9051e97b8c Settings: Use font configs instead fonts directly
Change-Id: I2c93301a7a9aa640278c62912ee6a54dbe29589c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-12-10 00:41:25 +09:00
AnierinB
f4515f015b Settings: Initial Evolution X rebrand
Co-authored-by: AnierinB <anierin@evolution-x.org>
Co-authored-by: Jackeagle <jackeagle102@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: ganeshi4u <ganeshvarmai4u@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-12-10 00:41:11 +09:00
Michael Bestas
cee9137640 Merge tag 'android-security-16.0.0_r3' into staging/lineage-23.0_merge-android-security-16.0.0_r3
Android security 16.0.0 release 3

* tag 'android-security-16.0.0_r3':
  Import translations. DO NOT MERGE ANYWHERE
  Backport BT pairing dialog changes
  [nfc] Fix string injection in default payment app selector
  Add check to prevent privilege escalation from trampoline added in change Ie469c47005afb941f5646a2f790736362c23c697.
  Hide sensistive content from locked profiles
  Prevent SettingsSliceProvider from accessing unused packages
  Ignore face settings extras when called by an external package.
  startActivityForResult with earlier new Intent
  Hide notification content in history
  Use correct API to get calling package name in CredentialStorage
  Drop PendingIntent extras from external packages during enrollment.
  Do not enable the Content Protection toggle for non-admin users.
  Add ComponentName explicitly to make sure arbitary intents aren't launched from Settings.
  AppRestrictions - use vetted component
  Add battery health tip

Change-Id: Ifbcbfcc5e95e3b69085c9c7f795914ec21b4d0a9
2025-12-07 21:01:34 +02:00
Haijie Hong
8ec6581ae7 Backport BT pairing dialog changes
This is a combination of two commits against b/409868905, merged for
backport convenience.  It updates the string and button style for the BT
pairing dialog.

Bug: 236134583
Bug: 236134775
Test: local tested
Flag: EXEMPT minor style update
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:22378fd5a1bb2ca8d63f5df4e47c0af218c66a57
Merged-In: Icd9f509b5363b3ec3900738e21486e54d4e66e4b
Change-Id: Icd9f509b5363b3ec3900738e21486e54d4e66e4b
2025-10-10 14:23:05 -07:00
LuK1337
56a70f85b4 Settings: Disable clipping in biometrics_glif_content
This is required for devices with UDFPS sensors that are very low.

Change-Id: Iec0c4f27cab6999b617a26b4d76bfaa39a90d922
2025-10-04 23:41:12 +02:00
Chirayu Desai
8e37b18872 Add Cloudflare DNS as a private DNS provider
* Handle this entirely in Settings, no need to touch anything
  else at all

Change-Id: I7e8a320d47e7c5ddbcb9acfaf23032ae92d5d70d
2025-08-28 13:35:11 +03:00
Michael W
c6cf27da63 Settings: Good news, encryptable=footer is broken
* Add a warning to discourage usage

Change-Id: I1913d6a94ea040d545a7946bc4a21d731c41e612
2025-08-28 13:35:10 +03:00
Bruno Martins
1062719df9 fingerprint: Rework enrollment screen
This is based on the following changes, adapted to Android 12
considering the fact that AOSP now supports FOD as well as
fingerprint sensors embedded in the power button:

Author: d34d <clark@cyngn.com>
Date:   2016-06-23 11:21:45 -0700

    fingerprint: Allow devices to configure sensor location

    The text for enrolling a fingerprint always assumes the sensor is
    located on the back.  This patch adds a config integer that defines
    where the sensor is located on the device.
      0 = back
      1 = front
      2 = left side
      3 = right side

    This patch also adds a new drawable that shows the front of the device
    when applicable.

    Change-Id: Ia8f5f8ff4ba4d13d35aed3052f60ff665dd4f294
    TICKET: CYNGNOS-3089

Author: Paul Keith <javelinanddart@gmail.com>
Date:   2018-01-26 22:23:03 +0100

    FingerprintEnrollFindSensor: Don't overlay front for side sensors

    * Both the base image and the base image + overlay are equally nonsense
      for devices with a side fingerprint scanner, but for those that overlay
      a custom fingerprint enrollment graphic, this image overlay wreaks havoc
    * Only set this overlay to be visible if the sensor is on the front, to
      allow devices with side sensors to only overlay the base image

    Change-Id: I7cbcea4830d4526cf9f7d139e7f84f21117fa9c4

Author: Michael W <baddaemon87@gmail.com>
Date:   Thu Jan 17 21:44:28 2019 +0100

    Settings: Make find fingerprint look great again

    * The current logic places the animation based on the size of
      the whole overlay instead of the image, which is a fixed-size png
    * Get the size of the image instead and place the dot relative to it
    * Also use "wrap_content" and add a padding to the top so the
      distance to the text is a fixed thing, not depending on how
      much space relative to the wanted space it actually takes

    * Preview: https://imgur.com/a/XanJ2aP

    Change-Id: I2bd08cee1abd1c6bad78ca1efc2189e573ded3cc

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sat Dec 15 17:11:41 2018 +0100

    fingerprint: Remove unnecessary spacing in enroll layout

    * This makes it look ugly on 480 dpi devices.

    Change-Id: Ia1bbd443063a125878dddd12e5c6a816d289fb82

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Thu Mar 17 10:30:41 2022 +0000

    FingerprintEnrollEnrolling: Set proper dialog message when user touches fp icon

    Change-Id: Iafd86e636b0c54bbddcf26d153cc671259391259

Author: Michael Bestas <mkbestas@lineageos.org>
Date:   Tue Dec 6 20:40:45 2022 +0200

    Use AOSP string for side fps enrollment

    Change-Id: I9267b6a75716f45044f4d7a51650ca4f928b104e

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Tue Apr 18 16:16:34 2023 +0100

    FingerprintEnroll: Add config for dedicated side mounted fps

    Google likes to assume that there only exists devices with
    fingerprint sensor embedded in the power button, but that's
    not always true. Since specific enrollment messages were added
    just for those devices, we need to address our own usecase.

    Change-Id: I56a7d7fe0374fe5a1fce5e24bdbb265cb5edc246

Change-Id: If372ef50c4a719e89a4e80cc20e3eb445af61bc6
2025-08-28 13:35:05 +03:00
Timi Rautamäki
4067b448fb fingerprint: hide link icon when there's no link
Test: verify fingerprint setup doesn't have link icon without a link.
Change-Id: I040500615815ffe9256089a9bc11b07da783fa79
2025-08-28 13:35:05 +03:00
Timi Rautamäki
d25dbfa776 Settings: use Glif themed button bar
Change-Id: I7b7c522730806ee9c8cc83e4f560a344a089cbec
2025-06-22 13:00:17 +03:00
Treehugger Robot
2104427f6a Merge "Revert "[3F Tap] Radio Group VisD updates"" into main 2025-03-20 08:57:59 -07:00
Treehugger Robot
91f6063a43 Merge "Remove tint color from seekbar" into main 2025-03-20 05:34:37 -07:00
Yalan Yiue
84306355a7 Revert "[3F Tap] Radio Group VisD updates"
This reverts commit 3307af4985.

Reason for revert: b/404773996

Change-Id: I739856084506f863b3ab1ec1b9a1133feaec48fb
2025-03-20 04:55:59 -07:00
Haijie Hong
6c608b7e8a Merge "Show bond loss UI in device details" into main 2025-03-19 00:22:21 -07:00
Mill Chen
b6fba4dc4a Remove tint color from seekbar
Bug: 317163103
Test: visual test
Flag: EXEMPT bugfix
Change-Id: Iea9389931bc3669d3138c70f47ee4dd286f1207e
2025-03-18 12:06:23 +00:00
Haijie Hong
519f1752f0 Show bond loss UI in device details
Bug: 380801155
Test: atest BluetoothDetailsFragmentTest
Flag: EXEMPT minor change
Change-Id: I458778e1a3adde4ec1ddd8b84b8dc7f1d91621f5
2025-03-18 11:41:52 +08:00
Treehugger Robot
a9ef330701 Merge "Move the content description for Display size and text preview to xml" into main 2025-03-17 10:47:30 -07:00
Candice
526dacdc82 Move the content description for Display size and text preview to xml
Bug: 395882764
Test: atest TextReadingPreviewControllerTest
Test: atest TextReadingPreviewPreferenceTest
Flag: EXEMPT BUGFIX
Change-Id: I070ec2b9b39a205fd3a97636f0c45fb50b670049
2025-03-17 03:02:32 +00:00
Chun-Ku Lin
f5cc0119ee workaround(expressive): Fix padding issues Setup > Vision settings
- Works around issue where Setup and Settings libraries are clashing
  when applying their new expressive themes at the same time.
- Updates illustration prefs to match parent width. Otherwise this new
  padding workaround causes the images to get clipped.

Fix: 390545391
Bug: 400479388
Test: manual only; see screenshots
Flag: EXEMPT using custom flagging from Setup ThemeHelper lib
Change-Id: Ie00cdf3e68a2ff7c40aedd04eb5bed0adaa9cf84
2025-03-14 14:00:04 -07:00
Haijie Hong
fe3cf14287 Merge "Update dialog UI for bonding loss" into main 2025-03-13 20:32:26 -07:00
Angela Wang
faebda0cda Merge "Add background to ambient volume control icons" into main 2025-03-13 12:49:10 -07:00
Treehugger Robot
91056fc841 Merge "Fixed accessibility issues in Wi-Fi password view for SUW" into main 2025-03-13 06:40:20 -07:00
Angela Wang
c47713d66f Add background to ambient volume control icons
Enhance the visibility and discoverability of ambient volume control
icons by adding backgrounds.

Flag: EXEMPT bugfix
Bug: 398962101
Test: manual check the result and screenshots attached on bug
Change-Id: Ice467191235df63f258bbca4e085fbf8a7f3c555
2025-03-13 10:01:02 +00:00
Haijie Hong
3ac9b6baaa Update dialog UI for bonding loss
Bug: 380801155
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: I0530d6a590666684578f3e94fc8f0da4fae64c7f
2025-03-13 00:41:06 -07:00
Weng Su
351e6a94e0 Fixed accessibility issues in Wi-Fi password view for SUW
- Keep the Save button enabled at all times

- Show "*required" or "The password is invalid" to remind the user

Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiConfigControllerTest
Change-Id: I442d2f958efd85f3c92309d0bed7cd3aa9ec9876
2025-03-13 15:40:12 +08:00
shaoweishen
b547394a56 [Physical Keyboard] Update seekbars
Update seekbars color and style.

Bug: 374030364
Bug: 399285693
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/

Change-Id: I251a7241b614114a5bb9d5090fcd22cb873ebc51
2025-03-12 00:50:15 -07:00
Ze Li
35b5d88170 Merge "[Bluetooth Pairing] Change allow phone book permission Switch to Material3 style." into main 2025-03-11 07:29:29 -07:00
Ze Li
6e0bbb6259 [Bluetooth Pairing] Change allow phone book permission Switch to Material3 style.
Test: manual test
Bug: 318785412
Flag: EXEMPT bug fix
Change-Id: I5546cb504a6db939a4ab62264d496adcf93aa0e2
2025-03-11 19:18:01 +08:00
Haijie Hong
2b47ca1608 Merge "Reimplement device details UI without ComposePreference" into main 2025-03-11 01:29:30 -07:00
Haijie Hong
02bd645834 Reimplement device details UI without ComposePreference
Replace ComposePreference with androidx.preference.Preference.

ANC toggle will still use Compose until SegmentedButtonPreference is ready.

BUG: 402036473
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5114af8f2d679d695b3c5ef4d7be2874245c435e
2025-03-11 14:51:30 +08:00
Weng Su
e82b0b2eea Update the required or optional styles of EditText in VPN settings
- Follow the Required text indicator in the Google Material 3 guidelines

Bug: 401956268
Flag: EXEMPT refactor
Test: Manual testing
Change-Id: Ifeb1b882b34151ebef18edc32e7f2a3c116921c2
2025-03-10 15:32:42 +08:00
Treehugger Robot
17151798b3 Merge "Cursor colour Settings VisD update" into main 2025-03-07 08:29:18 -08:00
yyalan
3e62540560 Cursor colour Settings VisD update
Fixes: 400303794
Flag: NONE bug fix
Test: screenshot in comment
Change-Id: Ic9ddce25627c021f46de301af5e2fd22a74719e0
2025-03-07 15:12:41 +00:00
Weng Su
de56c24ac0 Fixed the color issue of Wi-Fi password EditText
- Use Material3 theme preset colors

Bug: 397878305
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: I196db3c50a6f5edd8556073e12f4d3f6790f3bff
2025-03-07 16:01:47 +08:00
Treehugger Robot
dde80ef88b Merge "Fixed accessibility issues in VPN Settings" into main 2025-03-06 01:35:45 -08:00
Weng Su
3cdc1a58a7 Fixed accessibility issues in VPN Settings
- Show "(required)" and errors in required fields to alert users

- Show "(optional)" below each optional field

Bug: 386025633
Flag: EXEMPT bugfix
Test: Manual testing
  atest WifiConfigController2Test
Change-Id: Iefbd68e6658af7b073db219b3e04e94805092759
2025-03-06 16:19:47 +08:00
Yongshun Liu
e5e3803470 Merge "a11y: Add cursor following mode dialog" into main 2025-03-05 18:04:17 -08:00
Treehugger Robot
170531768d Merge "Fixed EditText Talkback issue in VPN Settings" into main 2025-03-04 17:24:50 -08:00