Commit Graph

2800 Commits

Author SHA1 Message Date
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
Weng Su
7557a48e2e [Catalyst] Create airplane mode preference
Bug: 375925972
Flag: com.android.settings.flags.catalyst_network_provider_and_internet_screen
Test: Manual testing
atest -c AirplaneModePreferenceTest
atest -c VpnPreferenceControllerTest

Change-Id: Icf0bb9dfc1a8bda7a001f2ad3c6d6b835c489c0d
2024-10-28 03:54:30 +08:00
Robin Lee
661e081c5c Merge "Override aspect ratio to fullscreen when unset for universal resizeable" into main 2024-10-25 18:24:36 +00:00
Diya Bera
1bad4e27c1 Identity Check API
Update MANDATORY_BIOMETRICS constant to IDENTITY_CHECK

Flag: android.hardware.biometrics.Flags.FLAG_IDENTITY_CHECK_API
Bug: 373424727
Test: N/A

Change-Id: I6413e3695d1e07dcc225230f8fd2d373b1879e8f
2024-10-25 01:20:22 +00:00
Marzia Favaro
215e9c0f3b Override aspect ratio to fullscreen when unset for universal resizeable
Bug: 374968702
Test: UserAspectRatioDetailsTest
Test: UserAspectRatioManagerTest
Test: manual, verify which option is selected by default after app
installation
Flag: com.android.window.flags.universal_resizable_by_default

Change-Id: I04063e4a130d42a4bfd7e548940ca5e654a6d012
2024-10-24 12:57:27 +00:00
Treehugger Robot
98bcb2297a Merge "Avoid flakiness SLO" into main am: aa8b66f3ad am: f5e3b586cb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3310581

Change-Id: Ic5178e94295cb43b7f727670287d735da0fe98ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-23 08:58:18 +00:00
Treehugger Robot
aa8b66f3ad Merge "Avoid flakiness SLO" into main 2024-10-23 08:13:58 +00:00
YK Hung
cb2e1bdabb Fix BatterySaverScheduleRadioButtonsControllerTest
Test was failing because it was not setting the EXTRA_LOW_POWER_WARNING_ACKNOWLEDGED setting.

Change-Id: Id9e95c0240908dafbaa791e7f4f4b9ded9d39d9b
Test: atest BatterySaverScheduleRadioButtonsControllerTest
Bug: 370883745
Fix: 370883745
Flag: EXEMPT for simple bug fix
2024-10-20 02:11:54 +00:00
Treehugger Robot
e82f8ed137 Merge "Refine biometrics accessibility interactor" into main 2024-10-18 07:35:36 +00:00
tomhsu
3f4cf24ad3 Avoid flakiness SLO
Flag: EXEMPT bugfix
Fix: b/365673174
Test: atest pass
Change-Id: If27c4ca7f8dfd1a0670962b5dba1c42303caccce
2024-10-18 07:16:36 +00:00
Chaohui Wang
bf5c04e16b Remove TelephonyManagerConstants
- Must migrated to TelephonyManager directly
- Except NETWORK_MODE_UNKNOWN not in TelephonyManager, moved to
  newly created NetworkModes
- Move addNrToLteNetworkMode() and reduceNrToLteNetworkMode() to
  NetworkModes and adding tests

Bug: 373771849
Flag: EXEMPT refactor
Test: manual - on sims settings
Test: unit tests
Change-Id: I0781a59905415aa7896510ad086d19da48e8ba37
2024-10-18 12:02:53 +08:00
MiltonWu
033b7e5620 Refine biometrics accessibility interactor
1. support non-flow version isEnabled
2. support send announment

Bug: 372385781
Test: Function works w/o build break
Flag: EXEMPT feature flag protected on override project
Change-Id: I2867edf9e9b9cc9190888e257a203acd7877ab3b
2024-10-17 08:39:44 +00:00
Chaohui Wang
9936dae2be Merge "Clean up getNetworkTypeFromRaf()" into main 2024-10-16 09:06:24 +00:00
Chaohui Wang
a088e4c6c5 Clean up getNetworkTypeFromRaf()
And also getRafFromNetworkType()

Use the version in android.telephony.RadioAccessFamily instead.

Bug: 373771849
Flag: EXEMPT refactor
Test: manual - on sims settings
Test: unit tests
Change-Id: I09a3d6a4cdfb9844a92ad8f0507b03b08ce91f27
2024-10-16 14:23:55 +08:00
Xinyi Mao
700f7e9ab2 Merge "Take as Unrestricted Mode in the UI if current Mode is Unknown." into main 2024-10-16 05:58:28 +00:00
mxyyiyi
7bfa060c5f Take as Unrestricted Mode in the UI if current Mode is Unknown.
- Battery usage mode MODE_UNKNOWN is (1) apps in allowlist and (2) app's OP_RUN_ANY_IN_BACKGROUND = MODE_IGNORED.
For this case, mode should be displayed as Unrestricted on UI since it is in allowlist; and should be logged as unknown mode for the potential compatibility issues.

- After Backup & Restore, the MODE_UNKNOWN will be reset to Optimized(Default) Mode on target device.

Bug: 372831500
Test: manual
Test: atest BatteryOptimizeUtilsTest
Test: atest AppOptModeSharedPreferencesUtilsTest
Flag: EXEMPT for simple fix
Change-Id: Ic18e026f71a4a50ffa1711e2ca0782aeb8b33076
2024-10-15 15:53:29 +08:00