Commit Graph

58853 Commits

Author SHA1 Message Date
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
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
TreeHugger Robot
930a72529c Merge "Make Wallpapers setting unselectable" 2020-01-21 11:29:01 +00: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
Tsung-Mao Fang
f0b133d5b4 Make Wallpapers setting unselectable
Talkback shouldn't speak "Double tap to activate" action
for "Wallpapers" item.

Test: Enable talkback, and listen it again.
Change-Id: Ifc22fc8f870867a2a21a83bdbef4e5fe42809223
Fix: 147992423
2020-01-21 10:10:37 +00:00
TreeHugger Robot
47673188b4 Merge "Remove select-to-speak toogle button from Vision Settings." 2020-01-21 10:08:31 +00:00
Yi-Ling Chuang
0ce468965c Make Wifi and Bluetooth Slices not dismissable.
Wifi and Bluetooth are sticky, so remove its dismiss-ability.

Bug: 143055685
Test: robotests
Change-Id: Iff7724fbb261299e2107ff3b89bd5d7abe507532
2020-01-21 17:51:05 +08:00
Jason Chiu
fbf3d7574a Implement new design of Wi-Fi card
- always show Wi-Fi card
- collapse the card in the new UI session when connecting to a stable
  network
- hide toggle, show a level icon and subtext in the new collapsed mode
- show loading row when the AP list is not full

Test: robotest
Fixes: 147473096
Change-Id: I893064ef04d40d8e7cb8e62c1e72a2cb5e97f6ac
2020-01-21 17:26:29 +08:00
Jason Chiu
4223902866 Merge "Implement new design of Bluetooth card" 2020-01-21 09:24:13 +00:00
menghanli
b010a9f9fd Remove select-to-speak toogle button from Vision Settings.
Integrate with shortcut design to to make the UI of Select to
Speak consistent in SUW and general Accessibility settings.

Bug: 148042379
Test: local test
Change-Id: I53fdac604e717303fef9526230b20e9901d55915
2020-01-21 09:08:12 +00:00
Bonian Chen
f63c6f9e4b [Settings] add WifiCallingQueryImsState for IMS
1. Code refactor
2. Introduce WifiCallingQueryImsState for user enable/disable configuration

Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=WifiCallingPreferenceControllerTest
Change-Id: Ib337d6418fcc89f81b15b8cb464d03dccc583756
2020-01-21 17:02:01 +08:00
Betty Chang
fd09f64d99 Merge "[Mainline] Copy the method getSelectableSubscriptionInfoList from SubscriptionManager to Settings" 2020-01-21 08:00:43 +00:00
menghanli
bf46032074 Support accessibility shortcut secondary action (10/n)
Integrate with Talkback enabled and change the behavior as below:
1. Show 3-finger swipe up from bottom summary
2. Show 3-finger icons for edit shortcut dialog
3. Dismiss the running the edit shortcut dialog

Bug: 142530063
Bug: 142531156
Bug: 147989432
Test: make RunSettingsRoboTests2
Change-Id: I2f34b8eebfdc5a385d72402e95a8b1d0bde4a428
2020-01-21 15:58:43 +08:00
Zhen Zhang
0ccc849de7 Add config value to switch between Tether Settings UIs.
Adding this config value to make it easy to switch to developing
Tethering settings UI. Also, using this config value to make sure
that preferences from new AllInOneTetherSettings screen won't show up in
the search results.

Bug: 147915366
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=TetherSettingsTest
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=TetehrPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherSettingsTest

Change-Id: I8c88816a8f2b40fc219cae8d0d442454c5270b2b
2020-01-21 07:37:56 +00:00
Menghan Li
251bbaa008 Merge "Remove magnification settings screen from Vision Settings." 2020-01-21 07:04:59 +00:00
Nathan Harold
993ed46715 [DO NOT MERGE] Update CellIdentityGsm Constructor
Add a dummy parameter to the CellIdentityGsm constructor
for backwards compatibility.

As this code doesn't exist in goog/master, add a shim but
don't merge it.

Bug: 135921133
Test: compilation
Change-Id: I707bb4d2b90bfecd5825c25f9a1f92dbd9ccf41b
2020-01-20 22:07:20 -08:00
changbetty
e30517f9a5 [Mainline] Copy the method getSelectableSubscriptionInfoList from SubscriptionManager to Settings
Bug: 147206736
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=SubscriptionUtilTest
      make RunSettingsRoboTests -j ROBOTEST_FILTER=MobileDataSliceTest

Change-Id: I6d7e72a656723c0620d579e1e223945e2a3588af
2020-01-21 14:05:14 +08:00