Commit Graph

12803 Commits

Author SHA1 Message Date
Chelsea Hao
be8b707467 Merge "[Audiosharing] Update strings." into main 2024-05-22 02:52:57 +00:00
chelseahao
21d98582ec [Audiosharing] Update strings.
Test: atest -c com.android.settings.connecteddevice.audiosharing.audiostreams
Bug: 322819449
Change-Id: Iba0fa8d3470b896b1f672e01f88d405dcec08fe0
2024-05-21 15:49:19 +08:00
Edgar Wang
ea5e44f1d7 Merge changes I53ea81ce,I84505033,I4bd5c343 into main
* changes:
  Apply round corner group background for large screen
  Update suggestion card padding in Homepage
  Update Search Bar layout in Homepage
2024-05-20 08:29:03 +00:00
Edgar Wang
66c16d57af Update Search Bar layout in Homepage
Bug: 340513864
Bug: 340773713
Bug: 340799397
Bug: 340759836
Test: visual
Change-Id: I4bd5c3438aa55ca764f61b180a37c10206ee78be
2024-05-20 06:49:12 +00:00
Aurélien Pomini
5c8d8a295b Merge "Remove old contrastDialog from dev options" into main 2024-05-17 16:10:36 +00:00
Yiyi Shen
66b69fbbb8 Merge "[Audiosharing] Migrate feature from overlay to Settings" into main 2024-05-17 09:30:14 +00:00
Isaac Chai
504ac0cf2a Merge "Color correction saturation level settings" into main 2024-05-16 17:27:26 +00:00
Aurélien Pomini
22119f516a Remove old contrastDialog from dev options
Flag: NA
Bug: 333905689
Test: treehugger, manual

Change-Id: I400ab2b14cf8589be97123f3bcf3b26c98009d07
2024-05-16 13:15:23 +00:00
Yiyi Shen
e5bd60a0cf [Audiosharing] Migrate feature from overlay to Settings
Bug: 340379827
Test: atest
Change-Id: I3a88ac1d2f575f3be1f26f617479bbfd25cf6a8e
2024-05-16 05:05:41 +00:00
Jay Sullivan
2d7380eee7 Merge "Revert "UX updates in Settings for unrestricting permissions."" into main 2024-05-16 00:03:10 +00:00
Yuri Lin
3072209e7d Merge "Redirect to new modes page when modes_ui is on." into main 2024-05-15 21:14:45 +00:00
Isaac Chai
4bf537a815 Color correction saturation level settings
Adding settings UI for color saturation level change, guarded by feature
flag.

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

Change-Id: Ifa816647b16534ab6da770584d3de0628734aed5
2024-05-15 20:58:44 +00:00
David Anderson
cfc8c70ab4 Merge "Add Device Diagnostics to Settings." into main 2024-05-15 20:58:32 +00:00
Yuri Lin
eff863e5a3 Redirect to new modes page when modes_ui is on.
The new modes page has essentially no content yet, but this is a rough proof of concept for the existing abstract classes and hopefully serves as a building block for future changes. It lists modes and those preferences lead to contentless pages that will be fleshed out later..

Flag: android.app.modes_ui
Bug: 327260745
Test: ZenModePreferenceControllerTest
Test: manual; individual pages only have skeleton functionality and should be unit tested in future CLs
Change-Id: I12f48b48f761e3c9ff1a173445b15f7536d34edb
2024-05-15 14:00:25 -04:00
Jay Sullivan
668fef47cd Revert "UX updates in Settings for unrestricting permissions."
This reverts commit ff6c0b3fcb.

Reason for revert: b/340458649

Change-Id: I9fd32f11a9650431ed56c10434e82a766f74f400
2024-05-15 17:57:07 +00:00
Jigar Thakkar
c1e5095b8f Merge "Rename settings option for autolocking on inactivity" into main 2024-05-15 17:12:05 +00:00
Jigar Thakkar
72089c3289 Rename settings option for autolocking on inactivity
Bug:328016823
Test: atest AutoLockPreferenceControllerTest
Flag: ACONFIG android.multiuser.support_autolock_for_private_space NEXT

Change-Id: Id4537efe5ac56df0fc98cef3ce6673a0673e0fba
2024-05-15 14:03:15 +00:00
Roy Chou
535494eca9 Merge "feat(brightness suw): add brightness preferences in suw" into main 2024-05-15 07:25:06 +00:00
Roy Chou
042c8c7328 feat(brightness suw): add brightness preferences in suw
Add brightness level and auto brightness preference in
accessibility_settings_for_setup_wizard.xml. Since the flagging has not
be supported yet for non-Manifest resources, for now we add the
preferences by default, and update the preferece availablity status in
each preference controllers based on the flag.

Bug: 311093618
Flag: ACONFIG com.android.settings.accessibility.add_brightness_settings_in_suw DEVELOPMENT
Test: manually
      atest AccessibilitySettingsForSetupWizardTest
      atest AutoBrightnessPreferenceFragmentForSetupWizardTest
      atest AutoBrightnessPreferenceControllerTest
      atest BrightnessLevelPreferenceControllerTest
Change-Id: I350d99138bdd14bf28828a39e42f707b5b1066c1
2024-05-15 03:19:40 +00:00
Vlad Popa
59b7bef837 Merge "Improve the BT settings audio device type strings" into main 2024-05-14 22:54:11 +00:00
Nick Chameyev
b34632720c Update fold setting text am: b9a0722d20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27323129

Change-Id: Ibf9dbb23c6da433aec2b3785883ec88e4b3cffea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-14 16:25:16 +00:00
Nick Chameyev
b9a0722d20 Update fold setting text
Clarify default behavior and correct
the 'never' option to make sure
that it takes into account power
button instantly locks setting.

Bug: 300238754
Change-Id: I3d513bd06880b7be7e5610659dd72174d468c3dd
Flag: none
Test: presubmit
2024-05-14 10:10:28 +00:00
David Anderson
29f9abcd8b Add Device Diagnostics to Settings.
The new option will only appear if (1) the flag is enabled and (2)
DeviceDiagnostics.apk is landed on the device (which it is by default on
AOSP).

Bug: 309886423
Test: Build AOSP Pixel and launch Settings
Change-Id: If01d231664a301ff289d4da61445bf65a7506fdb
2024-05-14 04:46:02 +00:00
Simon Wingrove
26dc66204c Merge "Update access strings per UXW" into main 2024-05-13 21:36:49 +00:00
Vlad Popa
e9322f84fc Improve the BT settings audio device type strings
Flag: EXEMPT string xml only update
Test: manual
Bug: 337044231
Change-Id: I717fda31ca937a9f09d548e037ca7497a7d2a829
2024-05-10 15:36:26 -07:00
Marcus Ge
fd0dd5dfdd Merge "[Contrast] Migrate contrast settings into Display" into main 2024-05-10 15:23:47 +00:00
Simon Wingrove
82f4844bd7 Update access strings per UXW
Bug: 338390125
Test: Builds
Flag: EXEMPT resource only update
Change-Id: I4719a37bd63b46c51ae4cf3009abaf920d624697
2024-05-10 14:31:27 +00:00
Kangping Dong
da0be0f6f4 Merge "[Thread] update Thread settings screen" into main 2024-05-10 02:39:46 +00:00
Edgar Wang
f437bec1bc Merge "Homepage UX revamp" into main 2024-05-10 00:57:01 +00:00
Edgar Wang
47400df7ae Homepage UX revamp
- unified Search and Suggestion behavior between regular phone and two
  pane
- don't adjust padding
- update new icon drawable
- support group homepage preference with round corner on phone
- Remove avator from homepage
- Adjust homepage preference order

Bug: 333989622
Bug: 334130370
Test: visual
Change-Id: I9880b52553f164745766c8b9d5c996585285e52a
2024-05-09 08:21:08 +00:00
marcusge
24289fa084 [Contrast] Migrate contrast settings into Display
Test: local raven device
Bug: 333905689

Change-Id: Ie94633c23ebe024b8fb48d7ffebdd7b1dfa588da
2024-05-09 06:32:29 +00:00
Kangping Dong
d454ac2963 [Thread] update Thread settings screen
Per b/327098435 the new Thread settings design proposed
(go/android-thread) is approved.

As a summary, this commit adds a new "connected devices > connection
preference -> Thread" list item and decidated config page for Thread.
Also, we simplified the airplane mode to delegate it to the mainline
code to handle it

Bug: 327098435
Test: atest SettingsUnitTests
Change-Id: Iffbb2471f5a28ec57d30a378f22642fe6ac0b9cc
2024-05-09 14:04:52 +08:00
Varun Somani
2371fb390f ARC++ PH: Rephrase the tooltip text
Rephrase of the UI tool tip text. Making it more clear for the user.

UI: https://screenshot.googleplex.com/5gkWMVmZn8zKDj4

Upstreaming-Plan: Will be merged to main once approved.
Bug: 265471993
Test: Manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d8c1b2bdef1b38e1cec6335d3a63042acd479442)
Merged-In: I925aef7af63907e87a5295914cbb819c343fa168
Change-Id: I925aef7af63907e87a5295914cbb819c343fa168
2024-05-08 17:51:12 +00:00
Marcus Ge
ff99e1f72f Merge "[Settings] Migrate color roles to respect color contrast" into main 2024-05-07 18:17:14 +00:00
mxyyiyi
03fdbbe504 Use material color res from settingslib for battery tips card
Settings Anomaly Card
[Before-Dark] 	https://screenshot.googleplex.com/5PZC6mbWjqunvuv
[Before-Light] 	https://screenshot.googleplex.com/7eoF6yLX6t3JeHz
[After-Dark]  	https://screenshot.googleplex.com/5j4mQFDXjkVcxHs
[After-Light] 	https://screenshot.googleplex.com/5ySzfzft9293GXb

App Anomaly Card
[Before-Dark] 	https://screenshot.googleplex.com/JKkcqCiAKxkPZds
[Before-Light] 	https://screenshot.googleplex.com/ASB4CnDhPjsQohH
[After-Dark]  	https://screenshot.googleplex.com/5y3LVvng54vndi9
[After-Light] 	https://screenshot.googleplex.com/NCJeuViCtDcNhiV

Bug: 339130556
Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage
Change-Id: I29d68713c14068fd9961082a148dd02ad38289a6
2024-05-07 13:51:32 +08:00
Manish Singh
d3efbdf74e Merge "Add a new string for the hide settings" into main 2024-05-03 14:32:08 +00:00
Manish Singh
7c7e07fc0a Add a new string for the hide settings
Fix: 333522647
Fix: 338187040
Test: manual
Change-Id: I18fdb3ec8d385588a558706f76437084d43ccc92
2024-05-03 11:55:37 +00:00
marcusge
dc087a635b [Settings] Migrate color roles to respect color contrast
This change updated color roles in the main Settings page and in the
alert dialogs.

Bug: 335668262
Bug: 335668306
Bug: 335711196
Bug: 335711422
Bug: 335713067
Bug: 335712185
Bug: 335713398
Bug: 335714079
Bug: 335713405
Bug: 335714437
Test: local raven device

Change-Id: I29895ecb869f1053bbcc55ebeb42020e7ce77b8b
2024-05-03 00:11:41 +00:00
Treehugger Robot
be380fd2f1 Merge "Extend the length of the title of the Work profile lock" into main 2024-05-02 09:42:53 +00:00
YK Hung
e1303ffa3a Merge "Update battery saver sticky preference description" into main 2024-05-02 06:07:27 +00:00
Wesley Wang
ea35c281bf Update battery saver sticky preference description
- Refresh the description to make it more clear

Flag: N/A, bug fix
Bug: 331716954
Fix: 331716954
Test: atest
Change-Id: I8acfd1f57f7905f5679a5c8877e2115a14a35806
2024-05-02 11:59:49 +08:00
Pawan Wagh
d6941aff34 Merge "Updating strings for 16KB developer option" into main am: ed3a48df6a am: 2c05fc6e52
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3068826

Change-Id: I29ac5e3a183ff0ce79e1cec6f1211eb2a858235f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-01 23:59:57 +00:00
Pawan Wagh
aaa0a3faf5 Updating strings for 16KB developer option
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Change-Id: Ie70b238985b1ccaf3f8893efa6687629d767729e
2024-05-01 21:16:59 +00:00
Treehugger Robot
72ba6ec2ca Merge "Rename Multiple users page to Users" into main 2024-05-01 09:47:56 +00:00
Tetiana Meronyk
177e852ea9 Rename Multiple users page to Users
Ensure it is still searchable by "multiple users" prompt.

Bug: 336764972
Test: manual
Change-Id: I1126bfe601b75532882d6158d82be1a3b566aefc
2024-04-30 18:48:40 +00:00
Sunny Shao
2404c74251 Extend the length of the title of the Work profile lock
Bug: 334014101
Test: compilation
Change-Id: If21f222043de3f79dea3ddfec6bdd35c9e2b4034
2024-04-30 18:00:27 +08:00
Tom Hsu
219fb8a3f6 Merge "Revert^2 "Add a new warning dialog for Satellite mode"" into 24D1-dev am: 0a8d830616
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27150955

Change-Id: I02b98dfea84be429e9a46dc8d0e3846dda29f203
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 07:24:09 +00:00
Tom Hsu
1b308f5df8 Revert^2 "Add a new warning dialog for Satellite mode"
This reverts commit 15c90207e2.

Reason for revert: ag/27138142 shall fix the crash instead of reverted one.

Change-Id: Icf46fda7af9c9bb6921bc10de0f9c93926f42fac
2024-04-30 02:17:15 +00:00
Emilian Peev
114ebb5fec Merge "Settings: Replace EFV strings with Night, HDR extensions" into main 2024-04-29 16:18:50 +00:00
Tom Hsu
b5391d1d3f Merge "Revert "Add a new warning dialog for Satellite mode"" into 24D1-dev am: 45549d928b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27139078

Change-Id: Ib7b007734f3916b5caf652a79708f20f8df90bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-29 12:51:08 +00:00