Commit Graph

55319 Commits

Author SHA1 Message Date
andychou
34fc2495d2 If the user add APN with empty APN type, map it for default type
Original behavior will map all APN type if enter empty APN type. But it
sometimes cause problem that MMS or IMS not working when select to this
custom APN. So if the user doesn't enter any APN type, just map to
valure of carrier config 'apn_settings_default_apn_types_string_array'
to avoid all the functions broken.

Bug: 129704611
Test: 1.Enter empty APN type and check if only default is added into
APN. 2.atest ApnEditorTest pass.
Change-Id: Icec274e5b402af06822479bcc60294b347f5254f
2019-08-21 21:20:49 +08:00
govenliu
2b9aaaf943 [Wi-Fi NetworkRequest] Don't need to have code to test theme
Per setting team's suggestion, don't need to test theme, so remove
related code in testing.

Bug: N/A
Test: N/A, Just remove test code.
Change-Id: If0ca632506b554a4471b5d25f07ab27a078de92e
2019-08-21 16:32:50 +08:00
timhypeng
888dba8c4e slice is not updated when hearingAid device connection state changed
- add hearingAid profile into onActiveDeviceChanged

Bug: 139782394
Test: make -j42 RunSettingsRoboTests
Change-Id: I1aa202dd7361e02690a5d993d0f61e6eb7835cff
2019-08-21 07:40:13 +00:00
Arc Wang
4729d7f309 [Wi-Fi] Add padding to Wi-Fi direct rename dialog
Use R.layout.dialog_edittext which has padding for the EditText

Bug: 139106386
Test: visual
Change-Id: Ib2b0eed93abb4d20ff8793daae29ee98f11050cd
2019-08-21 15:12:54 +08:00
Goven Liu
016822d5c3 [automerger skipped] Merge "[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog" into qt-qpr1-dev am: cfcfb024c4
am: fe3548ef41 -s ours
am skip reason: change_id Iefdfd5b810f5cf22c220830e1ee965113a439a3e with SHA1 dbf920cfff is in history

Change-Id: I161e8ab6ff78889370fe9eabae72ac3a91847e11
2019-08-20 22:45:55 -07:00
Raff Tsai
64d9bc1351 Fix failed testcase
Fixes: 139505838
Test: robolectric
Change-Id: I553dfe1709fc845708c07c4f3288840b5925f0b3
2019-08-21 13:44:03 +08:00
Goven Liu
fe3548ef41 Merge "[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog" into qt-qpr1-dev
am: cfcfb024c4

Change-Id: If72465328b970ce0d8e9d0c69f0a229a528bdbee
2019-08-20 22:36:09 -07:00
Goven Liu
cfcfb024c4 Merge "[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog" into qt-qpr1-dev 2019-08-21 05:13:49 +00:00
Goven Liu
7d6a2dd886 Merge "[Wi-Fi] Hide SoftKeyboard temporary when user tap the advanced button." 2019-08-21 04:27:59 +00:00
govenliu
14a74125e6 [Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog
We should set the same theme which applied in Settings APP to the NetworkRequestDialog

Bug: 139294487
Test: check if the right theme is applied when launching this activity.
Change-Id: Iefdfd5b810f5cf22c220830e1ee965113a439a3e
Merged-In: Iefdfd5b810f5cf22c220830e1ee965113a439a3e
2019-08-21 12:23:32 +08:00
tim peng
04c75c04c0 Merge "One of the HA will not be Active after switching sound path to Phone/Speaker during active call" 2019-08-21 02:20:59 +00:00
Bill Yi
e743653fca [automerger skipped] Import translations. DO NOT MERGE am: 1dea02439a -s ours
am: 10ca16aebb -s ours
am skip reason: subject contains skip directive

Change-Id: I07f15d7dc2b8cbcbe4af8f9ee6d9af845f284517
2019-08-20 18:05:34 -07:00
Bill Yi
10ca16aebb [automerger skipped] Import translations. DO NOT MERGE
am: 1dea02439a -s ours
am skip reason: subject contains skip directive

Change-Id: I88d487b3d8c48f58461e47ddc9b96eaedef311bf
2019-08-20 17:27:05 -07:00
Bill Yi
1dea02439a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I79a6c2c9db40e5198b2bbe60f23d4d2e40f5ab19
2019-08-20 15:26:43 -07:00
Bill Yi
02458fc185 [automerger skipped] Import translations. DO NOT MERGE am: ba8880dd87 -s ours am: d9c4bdf4fb -s ours
am: 06a0c0fe24 -s ours
am skip reason: subject contains skip directive

Change-Id: I7bcaf60003d7d249bc4f49739f8ad3c39b726a46
2019-08-20 14:20:55 -07:00
Bill Yi
c56a9716de [automerger skipped] Import translations. DO NOT MERGE am: ba8880dd87 -s ours am: e2f660eb6a -s ours
am: a42954156b -s ours
am skip reason: subject contains skip directive

Change-Id: I4c25426748592aeea0de4d3ef727b28cc8110dce
2019-08-20 14:15:21 -07:00
Bill Yi
06a0c0fe24 [automerger skipped] Import translations. DO NOT MERGE am: ba8880dd87 -s ours
am: d9c4bdf4fb -s ours
am skip reason: subject contains skip directive

Change-Id: I7503693d8c2bfd386c82edfcf38dd406bb1e9d03
2019-08-20 13:50:49 -07:00
Bill Yi
a42954156b [automerger skipped] Import translations. DO NOT MERGE am: ba8880dd87 -s ours
am: e2f660eb6a -s ours
am skip reason: subject contains skip directive

Change-Id: Ie20613bf58588878edc8d736dbe789bff4ce3902
2019-08-20 13:49:40 -07:00
Bill Yi
d9c4bdf4fb [automerger skipped] Import translations. DO NOT MERGE
am: ba8880dd87 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic0805579cd91f4ec10fb11c34dfe3ca652a43f50
2019-08-20 13:36:38 -07:00
Bill Yi
e2f660eb6a [automerger skipped] Import translations. DO NOT MERGE
am: ba8880dd87 -s ours
am skip reason: subject contains skip directive

Change-Id: I5bcce2e15265af9c85e766fd62beb3b65c13d809
2019-08-20 13:36:35 -07:00
Bill Yi
ba8880dd87 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 139484065
Change-Id: I6c50b4480bec5326951eb809eabc7194d1d06b65
2019-08-20 18:39:09 +00:00
timhypeng
e725d6f357 One of the HA will not be Active after switching sound path to Phone/Speaker during active call
- If first summary is unavailable, not to show second summary.

Bug: 132409181
Test: make -j42 RunSettingsRoboTests
Change-Id: I0d2e426b15dae8ed38e0a1b5a9219209e1a0026c
2019-08-20 08:44:46 +00:00
TreeHugger Robot
785c024cad Merge "[Wi-Fi] Support hidden SSID Wi-Fi networks for Wi-Fi QR code scanner & generator" 2019-08-20 08:37:07 +00:00
Arc Wang
3fff50e3ba [Wi-Fi] Support hidden SSID Wi-Fi networks for Wi-Fi QR code scanner & generator
WifiTracker#getAccessPoints() only contains a hidden SSID Wi-Fi
network if it's a saved Wi-Fi network. We can't check if a hidden
SSID Wi-Fi network is reachable inadvance. That is the difference
after a user scanned a QR code of hidden SSID Wi-Fi network.

Bug: 135892509
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiDppUtilsTest
      manual test:
      Click the Share button of a connected hidden SSID Wi-Fi network
      and save the QR code image. Use Wi-Fi QR code scanner in Wi-Fi
      Settings to scan the saved QR code image.

Change-Id: I9056622e6dadb04e5642ae1c50fb4d227a78d26d
Merged-In: I9056622e6dadb04e5642ae1c50fb4d227a78d26d
2019-08-20 16:15:02 +08:00
Goven Liu
67a24cb98d Merge "[Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog" 2019-08-20 07:00:50 +00:00
Kevin Chyn
484cfe8a27 Merge "Merge "Remove attention controller" into qt-r1-dev am: 41aafab963 am: 645480a4e4" into qt-qpr1-dev-plus-aosp
am: 451965fab8

Change-Id: I5cab13c7589dd89547cbd1ef141faf466b2a590b
2019-08-19 20:16:53 -07:00
Kevin Chyn
b21799dc09 Merge "Remove attention controller" into qt-r1-dev am: 41aafab963 am: 88936d4a46
am: 6dc15d7976

Change-Id: If992a629986d1873f3908668dd2c05aeff3f1aa3
2019-08-19 20:15:09 -07:00
Android Build Merger (Role)
451965fab8 Merge "Merge "Remove attention controller" into qt-r1-dev am: 41aafab963 am: 645480a4e4" into qt-qpr1-dev-plus-aosp 2019-08-20 03:07:43 +00:00
Kevin Chyn
3fd14bd081 Merge "Remove attention controller" into qt-r1-dev am: 41aafab963
am: 645480a4e4

Change-Id: Ie2f40eef47acd830247a3ed6f1a8d2e717520e4e
2019-08-19 20:07:09 -07:00
Kevin Chyn
6dc15d7976 Merge "Remove attention controller" into qt-r1-dev am: 41aafab963
am: 88936d4a46

Change-Id: I13b6d8579a5e1c00aa8ac23ae1f8deac05c057cb
2019-08-19 20:06:32 -07:00
Kevin Chyn
88936d4a46 Merge "Remove attention controller" into qt-r1-dev
am: 41aafab963

Change-Id: Ic5e2b13d6246fe7693a8f1c289d82d43d3fc6efd
2019-08-19 19:57:37 -07:00
Kevin Chyn
645480a4e4 Merge "Remove attention controller" into qt-r1-dev
am: 41aafab963

Change-Id: I31966ea8f672f664a4d1feae8be30eb47d0a2d32
2019-08-19 19:57:37 -07:00
govenliu
c3eab6a9d9 [Wi-Fi] Hide SoftKeyboard temporary when user tap the advanced button.
When tapping on the advanced button during configuring a network, some items in the expanded list are covered by IME keyboard, which may cause user to ignore them accidently.

To improve it, hide the IME temporary to let user can see most of them.

Bug: 78441374
Test: Use ShadowInputMethodManager to check if the keyboard is hide or not after tapping on the advance button.
Change-Id: I0677d96febc90c66d1cf6f98555bbb436a654660
2019-08-20 10:55:44 +08:00
TreeHugger Robot
41aafab963 Merge "Remove attention controller" into qt-r1-dev 2019-08-20 02:37:20 +00:00
govenliu
dbf920cfff [Wi-Fi NetworkRequest] Set theme for the NetworkRequest dialog
We should set the same theme which applied in Settings APP to the NetworkRequestDialog

Bug: 139294487
Test: check if the right theme is applied when launching this activity.
Change-Id: Iefdfd5b810f5cf22c220830e1ee965113a439a3e
2019-08-20 10:26:14 +08:00
Arc Wang
03f1ee1b50 [Wi-Fi] Support hidden SSID Wi-Fi networks for Wi-Fi QR code scanner & generator
WifiTracker#getAccessPoints() only contains a hidden SSID Wi-Fi
network if it's a saved Wi-Fi network. We can't check if a hidden
SSID Wi-Fi network is reachable inadvance. That is the difference
after a user scanned a QR code of hidden SSID Wi-Fi network.

Bug: 135892509
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiDppUtilsTest
      manual test:
      Click the Share button of a connected hidden SSID Wi-Fi network
      and save the QR code image. Use Wi-Fi QR code scanner in Wi-Fi
      Settings to scan the saved QR code image.

Change-Id: I9056622e6dadb04e5642ae1c50fb4d227a78d26d
2019-08-20 09:54:17 +08:00
TreeHugger Robot
1040f2146a Merge "Remove ic_menu_refresh_holo_dark" 2019-08-20 01:11:51 +00:00
Kevin Chyn
8f52a0eb6a [automerger skipped] Merge "Merge "Remove delay from enroll start button" into qt-r1-dev am: ca2bbdfeca am: d1e331dbcd" into qt-qpr1-dev-plus-aosp
am: b3774dfe29 -s ours
am skip reason: change_id I365308c2a00c122b80f70c904d11bb4a5d6cf404 with SHA1 058af41a42 is in history

Change-Id: Ia1e8264a22574683bdfe45c35a398badb4f3a5e8
2019-08-19 16:14:43 -07:00
Kevin Chyn
222b17d4c5 [automerger skipped] Merge "Remove delay from enroll start button" into qt-r1-dev am: ca2bbdfeca am: d1e331dbcd
am: c889474c9c -s ours
am skip reason: change_id I365308c2a00c122b80f70c904d11bb4a5d6cf404 with SHA1 058af41a42 is in history

Change-Id: Iff6b53ad8b61618e62cc24717bec3b7c6207fde6
2019-08-19 15:55:52 -07:00
Kevin Chyn
7570ccf620 [automerger skipped] Merge "Remove delay from enroll start button" into qt-r1-dev am: ca2bbdfeca am: 59538f62c1
am: 2c403efabf -s ours
am skip reason: change_id I365308c2a00c122b80f70c904d11bb4a5d6cf404 with SHA1 1ae8beab06 is in history

Change-Id: Ice37b65cf67b091bfc17a76c874c0bd38cdfe646
2019-08-19 15:48:14 -07:00
Android Build Merger (Role)
b3774dfe29 Merge "Merge "Remove delay from enroll start button" into qt-r1-dev am: ca2bbdfeca am: d1e331dbcd" into qt-qpr1-dev-plus-aosp 2019-08-19 22:23:17 +00:00
Kevin Chyn
c889474c9c Merge "Remove delay from enroll start button" into qt-r1-dev am: ca2bbdfeca
am: d1e331dbcd

Change-Id: I575c770f557f829d77382384b29253cfc6f90610
2019-08-19 15:22:19 -07:00
Kevin Chyn
2c403efabf Merge "Remove delay from enroll start button" into qt-r1-dev am: ca2bbdfeca
am: 59538f62c1

Change-Id: Idb56289528bae12ef1f66d5f96b2461eb5fc20ab
2019-08-19 15:21:56 -07:00
Kevin Chyn
d1e331dbcd Merge "Remove delay from enroll start button" into qt-r1-dev
am: ca2bbdfeca

Change-Id: Ide066e65d76c70175ade9ebeaf94e471cb11c806
2019-08-19 15:09:00 -07:00
Kevin Chyn
59538f62c1 Merge "Remove delay from enroll start button" into qt-r1-dev
am: ca2bbdfeca

Change-Id: I59870f9318f9ac84107c437aaa660f3d28b861c5
2019-08-19 15:08:48 -07:00
Kevin Chyn
ca2bbdfeca Merge "Remove delay from enroll start button" into qt-r1-dev 2019-08-19 21:50:22 +00:00
Bill Yi
5ffe9e168d [automerger skipped] Import translations. DO NOT MERGE am: 9909286ace -s ours
am: 3efb76b03b -s ours
am skip reason: subject contains skip directive

Change-Id: I4ce930518f07d80aab035d25bf66094c90c035a2
2019-08-19 13:48:55 -07:00
Bill Yi
3efb76b03b [automerger skipped] Import translations. DO NOT MERGE
am: 9909286ace -s ours
am skip reason: subject contains skip directive

Change-Id: I0653a3670e314128324e2902fdc3c7381639ed23
2019-08-19 13:28:44 -07:00
Bill Yi
9909286ace Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0f506526563a88f386ec68d2a31b00b3e5e3b47e
2019-08-19 10:42:35 -07:00
TreeHugger Robot
8d59885bc2 Merge "Use FooterPreference in xml explicitly" 2019-08-19 14:00:45 +00:00