Commit Graph

138579 Commits

Author SHA1 Message Date
Pawan Wagh
54409112e2 Publish system update info when updates are in progress
Publish separate update status when updates are in progress and
device is waiting for restart

Test: m Settings && adb install -r
$ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851

Change-Id: I42936431791055536fe73d018545dd9b2d658cf0
2024-01-26 23:02:27 +00:00
Chun-Ku Lin
0d1418ae91 Merge "Replace ShortcutType with UserShortcutType to reduce duplicate declaration." into main 2024-01-26 22:26:16 +00:00
Faye Yan
b170858886 Merge "Revert "Add the second toggle for the egress data permission on voice activation"" into main 2024-01-26 22:16:02 +00:00
Vineel Sadineni
245cb5f6d6 [automerger skipped] Merge "Make MoreOptionsScope abstract class" into main am: 62d6ccd106 am: 7b16a62bb2 -s ours
am skip reason: Merged-In Iced9df83f600c86cc409abc040fb9ace0dcedf1e with SHA-1 97d36b771a is already in history

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2928196

Change-Id: I8ed92b8919ee5e45e6d5c0dda47edf83da83025c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-26 20:19:35 +00:00
Vineel Sadineni
7b16a62bb2 Merge "Make MoreOptionsScope abstract class" into main am: 62d6ccd106
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2928196

Change-Id: If7656674b4675eec8de6d8bca635955a66e7760c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-26 19:20:01 +00:00
Becca Hughes
6e19c653a8 Merge "Add try/catch to handle invalid settings activity" into main 2024-01-26 18:58:30 +00:00
Faye Yan
97e198b096 Revert "Add the second toggle for the egress data permission on voice activation"
This reverts commit a0f67e8591.

Reason for revert: Fedhot team cancel the egress data permission

Change-Id: Ib740896b41dc3eea1d196eecaf0abe13eff842a4
2024-01-26 18:36:23 +00:00
Faye Yan
68bc311bec Merge "Revert "Fix the op mode dependency for the second toggle:"" into main 2024-01-26 18:35:41 +00:00
Vineel Sadineni
62d6ccd106 Merge "Make MoreOptionsScope abstract class" into main 2024-01-26 18:10:18 +00:00
Becca Hughes
09fa333f47 Add try/catch to handle invalid settings activity
Change-Id: I20d9480fd3bfe14fe4e85ed2937aaba3df09302d
Test: make
Bug: 322287971
2024-01-26 17:51:55 +00:00
Weng Su
5510f605ce Fix WifiDialogActivityTest legacy issue
- Add @LooperMode(LooperMode.Mode.LEGACY) to fix loop issue.

Bug: 314867581
Flag: None
Test: unit test
atest -c SettingsRoboTests

Change-Id: Ib1676a8502005870e9944fc654801916fe1bb945
2024-01-27 00:09:54 +08:00
Hakjun Choi
7f2f0612d1 Reflect satellite api refactoring to Settings
Removed the word Satellite from all the method names might improve brevity and readability excluding cases that cause confusion.

Bug: 297933128
Test: manual test using testSatelliteApp

Change-Id: Ia817b8bf531031c28264750c03a6f7004ed81aa5
2024-01-26 13:26:25 +00:00
Alice Kuo
fdbdc16285 Add BluetoothLeAudioModePreferenceControllerTest
Bug: 273153850
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioModePreferenceControllerTest
Change-Id: I967764848c953a9156981e121e924d5a18617d2f
2024-01-26 12:25:10 +00:00
Alice Kuo
37e1fef9d4 Change the switcher to switch LE audio mode with broadcast
Change the previous toggle design to list option for broadcast feature.
The new toggle change is only applied as broadcast feature enabled whcih
is behind a feature flag.

Bug: 273153850
Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioPreferenceControllerTest
Change-Id: Ic2ea10d9d9529a2d413525c1b660f8fbac371502
2024-01-26 20:22:45 +08:00
Treehugger Robot
5fe4714851 Merge "Restrict WifiDialogActivity" into main 2024-01-26 10:56:00 +00:00
Weng Su
51fa3d798a Restrict WifiDialogActivity
- Don't show WifiDialogActivity if user has DISALLOW_ADD_WIFI_CONFIG

Fix: 299931761
Bug: 314867581
Flag: None
Test: manual test with TestDPC
atest -c SettingsRoboTests:WifiDialogActivityTest

Change-Id: Icbb8f45922ded163208976be9c2816060dcf09f1
2024-01-26 18:01:28 +08:00
Chelsea Hao
5e7c054b92 Merge changes I99011feb,Ie066077f,I44e631cb into main
* changes:
  [Audiosharing] Handle source remove plus small refactor.
  [Audiosharing] Some UI tweaks (e.g, sort by RSSI)
  [Audiosharing] Add button action in detail page.
2024-01-26 09:48:42 +00:00
Haijie Hong
1f09fa5d3f Move bluetooth operations inAdvancedBluetoothDetailHeader to background thread
Bug: 305636727
Test: atest AdvancedBluetoothDetailsHeaderControllerTest

Change-Id: I2827deb7ab989169eb2c64c8d075e18cd1a307c7
2024-01-26 09:18:09 +00:00
chelseahao
a6680963fa [Audiosharing] Handle source remove plus small refactor.
Bug: 308368124
Test: manual
Change-Id: I99011feb762445e75652cbe59c2653dced7dd4f7
2024-01-26 16:48:21 +08:00
chelseahao
8b5da73e4d [Audiosharing] Some UI tweaks (e.g, sort by RSSI)
Bug: 308368124
Test: manual
Change-Id: Ie066077f6ef47a57b9fb1c85bc7200498dcae093
2024-01-26 16:46:23 +08:00
chelseahao
8a3ebe25e0 [Audiosharing] Add button action in detail page.
Bug: 308368124
Test: manual
Change-Id: I44e631cb75af432965d2221e71676146ea1537b6
2024-01-26 16:46:23 +08:00
SongFerng Wang
5729057880 Merge "SIMs page enhancement" into main 2024-01-26 07:53:30 +00:00
Faye Yan
19a0292230 Revert "Fix the op mode dependency for the second toggle:"
This reverts commit 78f99c6a67.

Reason for revert: The Fedhot team cancel the egress data permission

Change-Id: I57c2fad0450f5f5ad36a5ff8a39ed42603b09d49
2024-01-26 04:23:30 +00:00
SongFerngWang
685befa86a SIMs page enhancement
This is for the Sim onboarding UI enhancement
- create new SIMs spa UI
- hide the Call & SMS when flag is on

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: munally test

Change-Id: Iaecb8fe435b26f2952263024c93c8719feda96a4
2024-01-26 04:20:01 +00:00
Chelsea Hao
911d85a9fd Merge "[Audiosharing] Implement name and password row." into main 2024-01-26 02:37:26 +00:00
Fan Wu
24045ade0c Merge "Fix ProfileSelectLocationFragmentTest" into main 2024-01-26 01:25:00 +00:00
chelseahao
9f23b4e45f [Audiosharing] Implement name and password row.
Bug: 308368124
Test: manual
Change-Id: I86d0e771ece0ea7003a50ee0cc9305814d85fecb
2024-01-26 00:59:44 +00:00
Riley Jones
317173b7cd Merge "Created a dedicated activity for EditShortcutsPreferenceFragment. This will allow it to be reached via intent." into main 2024-01-25 21:33:33 +00:00
Chaohui Wang
745c69b76a Make MoreOptionsScope abstract class
Bug: 321724969
Test: m Settings
Test: unit test
Merged-In: Iced9df83f600c86cc409abc040fb9ace0dcedf1e
Change-Id: Iced9df83f600c86cc409abc040fb9ace0dcedf1e
2024-01-25 20:22:45 +00:00
Massimo Carli
4db2698714 Merge "Use custom default font_scale behing flag" into main 2024-01-25 18:06:13 +00:00
Yanting Yang
6e3428c75f Merge "Support dynamic search index for App pinning" into main 2024-01-25 15:01:38 +00:00
Vaibhav Devmurari
caa9338d81 Merge "Add Slow keys A11Y settings to PK settings page" into main 2024-01-25 14:50:17 +00:00
Yuanru Qian
f7f58bd7c8 Merge "Update the string for CSIP pairing dialogs" into main 2024-01-25 05:55:36 +00:00
Bill Yi
f1be6474b4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic2ca1b97da7771e177359bf971959037494ae22a
2024-01-24 21:47:56 -08:00
Bill Yi
1bd5f53e95 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I27ed3d245273b235527cbc3cbe03e21606d03407
2024-01-24 21:45:56 -08:00
Bill Yi
2fbad82ae4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie1b63e2313c8ba935878085988c5772541b5263d
2024-01-24 21:44:11 -08:00
Bill Yi
1f768f6a25 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I87f330f554976c401e0182499ba26e44e8d59475
2024-01-24 21:42:42 -08:00
Bill Yi
f49a0a2c21 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ief3e427f014159138ae33d9ff4f20cacf8267df7
2024-01-24 21:41:53 -08:00
Bill Yi
ef64758057 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2958a2972adcd25e871a286c62b9f704991a362a
2024-01-24 21:40:29 -08:00
Bill Yi
3a86c8e77f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia0ae85fde8ff629355d440e59dd1bfd22e9d544d
2024-01-24 21:39:03 -08:00
Angela Wang
106690e059 Merge changes I3ae8f945,I126ef66d into main
* changes:
  New flag "enable_hearing_aid_volume_offset_control"
  New flag "enable_hearing_aid_preset_control"
2024-01-25 05:08:40 +00:00
Yanting Yang
12b8d82376 Support dynamic search index for App pinning
Bug: 243899654
Test: manual & m RunSettingsRoboTests
Change-Id: I5ae5b604894c53e0e816f7a244104321e22c12de
2024-01-25 04:01:07 +00:00
Fan Wu
647c381848 Fix ProfileSelectLocationFragmentTest
The test environment is not properly setup

Bug: 313569889

Test: atest
Change-Id: I5424e998cc22bf7bbddff6f69bfc7c4e56ea870c
2024-01-25 10:49:07 +08:00
Treehugger Robot
505c91cde9 Merge "Document "Revoke USB debug authorizations"" into main am: e7c4bf5eab am: d769422063
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2924722

Change-Id: I70a642fc420e6fa70670168fe83458c35d621175
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-25 00:52:11 +00:00
Massimo Carli
3770452077 Use custom default font_scale behing flag
When the flag is enabled, we read the default
font scale value from the device_font_scale
property in Settings.

Flag: ACONFIG com.android.window.flags.configurable_font_scale_default DEVELOPMENT
Bug: 316160749
Test: atest SettingsRoboTests:FontSizeDataTest

Change-Id: I03a5ee9a2bd364dca9c75b131832e5f9e868167a
2024-01-25 00:38:39 +00:00
Treehugger Robot
d769422063 Merge "Document "Revoke USB debug authorizations"" into main am: e7c4bf5eab
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2924722

Change-Id: I5994b8801858d404cd22a586bb5a8a4b983acfdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-25 00:12:35 +00:00
Treehugger Robot
e7c4bf5eab Merge "Document "Revoke USB debug authorizations"" into main 2024-01-24 23:24:58 +00:00
Fabien Sanglard
46086cbee0 Document "Revoke USB debug authorizations"
It is not clear why the button "Revoke USB debugging authorizations"
may be missing from the Developer settings. This is only adding a
line to explain why we don't display it.

Test: NA
Bug: NA
Change-Id: Ie67e7a8142fc80d35016e0b43febf68d2c0354d1
2024-01-24 13:52:35 -08:00
Treehugger Robot
3fc7f37c21 Merge "Adjust Settings tests to account for MODES_API" into main 2024-01-24 18:48:45 +00:00
Kyle Zhang
65f7a75f28 Merge "Add test ForceL3FallbackPreferenceControllerTest" into main 2024-01-24 18:21:23 +00:00