Commit Graph

145494 Commits

Author SHA1 Message Date
Nikhil Nayunigari
891ea3d18a Merge "Feature flag for Ethernet Settings" into main 2025-01-06 09:53:14 -08:00
Treehugger Robot
54bb776d5a Merge "Touchpad: remove individual gesture settings" into main 2025-01-06 09:05:06 -08:00
Matthew DeVore
ace72e4455 Merge "Tweak TopologyScale API according to current usage" into main 2025-01-06 09:00:02 -08:00
Matías Hernández
837a3477ab Merge "Remove incorrect call to Window.addFlags with a system flag" into main 2025-01-06 07:16:05 -08:00
Tom Hsu
e2ba1a89c2 Merge "NTN connected type is manual, UI status shall be checked by callback." into main 2025-01-06 02:48:39 -08:00
Chelsea Hao
856a577b17 Merge "Support generic qr code scanners." into main 2025-01-06 02:26:22 -08:00
Ze Li
6856d1ebd3 Merge "[Temp bonding] Hide temp bond devices from existing lists" into main 2025-01-06 02:18:32 -08:00
tomhsu
88a0a7610c NTN connected type is manual, UI status shall be checked by callback.
- Manual type shall check with onCarrierRoamingNtnAvailableServicesChanged
 - Automatic type check shall check with getAttachRestrictionReasonsForCarrier

Flag: EXEMPT bug fix
Fix: b/387523217
Test: Manual test
Change-Id: Id28885a0972a7f7d6c43ae22149b6e3e49d7f374
2025-01-06 09:15:19 +00:00
chelseahao
679b76d8e9 Support generic qr code scanners.
Test: atest
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I8dee57903c42d00351e28a891cee917e078839ac
2025-01-06 15:11:40 +08:00
Haijie Hong
12f53fadd8 Merge "Fix device icon overflow issue" into main 2025-01-05 22:16:49 -08:00
YK Hung
3ebad89891 Merge "Use try-with-resources for BatteryUsageStats" into main 2025-01-05 20:42:01 -08:00
Chelsea Hao
1d10e6bba2 Merge "[Audiosharing] When bt is off or unsupported, we show "Please connect a device" dialog after camera scans a QR code" into main 2025-01-05 19:07:56 -08:00
Treehugger Robot
a98694a34c Merge "Add talkback hint to SIM name EditText" into main 2025-01-05 17:17:08 -08:00
Weng Su
e5c80148b7 Add talkback hint to SIM name EditText
Bug: 385808957
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ide9161690f87c048eaa348d410674a6fb74ea07c
2025-01-06 07:22:20 +08:00
Bill Yi
ea095beb6c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-01-04 22:17:23 -08:00
Bill Yi
3c389cfa99 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-01-04 22:17:23 -08:00
Haijie Hong
7928455af6 Fix device icon overflow issue
Flag: EXEMPT minor fix
Bug: 373988997
Test: local tested
Change-Id: I13185e3fc0b57dd6079eb0bef5d8fbda5efbddb9
2025-01-04 21:47:22 +08:00
Matthew DeVore
154c32e5f3 Tweak TopologyScale API according to current usage
Use Float rather than Int for View coordinates as mostly Floats are
required. Also stop requiring Point/PointF boxing of arguments, since
the Preference implementation ended up not using Point/PointF objects
very much.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Test: atest DisplayTopologyPreferenceTest.kt
Change-Id: Iecccb9d524014c3b6ad600f99b9e769418e57a4d
2025-01-03 14:35:16 -06:00
Aishwarya Mallampati
45926f698b Merge "Address API review comments." into main 2025-01-03 11:30:49 -08:00
Matthew DeVore
4e78151345 Merge "Allow drag/drop of display blocks" into main 2025-01-03 10:56:31 -08:00
Matthew DeVore
d1510f4bee Allow drag/drop of display blocks
After dropping, apply the new topology to the DisplayManager. We assume
the new topology is immediately written and read it back.

We don't yet respond to updates of the topology from other apps or
components; this will come in a follow-up patch soon.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Test: drag a display when there is only one in the topology
Test: drag a display when there are two in the topology
Test: close and re-open settings to verify a topology is persisted
Test: atest DisplayTopologyPreferenceTest.kt
Change-Id: I26aa7325570c5fd3e8b5fb60cb6e1196f8657b80
2025-01-03 11:43:23 -06:00
Hani Kazmi
57e649ae4e Merge "Revert "Revert "[AAPM] Add advanced protection dialog according ..."" into main 2025-01-03 09:25:46 -08:00
Matías Hernández
e0510a62eb Remove incorrect call to Window.addFlags with a system flag
The same flag is being (correctly) added in onCreate, so on top of being wrong this was also completely unnecessary.

Bug: 368579654
Test: atest NotificationAccessConfirmationActivityTest
Flag: EXEMPT bugfix

Change-Id: I539fca77a1d136bdd0e4892993020884430b8a4e
2025-01-03 14:54:52 +01:00
chelseahao
d187437c57 [Audiosharing] When bt is off or unsupported, we show "Please connect a device" dialog after camera scans a QR code
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_qr_code_private_broadcast_sharing
Test: atest
Change-Id: I89697e25b57d67fa765f5ad593b72f6cdecda418
2025-01-03 02:07:44 -08:00
Zaiyue Xue
5a3107b940 Use try-with-resources for BatteryUsageStats
This is a better practice for closable class BatteryUsageStats. It can
make sure BatteryUsageStats will be closed even exception is thrown.

Bug: 384795117
Test: presubmit
Flag: EXEMPT bug fix
Change-Id: Ie8f0e34aed38ffd5402e3c16a9ace4128d431286
2025-01-03 17:51:11 +08:00
Treehugger Robot
509c1d7834 Merge "[Catalyst] Use the AbstractKeyedDataObservable in BatterySaverStore" into main 2025-01-03 01:04:08 -08:00
Yiyi Shen
c670db6ebf Merge "Update talkback text for device details gear button" into main 2025-01-03 00:39:34 -08:00
Ze Li
440de09d47 [Temp bonding] Hide temp bond devices from existing lists
The metadata change listener will be added in later changes.

Test: atest: com.android.settings.bluetooth.ConnectedBluetoothDeviceUpdaterTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: I3ba5a978ce66e748fc1a7666fa4f6e84144c2c54
2025-01-03 14:03:10 +08:00
Hakjun Choi
5a622211dc Merge "Prevent possible crash by adding null pointer check" into main 2025-01-02 18:47:27 -08:00
Haijie Hong
2d2770b835 Merge "Don't update UI if getActivity returns null" into main 2025-01-02 17:37:50 -08:00
Yining Liu
9d200f1f38 Merge changes I1dffab01,I6e34ef9b,Ia8d472ea,Icf4e7003 into main
* changes:
  Notification on lockscreen settings: adapt text view for large font
  Inverse toggles on the notifications on locks screen settings page
  Update appearance of notifications on locks screen settings page
  Remove description from notifications on locks screen settings page
2025-01-02 16:11:51 -08:00
Nikhil Nayunigari
adf30c5706 Feature flag for Ethernet Settings
Flag: com.android.settings.connectivity.ethernet_settings

Adding an aconfig flag for Ethernet Settings CUJs as defined in
go/al-ethernet-prd

Bug: b/384375770
Change-Id: I028e4ac1038416b720fa8872301f50c65f1d4a5f
2025-01-02 21:27:25 +00:00
Adam Bookatz
2a828c6bde Merge "Expand uninstallForAll to Admins" into main 2025-01-02 11:01:50 -08:00
Bill Yi
246ac6bde8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib4dc621dfe037b8f24f1996de8cd05f4db967e10
2025-01-02 09:17:11 -08:00
Bill Yi
b43ea21813 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ida99c3332c2b0edb30238621175792496d67a288
2025-01-02 09:15:13 -08:00
Treehugger Robot
1d0c7054b4 Merge "Add talkback hint to Wi-Fi hotspot preferences" into main 2025-01-02 05:11:03 -08:00
Hani Kazmi
8e28132ba2 Revert "Revert "[AAPM] Add advanced protection dialog according ..."
Revert submission 31078830-revert-30767017-aapm-dialog-api-feedback-TBLFTCNTUN

Reason for revert: Addressed failing test

Reverted changes: /q/submissionid:31078830-revert-30767017-aapm-dialog-api-feedback-TBLFTCNTUN

Change-Id: I3321b4f5baaca9dd270350b9201998ffe0d40473
2025-01-02 05:07:50 -08:00
Hakjun Choi
e3f0ebfe5b Prevent possible crash by adding null pointer check
Flag: EXEMPT bug fix
Bug: 383144219
Test: manually test if it works finely
Test: atest NetworkSelectRepositoryTest NetworkSelectSettingsTest
Change-Id: I55c50c7ed9856461e00239df2a683693510fd0b7
2025-01-02 04:16:54 -08:00
Haijie Hong
967a05a32d Merge "Add content description for battery charging status icon" into main 2025-01-02 02:55:58 -08:00
Haijie Hong
6c7bd9109d Don't update UI if getActivity returns null
Flag: EXEMPT minor fix
Test: local test
Bug: 383016400
Change-Id: I4d62da1a6d74db18f2c7cd20eb2e5b3825556fc5
2025-01-02 00:53:44 -08:00
Treehugger Robot
e380b4e9b3 Merge "Removed duplicate title in SetupChooseLock" into main 2025-01-02 00:41:24 -08:00
Shawn Lin
299449e29f Merge "[Biometric Onboarding & Edu] Support check enrolled fingerprint" into main 2025-01-01 21:51:52 -08:00
Jacky Wang
16cc1a1f24 [Catalyst] Rename PreferenceScreenMetadata{Creator,Factory}
Bug: 386179791
Flag: com.android.settings.flags.catalyst
Test: manual
Change-Id: Id932b2555bd72f3635ad1a866c866b5d5535ce86
2025-01-02 10:11:26 +08:00
Chaohui Wang
99c5bf8b2c Merge "Reduce Mobile data switch flaky" into main 2025-01-01 17:44:56 -08:00
Harry Cutts
d4a469b4ca Touchpad: remove individual gesture settings
These were never plumbed in, never mind launched, and are sometimes
causing confusion in design discussions when people have the feature
flag turned on. Let's remove them.

Bug: 245989146
Test: check System > Touchpad > Touchpad gestures option is removed even
      when the flag's enabled
Flag: EXEMPT removing code controlled by a legacy sysprop-based flag
Change-Id: I22ca19faf6fed430bb3f0733867716a02514ac8d
2024-12-31 11:47:51 +00:00
Zoey Chen
3b6a8f9ba4 Merge "[Settings] Add search icon in region picker" into main 2024-12-31 02:19:47 -08:00
Zoey Chen
0f76903817 [Settings] Add search icon in region picker
Bug: 38526548
Flag: EXEMPT refactor
Change-Id: I1016f5f812d8f0c43a2b3a899bd70b6672f44481
2024-12-31 08:57:25 +00:00
Treehugger Robot
afb33b5988 Merge "Use AbstractSubscriptionPreferenceController in WifiCallingSettings" into main 2024-12-31 00:14:01 -08:00
Sunny Shao
13938078db [Catalyst] Use the AbstractKeyedDataObservable in BatterySaverStore
NO_IFTTT=Catalyst migration

Test: atest BatterySaverScreenTest
Bug: 335132588
Flag: com.android.settings.flags.catalyst_battery_saver_screen
Change-Id: I93dbffb0fdda002ed94dddb7cf94f1beeeb3e478
2024-12-31 15:54:18 +08:00
Chaohui Wang
440c3c2779 Reduce Mobile data switch flaky
Set initial value to null, so no animation when the actual value true
is emitted.

Bug: 329584989
Flag: EXEMPT bug fix
Test: manual - on SIMs
Test: unit test
Change-Id: I3eea55115f02e65dcdcc44ccf917f9083622b723
2024-12-31 14:54:54 +08:00