Commit Graph

7083 Commits

Author SHA1 Message Date
Jesse Chan
2f368378dd Settings: Implement hide gestural navigation hint bar
Change-Id: I14dd73414c9f7ee1b01f315c9eeae0fd3ac4f859
Signed-off-by: Jesse Chan <jc@lineageos.org>
2025-06-22 13:00:17 +03:00
Steve Kondik
170340bc59 Settings: Add a RemotePreference for device-specific doze settings
* If a device has its own panel, we should replace the item under
   display settings instead of having to clutter up the dashboard.
 * Devices that provide Doze settings typically implement own AOD pref,
   so hide AOSP one.
 * This uses the new RemotePreference API to allow the external
   app to update the view.
 * The action for this is "org.lineageos.settings.device.DOZE_SETTINGS".

Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I22fd7e6307b370807415ce2132bed4808b2befe1
2025-06-22 13:00:17 +03:00
Michael Bestas
2739162b84 Settings: Forward port pattern visibility settings (2/2)
Change-Id: Ic627953c5df854c442671a98b5da539b994da18b
2025-06-22 13:00:17 +03:00
Michael Bestas
34a8deb417 Settings: Forward port lock pattern grid size (2/2)
Co-authored-by: Alberto97 <albertop2197@gmail.com>
Co-authored-by: d34d <clark@cyngn.com>
Co-authored-by: Dhina17 <dhinalogu@gmail.com>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Roman Birg <roman@cyngn.com>
Change-Id: I7078d703c218cd096d9b77c003a94b52fbce6322
2025-06-22 13:00:15 +03:00
Sam Mortimer
ce15d330cc Settings: Add LineageParts charging sound settings preference
Replace the existing AOSP setting with this.

Change-Id: I13894a86bcfad8d1dfaedc2dcbca6ad70f651b5c
2025-06-22 12:59:29 +03:00
Roman Birg
d58f018299 Settings: Add LineageOS legal info
Open up the LineageOS legal info in the browser.

Change-Id: I263ccc0509e275d17512528deb606341d58e7a0d
Ticket-Id: CYNGNOS-1895
Signed-off-by: Roman Birg <roman@cyngn.com>
2025-06-22 12:59:29 +03:00
Michael Bestas
3a00671373 Settings: Hide "Mainline module version" preference
* Remove misleading titled preference (Google Play system update)
* This is always set to current android version for AOSP

Change-Id: Ie9799e87de2f3a3421ff501ed8937f5f684458ee
2025-06-22 12:59:29 +03:00
Luca Stefani
581089a2ef Add toggle to enable ADB root
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Co-authored-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Ic80dbf79265c0fe7113f42299479873befb05004
2025-06-22 12:59:29 +03:00
Steve Kondik
0e30559b26 Settings: Add rotation settings
* Links to LineageParts

Change-Id: I896c53089fca0ee3b0e867144bb1d72fe8946eaf
2025-06-22 12:59:29 +03:00
LuK1337
638fab6e55 Settings: Add LineageOS entries into device info
Co-authored-by: Harry Youd <harry@harryyoud.co.uk>
Co-authored-by: Kevin F. Haggerty <haggertk@lineageos.org>
Co-authored-by: Timi <timi.rautamaki@gmail.com>
Co-authored-by: Tobias Tefke <tobias.tefke@tutanota.com>
Change-Id: I8d4c6869f8dfa34a96567bec18f9f8276b66a64e
2025-06-22 12:59:29 +03:00
LuK1337
159eee0278 Settings: Put device info header above "Basic info"
Change-Id: I8db12e882c16d6afa0e04bc1c4e93f7ec99960ed
2025-06-22 12:59:04 +03:00
Torsten Grote
c18a1ef322 Allow the user to change the BackupTransport
Set the following config overlays to activate this feature:

* config_backup_settings_intent to settings://com.android.settings.backup.transport
* config_backup_settings_label to some user-facing label
  e.g. Change backup provider
* config_ignored_backup_transports to hide transports from the list

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: I080d96e2c34045a0e61f3fa1b839f463550f2028
2025-06-22 12:59:04 +03:00
Florian Mayer
92e1b25a29 Fix crash if device policy disables MTE
Flag: EXEMPT bugfix
Test: set device policy using TestDPC, observe crash is gone
Bug: 407990172
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ec6b4842bef8f6f29989bb370d44499a70d6172e)
Merged-In: Ib5f01cb5bb3296ee0b5909a1a730e9dad040902b
Change-Id: Ib5f01cb5bb3296ee0b5909a1a730e9dad040902b
2025-04-07 20:00:34 -07:00
Yuri Lin
0773c4d93f Merge "Merge bundle global & type preference controllers." into main 2025-03-24 12:13:24 -07:00
Treehugger Robot
dc34cabee1 Merge "Show hearing device pairing intro according to the device's supported status" into main 2025-03-21 01:55:57 -07:00
jasonwshsu
e3eb185e00 Show hearing device pairing intro according to the device's supported status
Bug: 390078046
Test: atest HearingDevicePairingIntroPreferenceControllerTest
Flag: EXEMPT bugfix
Change-Id: I19b9825a55732c9edb058dd517d6021549e55307
2025-03-21 14:28:12 +08:00
Marcelo Arteiro
157030dcef Pending Location information added to Dark Theme
Resolved an issue in Settings where sunset/sunrise dark mode failed silently when a location was unavailable. Now, an error dialog is shown, even if location services are enabled, but a specific location is missing.

A footer stating the same issue is now present while the location is pending.

Existing banner that appears when Location is disabled is now being removed once Location is turned on. Previously the UI would refresh only after exiting and returning to the preference view.

Bug: 324548844
Bug: 402025928
Test: atest UiModeManagerServiceTest
Flag: EXEMPT bugfix
Change-Id: I914937185f11a686b453f929728b6329ebd05389
2025-03-20 03:21:45 -07:00
Haijie Hong
6c608b7e8a Merge "Show bond loss UI in device details" into main 2025-03-19 00:22:21 -07:00
tom hsu
9896b590d3 [Satellite] Change footer format in satellite setting
- Use controller base design instead of current

Flag: EXEMPT bug fix
Bug: b/401648126
Fix: b/402037025
Test: Manual test
Test: atest pass
Change-Id: Icb3fd6a1c5340e554593fc57cb238bf98d3ed0e3
2025-03-18 22:59:38 -07: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
Yuri Lin
53f94f0495 Merge bundle global & type preference controllers.
This change allows the combined preference controller to be a central place to manage dependencies between the global switch and the individual type checkboxes. When the last individual checkbox is unchecked, the global switch turns off as well. When the global switch is flipped, the individual type preferences become visible or invisible.

Flag: android.service.notification.notification_classification
Bug: 380291070
Test: atest BundleCombinedPreferenceControllerTest, manual
Change-Id: I4e97d3d999c6114dd8c71100a0b0de1eb8f94e31
2025-03-17 15:04:38 -04:00
tom hsu
f0efc2e363 [Satellite] Refactor code to controller base.
- Your mobile plan

Flag: EXEMPT refactor
Bug: b/403149290
Test: atest pass
Change-Id: Ia21f3d8b301401799263a1a2b43d82e9a46729a5
2025-03-17 13:52:58 +00:00
tom hsu
006007446b [Satellilte] Remove dynamic string of messaging and connectivity
Flag: EXEMPT bug fix
Bug: b/401648126
Test: Manual test.
Change-Id: I3ec28cfa2a05b421f19918414af8e75c5c0b224e
2025-03-17 11:28:02 +00:00
tom hsu
c19341db32 [Satellite] Refactor about content of Satellite setting
Flag: EXEMPT refactor
Bug: b/403149290
Test: Manual test pass
Test: atest pass
Change-Id: I55868869a9442648995343c857758c23fe358bc2
2025-03-14 07:42:27 +00:00
tom hsu
93f714446a [Satellite] Move satellite setting related code to a folder
Flag: EXEMPT refactor
Fix: b/403149290
Test: build pass
Test: atest pass
Change-Id: I849adc99fb16d1278efd1d481a4fd99fadb45e98
2025-03-13 16:12:16 +00: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
Yuhan Yang
3fbdd379bf Merge "Initial commit to add autoclick main toggle" into main 2025-03-11 18:55:09 -07:00
Nikhil Nayunigari
989c4cf698 Merge "Edits ethernet interface details settings subpage with more info" into main 2025-03-11 15:57:38 -07:00
William Leshner
1a8bf51a04 Merge "Move hub mode settings under display." into main 2025-03-11 14:50:35 -07:00
Nikhil Nayunigari
a821ac9185 Edits ethernet interface details settings subpage with more info
Adds IPAddress, Mac address, RX/TX Speed and Metering options to the
settings sub page.

Flag: com.android.settings.connectivity.ethernet_settings

Test: atest SettingsRoboTests:
com.android.settings.network.NetworkProviderSettingsTest

Bug: 390709492

Change-Id: I9a310f94037e089f3d57ff36f77b88edbb0ee1f1
2025-03-11 21:06:55 +00:00
Graciela Putri
cf0d8cba31 Merge "Remove (experimental) from app aspect ratio settings title" into main 2025-03-11 11:56:04 -07:00
Yuhan Yang
a572f89f43 Initial commit to add autoclick main toggle
screen cast: go/screencast-ntc4mdgxndq2mdyxnjcwnhw2yjbhymvlnc0wna

Bug: 391416057
Test: atest ToggleAutoclickMainSwitchPreferenceControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I6bfa346016d0ab08a61e4813b2c9e16b76281799
2025-03-11 15:49:20 +00:00
Will Leshner
417b667be4 Move hub mode settings under display.
And add a "when to show" setting.

Bug: 401001786
Test: manually
Flag: com.android.systemui.glanceable_hub_v2

Change-Id: I5f660a1be4bdbb5ab5bb14aa070bfa81b31da6b4
2025-03-10 11:08:57 -07:00
Michael Mikhail
0d44396f76 Merge "[catalyst] migrate media controls settings" into main 2025-03-07 07:27:51 -08:00
Yuri Ufimtsev
245df05c33 Merge "Add Content Protection settings to Advanced Security page" into main 2025-03-07 03:22:23 -08:00
Graciela Putri
6ed930462b Remove (experimental) from app aspect ratio settings title
Flag: EXEMPT string change
Fix: 305215544
Test: m
Change-Id: Idbb01ec99014efc40c285212e5e6ef8c91fa8333
2025-03-06 03:36:22 -08:00
David Padlipsky
d83aa9b83c Merge "Map pointer speed slider on mouse page to control mouse speed" into main 2025-03-05 11:52:40 -08:00
Oleg Petšjonkin
f1d0ce612b Merge "Updating NightLight Intensity slider to SliderPreference component" into main 2025-03-05 08:03:34 -08:00
Randy Pfohl
0d2afeeb33 Merge "Remove demo button from animation and move to gesture navigation settings fragment" into main 2025-03-04 08:13:40 -08:00
Michael Mikhail
aec68e2372 [catalyst] migrate media controls settings
Flag: com.android.settings.flags.catalyst_media_controls
Fixes: 337243570
Fixes: 389133530
Fixes: 389133114
Test: atest MediaControlsLockScreenSwitchPreferenceTest
Test: atest MediaControlsSwitchPreferenceTest
Change-Id: Ibe8fed064cd6223085764f5125cff45a9bea734d
2025-03-03 22:50:05 +00:00
Santos Cordon
43e0a04580 Merge "Remove EvenDimmer Toggle" into main 2025-03-03 07:19:04 -08:00
Treehugger Robot
c794912537 Merge "[Expressive design] Apply colors to homepage icons" into main 2025-03-03 02:21:05 -08:00
Jason Chiu
9c16e94552 [Expressive design] Apply colors to homepage icons
Bug: 396944193
Test: visual, robotest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I6ec24bdf8cb9a6f8454bd837daffe743b3b01526
2025-03-03 00:45:08 -08:00
David Padlipsky
99b20e5c36 Map pointer speed slider on mouse page to control mouse speed
Currently, the pointer slider on the mouse settings page is actually
controlling touchpad pointer speed. Modify this to instead control the
mouse pointer speed.

Bug: 398034722
Test: Manually on device
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I66cec4ef0a758e250bab89c194073eb408402431
2025-02-28 19:42:09 +00:00
Yuri Ufimtsev
375679e5aa Add Content Protection settings to Advanced Security page
That simplifies OEM integration when SafetyCenter is disabled.
Entrypoints are kept in both SafetyCenter-specific `more_security_privacy_settings`
and `security_advanced_settings` as these pages are mutually exclusive.

Bug: 399869618
Test: manual - took a photo
Change-Id: Ie1280fd53b46191763d820a186c769414d82629e
2025-02-28 18:10:58 +00:00
Randy Pfohl
25b8a583bd Remove demo button from animation and move to gesture navigation settings fragment
Flag: NONE N/A

Test: Built and tested flow, video in bug

Bug: 399034564

Change-Id: I9c8386e2d4236ab4f686daff49e0cd088ad5e126
2025-02-28 16:47:36 +00:00
Yuhan Yang
01d938228a Merge "Add revert to left click to autoclick settings page" into main 2025-02-27 12:24:48 -08:00
Daniel Norman
551534959c Merge "Update the dark theme and EDT description" into main 2025-02-27 11:26:10 -08:00
Yuhan Yang
d96bcf8f85 Add revert to left click to autoclick settings page
Screenshot: go/screenshot-4sdpfqk5rf3u23l
UI mock: go/screenshot-vcu7ui2ar9bjrm6

Bug: 388845719
Test: ToggleAutoclickRevertToLeftClickControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I813613f3d920ce6795e6750c440449e78d9b9c37
2025-02-27 17:32:41 +00:00
Yiyi Shen
9fa2160a31 Merge changes from topic "join_handler" into main
* changes:
  [Audiosharing] Handle device connected in handler activity
  [Audiosharing] Add activity skeleton to handle new connected sink
2025-02-26 23:02:05 -08:00