Commit Graph

143132 Commits

Author SHA1 Message Date
Chelsea Hao
2074ef938b Merge "[Audiosharing] Toast message when sharing on/off" into main 2024-08-20 04:27:18 +00:00
Xinyi Mao
7bb5b8dc4f Merge "Get the application context and pass into to a background executor." into main 2024-08-20 03:09:21 +00:00
Chaohui Wang
9f5c4f994d Merge "Create ImsFeatureRepository" into main 2024-08-20 02:53:38 +00:00
Bill Yi
2125e64a47 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I16805c844b842063fede5b2f006097ce3f0c0d18
2024-08-19 15:42:41 -07:00
Treehugger Robot
a6f3c74533 Merge "Flip order of start/finish" into main 2024-08-19 22:41:59 +00:00
Bill Yi
001ae5eb1d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I071d1a47f783b69229223f2eefdd07add8786bd6
2024-08-19 15:41:30 -07:00
Bill Yi
4ddd2c7953 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I75a17e722eaae9f2f3d49ae00346ca51015011db
2024-08-19 15:38:10 -07:00
Bill Yi
a270fa274b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I606040c66f03676a8406e49be1166a94b2b12d08
2024-08-19 15:35:56 -07:00
Bill Yi
00dd7dff9c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibca7f890b6a113ce2e234bc720622e9b8782368c
2024-08-19 15:33:43 -07:00
Bill Yi
a8df4e4376 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0b3b3199ff8c32bc580a51c99e41270623a2ed3d
2024-08-19 15:32:29 -07:00
Bill Yi
b68b9feb5d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idefefe8fee570d59a76c4a05eccb8edb49cac4cb
2024-08-19 15:30:13 -07:00
Julia Reynolds
a2ca48723a Flip order of start/finish
Test: long press on a not setup mode tile on a large screen device
Flag: android.app.modes_ui
Fixes: 360898235
Change-Id: I1d4128c6ee3469dceb00e8cffdd5da7f4b3732b4
2024-08-19 21:18:08 +00:00
Matías Hernández
c85e48b0aa Merge "Rename DND Access to Priority Modes Access in Settings" into main 2024-08-19 17:18:26 +00:00
Haijie Hong
7cd4a3987f Add device details more settings page
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ia9eff049e73e039ac5d0fb26096ab4e9add60315
2024-08-19 23:41:16 +08:00
Matías Hernández
fe1d29699e Rename DND Access to Priority Modes Access in Settings
Bug: 360384256
Test: manual
Flag: android.app.modes_ui
Change-Id: If01a14cfac8cf5660cf93ef10bce6a334472a0b9
2024-08-19 16:42:18 +02:00
Julia Reynolds
55a0d3b0e0 Merge "Don't show permission page in profiles" into main 2024-08-19 13:51:00 +00:00
Matías Hernández
c5c158ab38 Use the prebuilt manual DND mode from TestModeBuilder in tests
Instead of unnecessarily creating them by hand. This also allows restricting the visibility of the ZenMode constructors (which should only be instantiated by ZenModesBackend in production code).

Bug: 360817586
Test: atest com.android.settings.notification.modes
Flag: android.app.modes_ui
Change-Id: Id5a232a5a0ffc7bc09652fc4b6e6dd2a6383a2ae
2024-08-19 15:16:56 +02:00
Abdelrahman Awadalla
528abd92dd Merge "Adding methods to enable Touchpad Visualizer option" into main 2024-08-19 12:52:19 +00:00
Abdelrahman Awadalla
5ef762b2b0 Adding methods to enable Touchpad Visualizer option
Adding methods to enable the Touchpad Visualizer option based on both the feature flag and the value of the settings toggle.

Test: atest TouchpadVisualizerPreferenceControllerTest
Test: Enable the flag and enable the "Show touchpad input" in developer
      options and trace the logs in TouchpadInputMapper.
Bug: 359801523
Flag: com.android.hardware.input.touchpad_visualizer
Change-Id: I1c51bc617e907081043cea3e6bab1c719f4d2df9
2024-08-19 11:07:34 +00:00
Chaohui Wang
37693f29f1 Create ImsFeatureRepository
To be shared with video calling and VoLTE features.

Bug: 233327342
Flag: EXEMPT bug fix
Test: manual - on Mobile Settings
Test: atest ImsFeatureRepositoryTest
Change-Id: Ic7bcb532c4bd32c6f7ac4af1eebdd8a70a86ff29
2024-08-19 17:16:07 +08:00
mxyyiyi
511b67e0b8 Get the application context and pass into to a background executor.
Bug: 360260798
Test: manual
Flag: EXEMPT bug fix
Change-Id: I77bf9a7be75257be7871714afaf1fba81787f8b1
2024-08-19 17:02:32 +08:00
Chelsea Hao
6b25f15fe6 Merge "Display broadcast name on the unsupported dialog." into main 2024-08-19 07:05:12 +00:00
Quang Anh Luong
d49a056641 Fix NetworkProviderSettingsTest#onWifiEntriesChanged
Fix onWifiEntriesChanged_shouldChangeNextButtonState() to use the
updated onWifiEntriesChanged(int reason) callback method.

Flag: EXEMPT test fix

Bug: 313585353
Test: atest NetworkProviderSettingsTest
Change-Id: If2bcb2ee654aef519c48dd310442750fc30c9c05
2024-08-19 06:27:06 +00:00
Chaohui Wang
6f9f6cff6b Merge "Settings search for app data usage" into main 2024-08-19 05:17:45 +00:00
Chaohui Wang
2c751d1671 Merge "Create UiccSlotRepository" into main 2024-08-19 05:17:04 +00:00
chelseahao
0edf69d4e8 Display broadcast name on the unsupported dialog.
Test: atest
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Id1fdcc623e8e54a6ddb6338ab9aa7601fe809b7d
2024-08-19 13:00:28 +08:00
Chaohui Wang
6c6f3471c6 Reduce flaky of title_displayed
Bug: 355413226
Flag: EXEMPT test only
Test: atest InstantAppDomainsPreferenceTest
Change-Id: Id4ed656e462421c6bc59343eb541663c1aa49dfb
2024-08-19 12:12:01 +08:00
Chaohui Wang
189bf9f2b8 Merge "Encode SpaSearchLandingKey with Base64" into main 2024-08-19 02:57:51 +00:00
Treehugger Robot
4cffde0188 Merge "Use the new inspirational text in mode interstitials" into main 2024-08-16 18:52:44 +00:00
Julia Reynolds
2ffd79a626 Don't show permission page in profiles
Unless the permission is already granted

Test: manual, launch com.android.settings.Settings$ZenAccessDetailSettingsActivity from primary and profile
Flag: EXEMPT bugfix
Bug: 326572419
Change-Id: I6fd22dcdd1cfe336155a1b74df3dbca65e60b6a4
2024-08-16 14:46:51 -04:00
Treehugger Robot
2166d2ff8e Merge "Replace the TYPE_UNKNOWN icon, drop the rabbit, keep the lotus flower" into main 2024-08-16 18:43:18 +00:00
Matías Hernández
70a05ec421 Use the new inspirational text in mode interstitials
Also use the OTHER image for calendar/time, instead of UNKNOWN.

Bug: 332730534
Test: manual
Flag: android.app.modes_ui
Change-Id: I85a36d2d409ad3e9f3d5f70f95d90512443971a7
2024-08-16 19:50:17 +02:00
Xin Li
fb1de08eff Merge aosp-24Q3-ts-dev
Bug: 358400644
Merged-In: I52b5a62d20ee7df14ecf93c9b0dbbed6f7dc0f0d
Change-Id: If3a7c6d203d73c752c2e354171416e17de747459
2024-08-16 10:15:18 -07:00
Matías Hernández
1afff118cd Replace the TYPE_UNKNOWN icon, drop the rabbit, keep the lotus flower
Fixes: 360360424
Test: Manual
Flag: android.app.modes_ui
Change-Id: I9a48453aa27e7610e27cdb62e6dc1a212ade3a75
2024-08-16 19:02:32 +02:00
Matías Hernández
7883588653 Flip the INTERRUPTION_FILTER_ALL switch
Instead of "Limit what can notify you", title is now "Allow all notifications" and its behavior is reversed (switch ON hides people/apps/other).

Fixes: 360359116
Test: atest InterruptionFilterPreferenceControllerTest + manual
Flag: android.app.modes_ui
Change-Id: Ibb5334889662ec3aa778cd74c51506718ab0ebc7
2024-08-16 16:45:54 +00:00
Matías Hernández
0a5c7530ed Merge "Fix several issues related to CircularIconsPreference" into main 2024-08-16 16:44:24 +00:00
Joshua Mccloskey
bb23b97519 Merge "Split up FingerprintManagerInteractor" into main 2024-08-16 15:55:56 +00:00
Matías Hernández
b676ca3a62 Fix several issues related to CircularIconsPreference
* Sometimes would cause an unending stream of accessibility events (particularly if starting off-screen). This would break TalkBack and anything that depends on UiAutomator (although the system itself took it like a champ).
* Sometimes would not load images (because the ViewTreeObserver would never fire onGlobalLayout after being added because measured width was 0, even though a new width was calculated later).
* Would not recalculate the number of icons that fit if the width changes after the first layout.

Combining ViewHolders with waiting for measuring and/or ViewTreeObservers was always a wonky approach, even though it should've worked in theory. This should be more robust.

Also fixes the unwanted animation on mode screen load related to the absence of the header name being applied a tad too late.

Fixes: 359948417
Fixes: 360072876
Fixes: 360328804
Test: atest SettingsRoboTests + manual + adb shell uiautomator events
Flag: android.app.modes_ui
Change-Id: I7e5dfbdab220d1ebc1c68e5e87ce544ee86b6a65
2024-08-16 16:20:38 +02:00
Joseph Vincent
044d97ddf9 Merge "Removing TODO from test" into main 2024-08-16 13:13:33 +00:00
Weng Su
1a975d6f72 Refine WifiHotspotRepository variable names
- Since the speed of hotspot design was changed to refer to allowed channels rather than usable channels, remove the "Usable" naming to avoid confusion

Fix: 360312024
Flag: EXEMPT refactor
Test: Manual testing
atest -c WifiHotspotRepositoryTest

Change-Id: Ie54a351e0f788e1b6aeec079ccf6671f7f78fb1c
2024-08-16 18:55:36 +08:00
Yiyi Shen
0f94d4c718 [Audiosharing] Toast message when sharing on/off
Test: manual
Bug: 358249608
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I0f9620d4844b3133f0f213adda24350884fe2d5f
2024-08-16 17:37:21 +08:00
Yiyi Shen
3cfd4cf7fd [Audiosharing] Route to audio sharing page to start broadcast.
Since we already support auto start sharing and add source from QS pill
click. We can reuse the intent when user click on the second LEA headset
to start audio sharing from Connected devices page.

Test: atest
Bug: 331892035
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I83f7ae25ed96bbddb3c631b69b409f09577f421b
2024-08-16 17:32:54 +08:00
Chaohui Wang
6afa25df8b Encode SpaSearchLandingKey with Base64
To ensure the landing key is the same as the indexing key.

Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search roaming
Test: unit test
Change-Id: I26ce712feaa83e9e70a3eb39039e5c3527f24cca
2024-08-16 16:00:02 +08:00
Xinyi Mao
eb1fc8415b Merge "Migrate Spinner on Battery Usage to settingsLib Spinner widget." into main 2024-08-16 07:21:07 +00:00
Chaohui Wang
f2591b2968 Settings search for app data usage
Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search app data usage
Change-Id: Ie39a7f25b72f7b264f53329082fa34231c2aaa89
2024-08-16 14:02:24 +08:00
mxyyiyi
05e857de6a Migrate Spinner on Battery Usage to settingsLib Spinner widget.
Bug: 359429437
Test: visual
Test: atest BatteryUsageBreakdownControllerTest
Flag: EXEMPT bug fix
Change-Id: I71bd1f31db302d407603c71d1a1163ed22fafed8
2024-08-16 13:40:07 +08:00
Treehugger Robot
c9cae8f7a6 Merge "Add flag for the Legal information page migration" into main 2024-08-16 03:55:37 +00:00
Sunny Shao
405251e52f Add flag for the Legal information page migration
Test: compile
Bug: 360061554
Flag: EXEMPT com.android.settings.flags.catalyst_legal_information
Change-Id: Ic5441b27c2663351990b355315cbdb6a11a22aee
2024-08-16 10:17:35 +08:00
Treehugger Robot
4c7e923250 Merge "fix(Color correction): Display default value in slider to match the radio button" into main 2024-08-15 21:40:41 +00:00
Isaac Chai
23258c2b10 fix(Color correction): Display default value in slider to match the radio button
The default value for display in the radio buttons were hard-coded and was not
being reflected to the slider correctly.

Bug: 359379399
Test: locally tested + unit tests added
Flag: com.android.server.accessibility.enable_color_correction_saturation

Change-Id: I95bd0ae1d32561dbbf6b4e87efe70595c9566de8
2024-08-15 19:53:13 +00:00