Commit Graph

59130 Commits

Author SHA1 Message Date
TreeHugger Robot
13fa76e16d Merge "Add RESTRICTED bucket to Developer Options." 2020-01-24 12:27:37 +00:00
Automerger Merge Worker
336e7f1856 Merge "Add IKEv2/IPsec VPN options" am: b189ffb318 am: 9d5397ab42 am: b9df8248fa
Change-Id: I50104a17fd5b7d07cb50b9d6fcc002d7cfd96b6c
2020-01-24 07:59:53 +00:00
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
PO HUNG CHEN
74d73cc0ea Merge "Typo in dynamic developer settings DSU loader" 2020-01-23 15:32:48 +00:00
Howard Chen
e09b42dfbd Typo in dynamic developer settings DSU loader
Bug: 148162879
Test: Compile
Change-Id: I51747e401345dd2317b56313b889d68256cdce8d
2020-01-23 22:21:30 +08: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
Automerger Merge Worker
b9df8248fa Merge "Add IKEv2/IPsec VPN options" am: b189ffb318 am: 9d5397ab42
Change-Id: Ia26abaa384163d241dbc59e69e6f705f95663752
2020-01-23 06:18:15 +00:00
Benedict Wong
9d5397ab42 Merge "Add IKEv2/IPsec VPN options"
am: b189ffb318

Change-Id: I865a04f4453fc0304ddc3daf9be47ebf2e8a1c3c
2020-01-22 22:09:59 -08:00
Benedict Wong
b189ffb318 Merge "Add IKEv2/IPsec VPN options" 2020-01-23 05:11:47 +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
TreeHugger Robot
a65636ad64 Merge "Import translations. DO NOT MERGE" 2020-01-22 17:41:00 +00:00
Automerger Merge Worker
d672802277 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 397a1fb9ad -s ours am: fd9a6b9913 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie4d417648b61fcb5577d2db97f1ad98428900e8e
2020-01-22 17:25:08 +00:00
Automerger Merge Worker
fd9a6b9913 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 397a1fb9ad -s ours
am skip reason: subject contains skip directive

Change-Id: I1fc3bd95c227182adac0961d414ee4c9ddc093c0
2020-01-22 17:15:37 +00:00
TreeHugger Robot
397a1fb9ad Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-01-22 17:07:57 +00:00
Jorim Jaggi
f12f9e4b0b Merge "Window Manager Flag Migration (7/n)" 2020-01-22 16:12:24 +00:00
Bill Yi
d6692442b2 Import translations. DO NOT MERGE
Change-Id: Ia3b9a49938047ae00c39d810f8a8b33f4290a901
Auto-generated-cl: translation import
2020-01-21 22:33:06 -08:00
Bonian Chen
1a3e286d0c Merge "[Settings] replace isNonTtyOrTtyOnVolteEnabled() and isVtEnabledByUser() in VT" 2020-01-22 05:13:06 +00:00
Bill Yi
d8c7e283d4 Import translations. DO NOT MERGE
Change-Id: I8061cb8eb671bd0b40e6d05be84330754dd7f826
Auto-generated-cl: translation import
2020-01-21 20:37:45 -08: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