SongFerngWang
c14eefb125
[Provider mode] Carrier item display network type on slice.
...
Bug: 176871752
Test: (PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest
Change-Id: I79b4c3d45a52f0be0c058044f1d79a7056386193
2021-01-19 12:23:22 +08:00
SongFerngWang
f3b25cc7cb
The provider model slice carrier toggle is broke.
...
The slice doesn't upload subId for TelephonyManager and
the listeners.
Bug: 177385874
Test: (PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest
Change-Id: Icc8a7793204de2e2eadd0454edf50e466821b8f9
2021-01-19 11:58:58 +08:00
Colin Cross
88ffca9af9
Merge "Build Settings-robo-testutils for use by SettingsGoogleRoboTests"
2021-01-16 01:45:52 +00:00
TreeHugger Robot
535da9c98d
Merge "Revert^2 "Expose role API for Settings on RoleManager.""
2021-01-16 00:20:00 +00:00
Tom Hsu
7c8e8eb6c2
Merge "[Provider mode] Display network type on mobile data preference."
2021-01-15 19:47:17 +00:00
tom hsu
b392d43fff
[Provider mode] Display network type on mobile data preference.
...
Connect to 5G mobile network
- https://screenshot.googleplex.com/8RziSbSjstMaFiK
Connect to Wi-Fi
- https://screenshot.googleplex.com/6ND3DFFsnLKSQRd
Bug: 176141828
Test: Manual test passed.
Test: Atest passed
Change-Id: I69b8ce0c1f5a16f0ff492be0b4ab26166a51bdc3
2021-01-16 01:56:39 +08:00
Yanting Yang
d4ed8b2f81
Merge "Create a new apps page for silky home"
2021-01-15 10:57:58 +00:00
Weng Su
7686bf26dc
Merge "[Provider Model] View airplane mode networks button"
2021-01-15 08:32:59 +00:00
Yanting Yang
92fce8ede4
Create a new apps page for silky home
...
- Change recent apps to the list view.
- Remove Conversations, Notifications and Permission manager.
- Remove Wireless emergency alerts and Special app access.
- Show App info preference if there's no recent apps.
- Show general category with recent apps.
- Use this page as the new apps entry on homepage for silky home.
- Make old apps page unsearchable when silky home is enabled.
- Exported new apps page in AndroidManifest.
Bug: 168166015
Bug: 174964405
Test: robotest & visual
Change-Id: I50d35a9d4723612214fce45a9e129fc175bc6831
2021-01-15 16:16:24 +08:00
Weng Su
ee414fdc81
[Provider Model] View airplane mode networks button
...
- Airplane mode message
- WiFi Disable: “Airplane mode is on”
- WiFi Enabled: “Viewing airplane mode networks”
- “View airplane mode networks” button
- WiFi Disable: “View airplane mode networks”
- WiFi Enabled: hide button
- Screenshot
https://screenshot.googleplex.com/7PuKwaJMLpiDdKh
Bug: 177155647
Test: manual test
- atest ViewAirplaneModeNetworksLayoutPreferenceControllerTest
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: I3222cb04a66d07681709cc95b729b5ecdf999298
2021-01-15 07:10:57 +00:00
Yan Zhu
11cbb5f6f9
Merge "Clean up split system user code in packages/apps/Settings/"
2021-01-15 04:18:25 +00:00
Jeremy Goldman
5a75bf7828
Merge "Utility to compute a single subscription's unique display name."
2021-01-15 02:27:53 +00:00
SongFerng Wang
985bb16057
Merge "Provider model: add string for airplane mode"
2021-01-15 02:15:49 +00:00
Stanley Wang
6a824b3535
Merge "Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings."
2021-01-15 02:14:52 +00:00
Tsung-Mao Fang
8b1b0dc0c3
Use new homepage preference for injected IAs
...
We use homepage preference when it's a injected IAs on homepage
Test: See the screenshot for Google icons
Fix: 177213699
Change-Id: Ibd08ff305cdd6b556b5ceee486df01678c9212a6
2021-01-15 03:46:58 +08:00
TreeHugger Robot
78c6656981
Merge "Refactor AppPreference and AppSwitchPreference"
2021-01-14 15:28:17 +00:00
Stanley Wang
b87ddba6cd
Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings.
...
To log Settings metrics, the MainSwitch extends MainSwitchBar and
replace the SwitchBar in SettingsActivity.
Bug: 175181773
Test: Run robotest and apply the widget in Settings and see the ui
Change-Id: I3add3702e9058ad9192b5172c7cf0e2ccfb55a70
2021-01-14 22:48:31 +08:00
SongFerngWang
b114e490d5
Provider model: add string for airplane mode
...
Bug: 177399563
Test: build PASS and verify the slice's airplane screen.
(PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest
Change-Id: I9f212b8c2c66bf8af32936fca92c46fe86a9b3ef
2021-01-14 12:47:26 +00:00
TreeHugger Robot
0b2c7f99e8
Merge "Add a flag for controlling location indicator settings."
2021-01-13 16:48:37 +00:00
Jeremy Goldman
3c334cc47f
Utility to compute a single subscription's unique display name.
...
Bug: 150370656
Bug: 148303118
Test: atest -c SubscriptionUtilTest
Change-Id: Id4600dbf038117129c62331f9e00b7035af1c0fd
2021-01-13 22:03:03 +08:00
Jeremy Goldman
3c3ce5ea66
Merge "Return mapping of subscription id to unique display name."
2021-01-13 12:04:54 +00:00
Yanting Yang
79c21c07d6
Merge "Override homepage tile positions for silky home"
2021-01-13 11:26:55 +00:00
Ben Chung
613ad3f88b
Merge "Accessibility settings interaction controls category restructure, add system controls fragment for related accessibility services."
2021-01-13 11:19:57 +00:00
Ben Chung
29ace16b35
Accessibility settings interaction controls category restructure, add system controls fragment for related accessibility services.
...
Bug: 174829936
Test: atest SystemControlsFragmentTest, atest AccessibilitySettingsTest
Change-Id: I609207c8c7bf0e5cb4beda0d5c578669bcd005a4
2021-01-13 16:29:44 +08:00
Jeremy Goldman
2fb7e1bbc4
Return mapping of subscription id to unique display name.
...
Fallback 1: if display names are the same, use the last 4 digits of a
phone number
Fallback 2: if the phone number cannot be displayed or the last 4 digits
are identical, fallback to use the subscription id
This function depends on DeviceInfoUtils for the phone number
formatting. Because DeviceInfoUtils is within SettingsLib, this function
(at least for now) is located within the Settings codebase itself.
go/unique-sub-display-names
Bug: 148303118
Bug: 150370656
Test: atest -c SubscriptionUtilTest
Change-Id: Id3e26254d4b193c13506df52fb59e97643df7a32
2021-01-13 16:18:00 +08:00
Yanting Yang
b3381de206
Override homepage tile positions for silky home
...
Create configs to record the packages and orders of homepage tiles and
then according to these data to override homepage tile positions.
Bug: 168166015
Test: visual with turning on/off silky home
Change-Id: I3fcb54ac531a124101084bb40064b5a7227bf311
2021-01-13 15:42:41 +08:00
Stanley Wang
4c7b61ab14
Merge "Use SettingsLib's MainSwitchPreference to replace the Switches which use LayoutPreference."
2021-01-13 02:17:01 +00:00
Edgar Wang
2abd062140
Merge "Fix crash when TestingSettingsBroadcastReceiver handling intent"
2021-01-13 01:35:53 +00:00
Yan Zhu
460c2cbc0f
Clean up split system user code in packages/apps/Settings/
...
Remove legacy code belonged to Andrometa project. Split system user
feature is always turned off now.
Bug: 137101239
Test: build, sync and reboot
Change-Id: Ieb84a6e131383dcd263a5d9b29a49dc64d905fe0
2021-01-12 16:57:49 -08:00
Wei Wang
a6daf85a32
Add a flag for controlling location indicator settings.
...
Bug: 177334097
Test: Manual && make RunSettingsRoboTests ROBOTEST_FILTER=LocationIndicatorsPreferenceControllerTest
Change-Id: I33821ab8328fd18b796a78813b7354a928832792
2021-01-12 16:02:57 -08:00
TreeHugger Robot
050b54165f
Merge "Fix broken tests"
2021-01-12 19:56:47 +00:00
Jeff DeCew
1483080962
Fix broken tests
...
Fixes: 177280083
Test: export ROBOTEST_FILTER="SimSelectNotificationTest"; make -j RunSettingsRoboTests
Change-Id: I2e40c3f530c7466bd1f9c752da67e95805ac2294
2021-01-12 13:24:42 -05:00
Benjamin Franz
1a40f22c36
Merge "Update constructor usage for CompatibilityChangeInfo" am: 39a920dd22 am: 9229794727 am: 04bbd87254
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1541372
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9870c806d1638298a6f1855dc9ffd973d7f2cf24
2021-01-12 16:48:26 +00:00
Benjamin Franz
04bbd87254
Merge "Update constructor usage for CompatibilityChangeInfo" am: 39a920dd22 am: 9229794727
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1541372
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I91b4bd641afa6811cb5837763e60fbfd0decb82e
2021-01-12 16:41:53 +00:00
Stanley Wang
57098f4589
Use SettingsLib's MainSwitchPreference to replace the Switches which use
...
LayoutPreference.
Bug: 175181773
Test: Run robotest and apply the widget in Settings and see the ui
Change-Id: I4588d1fc3004970b174e7c5c5d1aa7745f774985
2021-01-12 23:12:01 +08:00
TreeHugger Robot
adcd4f165d
Merge "Add inline toggle for Prevent Ringing gesture."
2021-01-12 15:03:32 +00:00
Jeremy Goldman
5a97ce8a0a
Merge "WifiSliceHelper and associated test uses immutable PendingIntent flags"
2021-01-12 12:14:13 +00:00
SongFerng Wang
91c03a3254
Merge "Rephrase the see more button of Internet panel when ProviderModel is enabled"
2021-01-12 12:13:40 +00:00
Jeremy Goldman
cd669b84bc
WifiSliceHelper and associated test uses immutable PendingIntent flags
...
Bug: 172203646
Bug: 172810495
Test: atest -c WifiSliceHelperTest
Change-Id: Ie4de9517461a56b2328e8506d9eb640914924822
2021-01-12 16:49:36 +08:00
SongFerngWang
19cd9506c7
Rephrase the see more button of Internet panel when ProviderModel is enabled
...
Bug: 176871139
Test: build Test and manaual test(check the UI)
make RunSettingsRoboTests -j ROBOTEST_FILTER=InternetConnectivityPanel
(PASS)
Change-Id: I5e601c6639d979ca776f4bdf7f5e870a0513c7f5
2021-01-12 16:31:41 +08:00
Ben Chung
f27d3c33c4
Merge "Accessibility settings interaction controls category restructure, add tap assistance fragment for related accessibility services."
2021-01-12 04:53:55 +00:00
Yi-Ling Chuang
b058221b62
Add inline toggle for Prevent Ringing gesture.
...
- Fork sound_settings_v2 for dev.
- Replace Preference with PrimarySwitchPreference for the Prevent
Ringing entry.
- When the toggle is on, only show the status text without the on/off
info.
- Remove unused codes.
Bug: 174964721
Test: robotests
Change-Id: I990f5c778436c8058d4a5953c7f15a9a7eb580d8
2021-01-12 12:48:41 +08:00
Alisher Alikhodjaev
a75273fe12
Merge "Fix robotests failure in connectivity settings" into rvc-qpr-dev am: 07bb0280f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13298728
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia942e29d02f120905558779723fdb4a7b00117f5
2021-01-11 23:31:02 +00:00
Alisher Alikhodjaev
07bb0280f6
Merge "Fix robotests failure in connectivity settings" into rvc-qpr-dev
2021-01-11 23:08:40 +00:00
Hai Zhang
5509b03996
Revert^2 "Expose role API for Settings on RoleManager."
...
e822aea2e1
Bug: 158736025
Test: atest RcsProvisioningMonitorTest
Change-Id: Ib9e66803d780a93db2bbad34745ce1939954a3f3
2021-01-11 22:54:07 +00:00
Diego Vela
12797dc986
Merge "Revert "Expose role API for Settings on RoleManager.""
2021-01-11 19:30:04 +00:00
Diego Vela
e822aea2e1
Revert "Expose role API for Settings on RoleManager."
...
Revert submission 13261069-role-settings-api
Reason for revert: Might be breaking RcsProvisioningMonitorTest
Bug: 177227549
Test: RcsProvisioningMonitor
Reverted Changes:
Idbd0db119:Expose role API for Settings on RoleManager.
Iafe1d2460:Expose role API for Settings on RoleManager.
I6a3e5a26c:Expose role API for Settings on RoleManager.
Change-Id: Ic48c562e8249ca43e7c594f55d94ba190540be22
2021-01-11 19:11:25 +00:00
Ashwini Oruganti
eb9e2e74cc
Merge "Bulk apply PendingIntent.FLAG_MUTABLE_UNAUDITED."
2021-01-11 18:25:05 +00:00
Ben Chung
dfe1977044
Accessibility settings interaction controls category restructure, add tap assistance fragment for related accessibility services.
...
Bug: 174829936
Test: atest TapAssistanceFragmentTest, atest AccessibilitySettingsTest
Change-Id: I39c4eba8ec807248eb11371fab2466cf7d7553ef
2021-01-11 17:21:14 +08:00
Weng Su
062a80f221
Merge "Add Hotspot WPA3 Settings"
2021-01-11 08:46:15 +00:00