Sooraj Sasindran
64f11ee82a
Merge "access system resources with android.R package"
2020-01-24 05:36:15 +00:00
Bonian Chen
5cf0e1ba47
[Settings] DataUsage crash when no SIM inserted
...
Check for null pointer when looking up subcription id.
Bug: 148175728
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageUtils
Change-Id: I4e893fc7de4a3292b3949860ebb59fbe52ac1a8f
2020-01-24 11:08:50 +08:00
David Su
6c6e77ed32
Rename removeDoubleQuotes to sanitizeSsid
...
Bug: 145745815
Test: compiles
Change-Id: Ic2fbb78b30d2c64d584cd94a79b2ed7e5e234440
2020-01-23 18:57:49 -08:00
David Su
dadef49214
Rename WifiManager.enableVerboseLogging/getVerboseLoggingLevel
...
- Rename enableVerboseLogging -> setVerboseLoggingEnabled
- Rename getVerboseLoggingLevel -> isVerboseLoggingEnabled
- Converted getter/setter to take/return boolean
Bug: 144925765
Test: compiles
Change-Id: I6406a91b4692871cf558a63f8510f1734ae48f93
2020-01-23 13:57:33 -08:00
Quang Luong
f21a9b0b11
Merge "Remove WifiEntry transitional security types"
2020-01-23 19:49:43 +00:00
Kweku Adams
24fffd106d
Add RESTRICTED bucket to Developer Options.
...
Add the RESTRICTED to the Standby Apps section in Developer Options so
that developers can easily test the behavior of their app in the bucket.
Bug: 145551233
Test: flash and use UI to put app into RESTRICTED bucket
Change-Id: I786f55a08c1fc53ace2031a635396a0529b2b772
2020-01-23 10:24:01 -08:00
Adrian Roos
150a7f0ac1
Merge "Update name of used API"
2020-01-23 16:29:44 +00:00
Ben Murdoch
7129dd98d8
Merge "Refactor Add new user / restricted profile UX flow."
2020-01-23 14:16:44 +00:00
Ben Murdoch
34462c0cb0
Refactor Add new user / restricted profile UX flow.
...
Incorporate the choose user name / avatar into the
user creation flow so that we don't end up with many
"New User"s.
Bug: 147653252
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.users.EditUserInfoControllerTest"
Change-Id: Ie19230791d8b50c8ab04df89909606179364ebab
2020-01-23 11:11:02 +00:00
Zhen Zhang
0c2e4d3c94
Merge "Add config value to switch between Tether Settings UIs."
2020-01-23 07:07:09 +00:00
Bonian Chen
fae3cf3c49
Merge "[Settings] Support default value for APN protocol"
2020-01-23 03:43:14 +00:00
TreeHugger Robot
a06c915949
Merge "Fix recent location apps problem without profile"
2020-01-23 02:26:34 +00:00
TreeHugger Robot
ed4dd70f53
Merge "[Wi-Fi] Replace WifiEntryShell#getSecurityString with WifiEntry#getSecurityString"
2020-01-23 01:41:19 +00:00
Jorim Jaggi
fd802bca2d
Update name of used API
...
Test: Builds
Change-Id: I470d98b0fff94128ff03322d138930b3bb19342e
Exempt-From-Owner-Approval: Trivial rename
2020-01-22 23:44:34 +00:00
Lifu Tang
f52d7fe4db
Fix recent location apps problem without profile
...
Bug: 147298096
Test: Build and test on device manually.
Change-Id: I14aaf23636d6a0e778154fe589131e66c313bfdd
2020-01-22 15:16:32 -08:00
TreeHugger Robot
f160cbed83
Merge "Fix incorrect sub text on Bug report handler settings launched by a work profile app."
2020-01-22 19:40:01 +00:00
Bonian Chen
5fcb8ee011
[Settings] Support default value for APN protocol
...
Add default value on APN (roaming) protocol based on configuration when user leave it empty during editing APN.
Bug: 142440775
Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ApnEditorTest
Change-Id: I3f1ca0ef17ceaaf2a94b21b6034cd74e56081b61
2020-01-23 03:38:29 +08:00
Sooraj Sasindran
740d67320a
access system resources with android.R package
...
Bug: 143289541
Test: make
Change-Id: Idc10955639bce7b8e579c50af78056389d44d492
2020-01-22 10:26:43 -08:00
Paul Chang
b3b1a5c40a
Fix incorrect sub text on Bug report handler settings launched by a work profile app.
...
Bug: 147257237
Test: Flash device and check the sub text
Change-Id: I2ea728c82502d3c91fa7262f353da6f98911adce
2020-01-23 01:59:55 +08:00
Jorim Jaggi
f12f9e4b0b
Merge "Window Manager Flag Migration (7/n)"
2020-01-22 16:12:24 +00:00
Bonian Chen
1a3e286d0c
Merge "[Settings] replace isNonTtyOrTtyOnVolteEnabled() and isVtEnabledByUser() in VT"
2020-01-22 05:13:06 +00:00
Josh Hou
b942769c2a
Merge "Show/hide 5G preferred network type also consider allowed_network_type"
2020-01-22 01:27:51 +00:00
Daniel Bright
ccc42b932f
Merge "[Mainline] Remove NETWORK_TYPE_LTE_CA"
2020-01-22 00:43:50 +00:00
Jay Aliomer
d810e83a19
Merge "Custom dark theme scheduling"
2020-01-21 21:27:29 +00:00
Daniel Bright
a632c79d32
[Mainline] Remove NETWORK_TYPE_LTE_CA
...
NETWORK_TYPE_LTE_CA is not bubbled up outside of the Telephony Packages
Test: make,flash
Bug: 147111233
Change-Id: I1eed95ee1060aff953306a696e91e0205acdad7c
2020-01-21 12:28:25 -08:00
Bonian Chen
562a1872fd
Merge "[Settings] replace isNonTtyOrTtyOnVolteEnabled() in VoLTE"
2020-01-21 19:33:04 +00:00
Bonian Chen
b053cd63a4
Merge "[Settings] replace isNonTtyOrTtyOnVolteEnabled() and isWfcEnabledByUser() in WFC"
2020-01-21 19:32:23 +00:00
David Su
77b86b1e55
Migrate AddAppNetworksFragment to use public getWifiConfiguration()
...
Field wifiConfiguration is @hide and cannot be
used, instead use public getter.
Bug: 138801922
Test: compiles
Exempt-From-Owner-Approval: Fix broken build
Change-Id: Idcaa2fee1950651b1a60e52838083ac8d75e9462
2020-01-21 18:13:27 +00:00
David Su
f56c4defc7
Merge "Settings: migrate usage of @hide NetworkSuggestion APIs"
2020-01-21 17:05:24 +00:00
Bonian Chen
c4413a850f
[Settings] replace isNonTtyOrTtyOnVolteEnabled() and isWfcEnabledByUser() in WFC
...
1. Code refactor
2. Replace ImsManager#isNonTtyOrTtyOnVolteEnabled() by combination of
TelecomManager#getCurrentTtyMode() and
ImsMmTelManager#isTtyOverVolteEnabled()
3. Replace ImsManager#isWfcEnabledByUser() by
ImsMmTelManager#isVoWiFiSettingEnabled()
Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSliceHelperTest
Change-Id: I57c91a095fc4d454d92e8d78e0b647b4f098c6a3
2020-01-22 00:24:16 +08:00
Julia Reynolds
63bbda167f
Merge "Add screen for notification history"
2020-01-21 16:21:30 +00:00
Bonian Chen
e8771c9ceb
[Settings] replace isNonTtyOrTtyOnVolteEnabled() and isVtEnabledByUser() in VT
...
1. Code refactor
2. Replace ImsManager#isNonTtyOrTtyOnVolteEnabled() by combination of
TelecomManager#getCurrentTtyMode() and
ImsMmTelManager#isTtyOverVolteEnabled()
3. Replace ImsManager#isVtEnabledByUser() by
ImsMmTelManager#isVtSettingEnabled()
Bug: 140542283
Test: m RunSettingsRoboTests -j
ROBOTEST_FILTER=VideoCallingPreferenceControllerTest
Change-Id: I731c086cfea4330424b042bbf473b3cf77696a8c
2020-01-21 16:13:48 +00:00
Bonian Chen
00f42fb6fc
[Settings] replace isNonTtyOrTtyOnVolteEnabled() in VoLTE
...
1. Code refactor
2. Replace ImsManager#isNonTtyOrTtyOnVolteEnabled() by combination of
TelecomManager#getCurrentTtyMode() and
ImsMmTelManager#isTtyOverVolteEnabled()
Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest
Change-Id: I5ea5978529a7ae9a63161caca22fb29102f24150
2020-01-21 16:13:38 +00:00
Bonian Chen
ff1863451f
Merge "[Settings] replace isNonTtyOrTtyOnVolteEnabled() in WFC"
2020-01-21 16:11:07 +00:00
Julia Reynolds
b37d565ce8
Add screen for notification history
...
Bug: 137396965
Test: manual
(cherry picked from commit 84b593d592a74aeddfce453bc8700180192199ed)
Change-Id: Icac4000bd7323583f8a5f462ccb40826a4151765
2020-01-21 10:06:47 -05:00
Bonian Chen
2c0088be68
Merge "[Settings] apply WifiCallingQueryImsState"
2020-01-21 14:57:10 +00:00
Bonian Chen
72717cb537
[Settings] replace isNonTtyOrTtyOnVolteEnabled() in WFC
...
1. Code refactor
2. Replace ImsManager#isNonTtyOrTtyOnVolteEnabled() by combination of
TelecomManager#getCurrentTtyMode() and
ImsMmTelManager#isTtyOverVolteEnabled()
Bug: 140542283
Test: manual
Change-Id: Ia5179ee1a23f054899bc74c796542bae40cdc8d5
2020-01-21 22:40:33 +08:00
Josh Hou
0393bbcc85
Show/hide 5G preferred network type also consider allowed_network_type
...
1. The carrier or privileged apps will enable/disable network types on
the device, so Settings references the allowed network type to show/hide
5G preferred network type option.
2. For mainline, copy the getNetworkTypeFromRaf() from RadioFamily to
Settings.
Bug: 136730709
Test: Manual test & EnabledNetworkModePreferenceControllerTest
1. Enable allowed_network_type
2. Disable allowed_network_type
Change-Id: I493f2a2c7f4bc32b3fcb8ab2bace5839d8667bd5
2020-01-21 14:34:51 +00:00
Tiger Huang
df93c77dc4
Window Manager Flag Migration (7/n)
...
Let the client control the window layout about avoiding insets.
Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
InsetsPolicyTest WindowStateTests CommandQueueTest
RegisterStatusBarResultTest InsetsFlagsTest
LightBarControllerTest RegisterStatusBarResultTest
ViewRootImplTest DisplayPolicyLayoutTests
DisplayPolicyInsetsTests DisplayPolicyTests
Change-Id: I63c778b35347ac104c7ec335bc6dc82c2c55018d
2020-01-21 22:05:26 +08:00
Bonian Chen
4482de98ed
Merge "[Settings] add VtQueryImsState for IMS"
2020-01-21 13:30:00 +00:00
Bonian Chen
16b9b8fac8
Merge "[Settings] add VolteQueryImsState for IMS"
2020-01-21 12:45:43 +00:00
Bonian Chen
00a964bc0f
Merge "[Settings] Allow more user to take responsibility"
2020-01-21 12:12:57 +00:00
Bonian Chen
1407d80f4c
[Settings] add VtQueryImsState for IMS
...
1. Code refactor
2. Introduce VtQueryImsState and VolteQueryImsState for user enable/disable configuration
Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=VideoCallingPreferenceControllerTest
Change-Id: I72ec009a8808875fef144a24486b94ef4a7fd35c
2020-01-21 20:10:47 +08:00
Bonian Chen
bd9a04ceea
[Settings] add VolteQueryImsState for IMS
...
1. Code refactor
2. Introduce VolteQueryImsState for user enable/disable configuration
Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest
Change-Id: I9c18c8900ac01909030d9433935650c1581a0fb0
2020-01-21 19:39:29 +08:00
Bonian Chen
a498eae245
[Settings] apply WifiCallingQueryImsState
...
1. Code refactor
2. Apply WifiCallingQueryImsState to more WifiCalling classes
Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingSliceHelperTest
Change-Id: Idd4935a6d8ceed77c15e90f96781014d1940a427
2020-01-21 19:33:16 +08:00
Bonian Chen
21f86f9f4d
Merge "[Settings] add WifiCallingQueryImsState for IMS"
2020-01-21 11:25:12 +00:00
TreeHugger Robot
814e65adcb
Merge "Make Wifi and Bluetooth Slices not dismissable."
2020-01-21 10:56:58 +00:00
Menghan Li
8003ea4c4c
Merge "Support accessibility shortcut secondary action (10/n)"
2020-01-21 10:55:53 +00:00
TreeHugger Robot
38403f465b
Merge "Implement new design of Wi-Fi card"
2020-01-21 10:31:33 +00:00
Bonian Chen
106ac9b648
[Settings] Allow more user to take responsibility
...
1. Add owner to wifi calling folder
2. Add songferngwang and tomhsu to telephony part
Bug: None
Test: Not required
Change-Id: I455685eb26df69d929ff3ed3c26ce84aa5f6b1f8
2020-01-21 18:16:19 +08:00