Commit Graph

2765 Commits

Author SHA1 Message Date
Jacky Wang
858fbdb759 [Catalyst] Make AirplaneModePreference final
NO_IFTTT=Catalyst only

Bug: 375925972
Flag: TEST_ONLY
Test: atest
Change-Id: Ieea0e0e770d93d8bbe6f1f7a608541d5ba42c9cc
2024-12-06 22:20:37 +08:00
tomhsu
63469da6f6 Remove Satellite SOS entry from AOSP
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Bug: b/378408877
Test: make pass
Test: Manual test
Change-Id: If47081be0ed0734be841b2fe9129d22a76ed8e1b
2024-12-06 11:57:15 +00:00
Treehugger Robot
aa2379967c Merge "Remove replicated page of Satellite SOS." into main 2024-12-06 05:06:04 +00:00
tomhsu
c2d25241a1 Remove replicated page of Satellite SOS.
Flag: EXEMPT bug fix.
Bug: b/370509415
Test: make pass
Change-Id: Iff96dd09f8c0876a32064853629f64b0db173099
2024-12-06 03:06:52 +00:00
Weng Su
efbe144a9a [Catalyst] Migrate Airplane Mode preference
NO_IFTTT=Catalyst only

Bug: 375925972
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: Manual testing
atest -c AirplaneModePreferenceTest \
         NetworkDashboardFragmentTest
atest -c NetworkDashboardScreenTest

Change-Id: Ie63f2208a64cadf5faaa274fd4e069d839da850e
2024-12-05 09:10:54 +00:00
tomhsu
f0e06b6cab Fix crash due to resource not found.
Flag: EXEMPT bug fix
Fix: b/382071330
Test: atest pass.
Change-Id: I18ddeea7a9d077444838f39b07ffb2ebc5eb974d
2024-12-04 05:47:42 +00:00
Riley Jones
6d1c378972 Merge "Cleaning up quick settings flag in Settings app" into main 2024-12-03 22:03:04 +00:00
Treehugger Robot
351f6258d8 Merge "Satellite UX - Add learn more into Footer" into main 2024-12-03 12:57:03 +00:00
tomhsu
ceac8c1dde Satellite UX - Add learn more into Footer
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Bug: 378408877
Test: atest pass
Test: Manual test pass.
Change-Id: I27f2c82fe5d6c34cf204472c4199538326d6aec4
2024-12-03 11:21:18 +00:00
Treehugger Robot
0496fc2de5 Merge "[Catalyst] Migrate Wi-Fi switch preference" into main 2024-12-03 08:31:30 +00:00
Weng Su
9faf231dc4 [Catalyst] Migrate Wi-Fi switch preference
NO_IFTTT=Add Catalyst preference

Bug: 372733639
Flag: com.android.settings.flags.catalyst_internet_settings
Test: Manual testing
atest -c NetworkProviderSettingsTest \
         NetworkProviderScreenTest
atest -c WifiSwitchPreferenceTest

Change-Id: Ic6023907608e831d0a946005dd0eb6fd88b301c0
2024-12-03 06:51:18 +00:00
tomhsu
50e695fdb6 Ignore test case to avoid post submit failed
Flag: EXEMPT bug fix
Fix: b/381904824
Test: atest pass
Change-Id: Ie8401c2ac887726090812236882d23ae710c30c8
2024-12-03 05:58:00 +00:00
Riley Jones
acccaff128 Cleaning up quick settings flag in Settings app
Removes all instances of a11y_qs_enabled. Any code that would be nontrivial to remove has been deprecated for later cleanup.

Test: atest com.android.settings.accessibility
Flag: EXEMPT flag cleanup
Bug: 367414968

Change-Id: I81f3c9cee377535eaa552a170d58ec1a79d1da65
2024-12-02 20:38:10 +00:00
tomhsu
115f92e5ca Adds ignore annotation to avoid postsubmit failed.
Flag: EXEMPT bug fix
Fix: b/381507937
Test: atest pass
Change-Id: I27686e44832da9b9d19d0edd4f47d687087148a9
2024-11-29 11:17:10 +00:00
Tom Hsu
4937645ce3 Merge "Create a Satellite SOS entry" into main 2024-11-29 09:18:37 +00:00
tomhsu
90092e7da4 Create a Satellite SOS entry
- This is a entry to start Satellite SOS pagein mobile network page.

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/370509415
Test: atest pass
Change-Id: I3978513b15ad498b9b8ea298060d89fd35efc7ed
2024-11-29 07:19:36 +00:00
Matthew DeVore
9e3f075c3a Merge "Show built-in display if topology is visible" into main 2024-11-28 14:24:16 +00:00
tomhsu
9ca8709173 Disabled Settings preference in case Satellite's conditions.
Conditions
   - Satellite session started
   - Current subscription for Satellite is carrier based.
 Target preference UI in android settings
   - preferred network type
   - Automatically select network

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378409439
Fix: b/378409428
Test: atest pass
Test: Manual test pass
Change-Id: I7aa04b818c8866bf5c891c28372a249c964b066f
2024-11-28 10:37:35 +00:00
tomhsu
ad74d1f1fb Modification for Satellite API change.
Input parameter changed from List to Int[]

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378410271
Test: atest pass
Test: make pass
Change-Id: I1df1354fa5ceea960d41d33ab34da0a415d5fc82
2024-11-28 04:07:53 +00:00
tomhsu
22370a8a4a Make Satellite messageing dynamically change wording by network type
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378410271
Test: atest pass

Change-Id: I6d2d2ba656a6e2eb26ae103f8af84a1ce5fd49c8
2024-11-28 03:14:40 +00:00
Matthew DeVore
4a3af3a735 Show built-in display if topology is visible
The topology in the External Displays list will include the built-in
display. For consistency, also show the built-in display along with the
connected displays, so there is a 1:1 correspondence between blocks in
the topology pane and display preference items.

Test: launch external display fragment with zero or one external display, verify built-in display item appears and opens Display settings if tapped
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Change-Id: Id067034f6af5d0d6fe32f4a8091bc77d1ed75698
2024-11-27 17:50:54 +00:00
Aishwarya Mallampati
25277a0e8f Convert hidden SatelliteManager APIs to System APIs.
Convert hidden CarrierRoamingNtnModeListener in TelephonyCallback to
System API as well.

Bug: 373955860
Test: Manually tested SMS/MMS/DATA/CALL
Test: 380124630
FLAG: com.android.internal.telephony.flags.satellite_system_apis
Change-Id: I3260f84a4603866b468b187624acf97bf02f31ee
2024-11-26 22:09:52 +00:00
Treehugger Robot
29bb748539 Merge "Make UI and wording dynamically show on" into main 2024-11-26 04:47:40 +00:00
tomhsu
db43380380 Make UI and wording dynamically show on
- Satellite preferences may show on by deifferent reason. To fullfill
   these conditions, let category be able to dynamically show on base on
   the preference exist or not.
 - Show string of Connectivity or Messaging for service state change.

Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378408939
Test: atest pass
Test: make pass
Change-Id: Ibb0f9089805bb35d0334603e55d292c9883262ff
2024-11-26 02:44:20 +00:00
Matthew DeVore
6f28e1a3c7 Topology pane in extended displays list
Show an empty topology pane in the extended displays list. Even show
when no external display is connected.

This will be tweaked in a follow-up CL to include the built-in display
in the pane and the displays list.

This fixes an issue where the displays list is not shown when *no*
external displays are connected, which was not the intent of the flag.
The previous flag CL ag/30358161 only respected the flag when 1 external
display was connected.

Based on mocks at go/al-mm-figma

Bug: b/352650922
Test: reboot with zero displays attached and verify display list and pane are shown
Test: on al-13 device, make the activity fullscreen and verify the margins on left and right of pane are larger
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Change-Id: If39fefe943a26c817fa6f636f21eb8aaa080adde
2024-11-25 12:06:04 -06:00
danielwbhuang
d53777f96d Use flag to control the hierarchy tree changes
This change includes these:
Regional preferences
-Temperature
-First day of week
-Numbering system
-Footer preference

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest FirstDayOfWeekControllerTest, NumberingSystemControllerTest, TemperatureUnitControllerTest
Change-Id: Icb628640c05f1f4bb974416c35dce16a14f84a6c
2024-11-25 21:49:07 +08:00
yomna
5d8680e193 Fix redirect to Mobile security page
When the user first access the Mobile network security settings, they
should not open in Safety Center even if Safety Center is supported.
Until notifications are enabled for hardware security APIs, they should
open in Settings. This is because the Safety Center redirect will fail
if the Safety Source has not begun providing data to Safety Center. Also
update the relevant unit test.

Flag: EXEMPT bugfix
Bug: 373942609
Test: m & atest CellularSecurityNotificationsDividerControllerTest CellularSecurityNotificationsPreferenceControllerTest CellularSecurityEncryptionDividerControllerTest CellularSecurityPreferenceControllerTest
Change-Id: Ica87be4f1567541a6e3ccbe5dd5b674224aa1d8e
2024-11-22 03:05:17 +00:00
Olivier Nshimiye
b345f4b006 Merge "Ignore PrivateSpace tests that are failing in pre-submits." into main 2024-11-19 16:28:42 +00:00
Treehugger Robot
770df52e47 Merge "[Satellite] Add category UI for Satellite functions" into main 2024-11-19 10:29:30 +00:00
Olivier Nshimiye
5f1fc5c2ee Ignore PrivateSpace tests that are failing in pre-submits.
These are to be investigated later.

Flag: TEST_ONLY

Bug: 378392936
Test: atest PrivateSpaceMaintainerTest
Change-Id: I32a92399a0c49cbbdcc4494b746b95b168e0b132
2024-11-19 10:04:33 +00:00
tomhsu
c9017355d9 [Satellite] Add category UI for Satellite functions
Flag: com.android.settings.flags.satellite_oem_settings_ux_migration
Fix: b/378408939
Test: atest pass
Test: make pass
Change-Id: Id0f2ba047f4ee71a9ae398aa828978097717ce1a
2024-11-19 09:22:49 +00:00
Treehugger Robot
d930ec424f Merge "Updated interactors to use repos" into main 2024-11-19 02:12:47 +00:00
Matthew DeVore
c4dd7a8288 Add flag for surfacing display topology prototype
This will force the topology pane to show in the displays list UI, and
make the displays list UI accessible from the connected devices
fragment, regardless of the number of actual devices connected.

Once the display topology pane is using real data, this will still be
useful to not skip the display list UI, which currently can only be
shown when there is more than one external display connected.

To turn off, use:
$ adb shell device_config put display_manager com.android.settings.flags.display_topology_pane_in_display_list false

Test: verify "External Display" is always shown in connected devices list
Test: verify displays list is shown when 0 or 1 external display is connected
Bug: b/352648432
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Change-Id: Ic9205c69d9de09e6fb8ae33e17fbf00fe5574447
2024-11-18 12:36:56 -06:00
Weng Su
e24189df08 [Catalyst] Sync APM preference key value
Bug: 375925972
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: Manual testing
atest -c AirplaneModePreferenceControllerTest \
         AirplaneModePreferenceControllerComponentTest

Change-Id: Ibd1e6af39afa768ef40d280ca97fb39ce38bd1c0
2024-11-18 13:14:02 +08:00
Joshua McCloskey
eb13449593 Updated interactors to use repos
Test: Verified flows still work as expected
Flag: EXEMPT bugfix
Bug: 379113250
Change-Id: I548b98f9e9121e7c0b4e613559817895c33af989
2024-11-14 17:24:51 +00:00
Fan Wu
52b8bc332d Ignore the test case that's been failing for a month
Bug: 377633438

Test: atest

Flag: EXEMPT test
Change-Id: I5033365154406cd7f7828bd5224ae169332e9639
2024-11-14 15:16:37 +08:00
Xin Li
cfa19e11a6 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: Ie90e7495dd4a134538bae6e3e08eea0d02134b14
Change-Id: I20517e9ee410e95f2cbeb1247c0c0288ed9f006f
2024-11-11 21:38:40 -08:00
Joshua Mccloskey
c8c6c80562 Merge changes I3726df57,If1dea7b3 into main
* changes:
  Updated Orientation interactor
  Added interupt to accessibility interactor
2024-11-05 23:24:34 +00:00
Shaowei Shen
c0a4fec1e6 Merge "[PhysicalKeyboard] Update Setting Feature Provider for follow up usage" into main 2024-11-05 05:48:53 +00:00
Chaohui Wang
37915bcab2 Merge "Remove TelephonyManagerConstants" into main 2024-11-01 07:17:37 +00:00
Joshua McCloskey
547dd4ebd8 Updated Orientation interactor
Orientation interactor should now immediately give the result of the
orientation.

Test: Verified manually that the orientation is populated when the flow
is collected.
Flag: EXEMPT bugfix
Fixes: 376558183

Change-Id: I3726df57f50ad835f4b0f0768664cab2e7e64326
2024-10-31 21:53:37 +00:00
Joshua McCloskey
5e2adc2683 Added interupt to accessibility interactor
Test: Verified manually
Bug: 366219635
Flag: EXEMPT bugfix
Change-Id: If1dea7b3efd23e40c6c2668867b175ba84f11550
2024-10-31 21:52:14 +00:00
Treehugger Robot
b0e3c959ec Merge "[Catalyst] Create airplane mode preference" into main 2024-10-31 15:50:01 +00:00
shaoweishen
dba15f821f [PhysicalKeyboard] Update Setting Feature Provider for follow up usage
rename method in provider and usage, the provider is not activated now,
this change will not have impact on current feature.

Bug: 369937888
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
Flag: NONE, rename method, no effect on current feature.

Change-Id: I1bb66b106c338a8a8730bbd9163d6a921c17b9c0
2024-10-30 08:22:10 +00:00
Daniel Huang
623be9471d Merge "[ToA] Use radio button style for single selection" into main 2024-10-30 03:03:13 +00:00
Daniel Huang
b995a32466 Merge "Use radio button style for single selection" into main 2024-10-30 02:52:06 +00:00
danielwbhuang
689e0e4a17 Use radio button style for single selection
1. First day of week page
2. Temperature page
3. Numbering system page

Bug: 375979373
Flag: EXEMPT bugfix
Test: atest FirstDayOfWeekItemListControllerTest, TemperatureUnitListControllerTest, NumberingSystemItemControllerTest
Change-Id: I645c5399e49caf880fa83f33a44ff974a602080c
2024-10-29 15:09:12 +00:00
danielwbhuang
2d2f523abe [ToA] Use radio button style for single selection
1. Change TickButtonPreference to SelectorWithWidgetPreference
2. Modify tests

Bug: 375979373
Flag: EXEMPT bugfix
Test: atest TermsOfAddressFeminineControllerTest, TermsOfAddressMasculineControllerTest, TermsOfAddressNeutralControllerTest, TermsOfAddressNotSpecifiedControllerTest
Change-Id: I29c01fb3d2fa9545bdd817f50d9c48b3610f9785
2024-10-29 03:39:07 +00:00
Diya Bera
561019c4fe Merge "Identity Check API" into main 2024-10-28 23:03:53 +00:00
Fan Wu
bee4f9310c Migrate System -> Languages to Catalyst
Bug: 375543649
Test: atest SettingsUnitTests
Flag: com.android.settings.flags.catalyst_language_setting
Change-Id: If7d01bd76ebf8cecb3bcc6b6528cfaec176cdc93
2024-10-28 10:09:40 +00:00