Commit Graph

60684 Commits

Author SHA1 Message Date
Quang Luong
b9b09b0474 Disable metered preference in details page if unable to change
Wifi networks that cannot change their metered preference (such as
suggested networks) should have their metered preference in the network
details page greyed out and unselectable.

Bug: 151159939
Test: manual - build and visual verification
Change-Id: I8507cd6f39bed5e32884fbf667dffb3f330d8b56
2020-03-25 17:31:44 -07:00
TreeHugger Robot
c7e9a41c3d [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 0747e57f25 -s ours am: 7b0240898e -s ours
am skip reason: subject contains skip directive

Change-Id: I2b66b94bfbc19e8efb5b28b643ce939aff284d5b
2020-03-26 00:18:05 +00:00
TreeHugger Robot
7b0240898e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 0747e57f25 -s ours
am skip reason: subject contains skip directive

Change-Id: I5b9ba04e3c149c1162acd9dba49ee1f64d694e0a
2020-03-26 00:03:19 +00:00
TreeHugger Robot
0747e57f25 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-25 23:47:17 +00:00
TreeHugger Robot
0d880d89ae [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 34f2281e5a -s ours am: 368377efac -s ours
am skip reason: subject contains skip directive

Change-Id: I51c621b5358eb5bd4514ba31cbf896aad0e8544e
2020-03-25 20:56:21 +00:00
TreeHugger Robot
368377efac [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 34f2281e5a -s ours
am skip reason: subject contains skip directive

Change-Id: Ib02459020b11ce377bdf9700f5c16b5c18c891d8
2020-03-25 20:46:13 +00:00
TreeHugger Robot
34f2281e5a Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-25 20:30:09 +00:00
Alex Johnston
6faed3c69b Fix keyboard overlap in work challenge landscape view
* Remove layout sud_glif_blank_template and add layout
  weight in land/confirm_lock_password.xml.

Bug: 152054458
Test: manual testing
Change-Id: I8d4329b141e1fe24d5b8d66e8e7971fe951d6af2
2020-03-25 19:58:38 +00:00
Bill Yi
2c88a99fdc Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ie5e62dbe8cc347f803e6568938a106c6d34d6842
2020-03-25 12:28:09 -07:00
Bonian Chen
5de6a61233 Merge "[Settings] Avoid re-create fragment when subscription not changed" into rvc-dev am: 8bbebc03a6 am: f4db2d1056
Change-Id: Ic209fb1b1b9456f9d53d5dd495066a0c4bb670ff
2020-03-25 19:07:15 +00:00
Bonian Chen
f4db2d1056 Merge "[Settings] Avoid re-create fragment when subscription not changed" into rvc-dev am: 8bbebc03a6
Change-Id: I133eff8e5d7a3c4cc90557dc41a6c11b039c49f4
2020-03-25 18:51:25 +00:00
Bill Yi
757d40d2f1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I06a147512e756eaaf03ba00012e386b7b26940f1
2020-03-25 11:50:25 -07:00
Bonian Chen
8bbebc03a6 Merge "[Settings] Avoid re-create fragment when subscription not changed" into rvc-dev 2020-03-25 18:33:05 +00:00
Bonian Chen
3d8a4d2484 [Settings] Avoid re-create fragment when subscription not changed
Simply updating the content of fragment instead of re-create it in order
to improve the performance of mobile network page.

Bug: 149190278
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=MobileNetworkActivityTest
Change-Id: I744c2d76b814abdb619c8f40c3f113902ad8a827
2020-03-25 23:59:12 +08:00
Arc Wang
aa05461b9c [Wi-Fi] Fix unit test ssidPref_isSubscription_show
Only setSummary for mSsidPref when the SSID is not null

Bug: 152375927
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiDetailPreferenceController2Test
Change-Id: Ia39f01e6bdb7b1b531a6b07610e061a98140dda4
2020-03-25 23:48:07 +08:00
Lais Andrade
9043248efc Merge "Add help uri placeholder for vibration settings" into rvc-dev am: d9a498057e am: 7b6d857d73
Change-Id: Iaa59fa5db29200df98a2fed7132f19404cc28fdf
2020-03-25 15:32:38 +00:00
Lais Andrade
7b6d857d73 Merge "Add help uri placeholder for vibration settings" into rvc-dev am: d9a498057e
Change-Id: I9f7d292fbf0254cf973b2906e470234a938994ac
2020-03-25 15:19:21 +00:00
Lais Andrade
d9a498057e Merge "Add help uri placeholder for vibration settings" into rvc-dev 2020-03-25 15:08:13 +00:00
TreeHugger Robot
290f90bfaa Merge "Verify BluetoothDevice is not null before calling BluetoothHearingAid System APIs" into rvc-dev am: 32ec718cfa am: f07ee55a4a
Change-Id: I0c7c481bb49d7d942fb4652bda7842c449ae3631
2020-03-25 13:53:10 +00:00
TreeHugger Robot
f07ee55a4a Merge "Verify BluetoothDevice is not null before calling BluetoothHearingAid System APIs" into rvc-dev am: 32ec718cfa
Change-Id: I6f494e751728b7cacec71667b51c2edcee5524a5
2020-03-25 13:42:29 +00:00
TreeHugger Robot
32ec718cfa Merge "Verify BluetoothDevice is not null before calling BluetoothHearingAid System APIs" into rvc-dev 2020-03-25 13:35:10 +00:00
TreeHugger Robot
60226078df Merge "Ignore the failed test cases" into rvc-dev am: 49bc53ec0a am: bdf71b85ff
Change-Id: I9f54463a2ff04b0c0a1dfc9db0a2ca88c8d377d2
2020-03-25 13:11:59 +00:00
TreeHugger Robot
bdf71b85ff Merge "Ignore the failed test cases" into rvc-dev am: 49bc53ec0a
Change-Id: I757ddfffe18685439c570d63b2c36eca1ef885c5
2020-03-25 12:56:40 +00:00
TreeHugger Robot
49bc53ec0a Merge "Ignore the failed test cases" into rvc-dev 2020-03-25 12:40:37 +00:00
TreeHugger Robot
b02fe5938f Merge "[Wi-Fi] Fix check mark button when edit the password of a secured network." into rvc-dev am: a802eba9b8 am: 202e028212
Change-Id: If131de39f161841b77d800bc04985a385995295a
2020-03-25 11:27:47 +00:00
TreeHugger Robot
202e028212 Merge "[Wi-Fi] Fix check mark button when edit the password of a secured network." into rvc-dev am: a802eba9b8
Change-Id: I6e5aa94071a51442672551d4838ef03d7f046d29
2020-03-25 11:07:41 +00:00
TreeHugger Robot
a802eba9b8 Merge "[Wi-Fi] Fix check mark button when edit the password of a secured network." into rvc-dev 2020-03-25 10:56:22 +00:00
Mill Chen
e18e25d697 Ignore the failed test cases
Bug: 152372274
Test: robotests
Change-Id: Ideb81ac4156c35991bd7d9af4f5cba0ea803d1cc
2020-03-25 18:47:52 +08:00
hughchen
649cddeb15 Get MediaDevice from devices list
The TopDevice that we cached will not update device infomation
when route is changed. We should get TopDevice from devices
list every time to confirm the device infomation is updated.

Bug: 151709228
Test: manual test to see ui is changed
Change-Id: Iede279b424d070dc7a0b30c369bed316e7ac223d
2020-03-25 17:24:26 +08:00
Arc Wang
b011c5bf82 [Wi-Fi] Fix check mark button when edit the password of a secured network.
Should handle WifiConfigUiBase#dispatchSubmit() for check mark button events.

Bug: 152144169
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ConfigureWifiEntryFragmentTest
      make RunSettingsRoboTests ROBOTEST_FILTER=ConfigureAccessPointFragmentTest
Change-Id: I35cbc1cdd6fbef3fd51aaa8dec94722e4155b7f4
2020-03-25 17:14:28 +08:00
Edgar Wang
514d74621a Correct confirm message in Reset options -> Erase all data(factory rest)
- when device doesn't support esim, don't mention SIM in sub-title.

Bug: 151899712
Test: manual
Change-Id: Id9f7b1e73173a5a623206f785894f5579a0c2151
2020-03-25 16:17:40 +08:00
Zhen Zhang
c04eec3c10 Merge changes Ibd2f4111,Ia6cc60bc into rvc-dev am: c37fcd0cb8 am: a12da1ba40
Change-Id: I459b29cdfabe5e517d6cf2a31b1902fadb399573
2020-03-25 08:03:55 +00:00
Zhen Zhang
a12da1ba40 Merge changes Ibd2f4111,Ia6cc60bc into rvc-dev am: c37fcd0cb8
Change-Id: I692fd1c378fc3c1518b9b62138043557bd4b04e3
2020-03-25 07:42:16 +00:00
Zhen Zhang
c37fcd0cb8 Merge changes Ibd2f4111,Ia6cc60bc into rvc-dev
* changes:
  Fix crash in AllInOneTetherSettings when user is not admin
  Refactor new tether settings to remove SharedPreferences
2020-03-25 07:25:07 +00:00
TreeHugger Robot
a02e32c408 Merge "Remove MobileNetworkSettingsTest#onAttach" into rvc-dev am: 6045790df8 am: 31bd47a36c
Change-Id: I4cffe0ecd0cd9c5a375e1e56a29c391386596dac
2020-03-25 06:14:37 +00:00
TreeHugger Robot
31bd47a36c Merge "Remove MobileNetworkSettingsTest#onAttach" into rvc-dev am: 6045790df8
Change-Id: I72c85e1c369f335ec678c40a9fd0bad8fbd8be6f
2020-03-25 05:55:43 +00:00
Menghan Li
9b306bb73e Merge "Enlarge the touch area of edit shortcut dialog" into rvc-dev am: f9f732e3be am: f84c49f13a
Change-Id: I7f645782778726318beaad59cba18d380526d2f3
2020-03-25 05:48:57 +00:00
TreeHugger Robot
6045790df8 Merge "Remove MobileNetworkSettingsTest#onAttach" into rvc-dev 2020-03-25 05:44:07 +00:00
Menghan Li
f84c49f13a Merge "Enlarge the touch area of edit shortcut dialog" into rvc-dev am: f9f732e3be
Change-Id: Idc56795f80561051b73cc36cb6c3174b67626815
2020-03-25 05:36:20 +00:00
Menghan Li
f9f732e3be Merge "Enlarge the touch area of edit shortcut dialog" into rvc-dev 2020-03-25 05:23:44 +00:00
Bonian Chen
243d1a61b7 Merge "[Settings] Code refactor on MobileNetworkActivity" into rvc-dev am: f9bb3b4d05 am: 0f4345cdf6
Change-Id: Ic5c58238e13d1b235125c34badaccdf7196930f8
2020-03-25 04:51:36 +00:00
SongFerng Wang
f30fa1c861 Merge "Fix the NetworkScanHelperTest testcase." into rvc-dev am: d33b66304c am: e8604065d6
Change-Id: Ia7332d609bd40646005985fd296876d4f44a3c1e
2020-03-25 04:51:26 +00:00
SongFerngWang
199ee2cbb0 Remove MobileNetworkSettingsTest#onAttach
The MobilieNetworkActivity has MobileNetworkSettings fragment. The
MobileNetworkActivityTest do testcases for activity stability.
The activity's launch test successful is equals the fragment doesn't
crash, so the activity's testcases cover
MobileNetworkSettingsTest#onAttach.

Bug: 147464840
Test: build pass
Change-Id: Idbabb846c40fd117f22a39b86fd6628b7d8c5b1b
2020-03-25 04:44:14 +00:00
Bonian Chen
0f4345cdf6 Merge "[Settings] Code refactor on MobileNetworkActivity" into rvc-dev am: f9bb3b4d05
Change-Id: I82b04e8dadd3559c7d12d6bba1df7cd2e968c89b
2020-03-25 04:41:24 +00:00
Bonian Chen
f9bb3b4d05 Merge "[Settings] Code refactor on MobileNetworkActivity" into rvc-dev 2020-03-25 04:35:04 +00:00
SongFerng Wang
e8604065d6 Merge "Fix the NetworkScanHelperTest testcase." into rvc-dev am: d33b66304c
Change-Id: Icc2051fe3015fbd5913689be03f3a2f4a1baef58
2020-03-25 04:33:50 +00:00
SongFerng Wang
d33b66304c Merge "Fix the NetworkScanHelperTest testcase." into rvc-dev 2020-03-25 04:16:18 +00:00
markchien
d57ed93f92 Ethernet tethering: change char limit to NONE
Linguist request for extending character limit.
Since other tethering type(e.g. wifi tethering) do not have char limit,
unblock linguist by changing ethernet ethering's char limit to NONE.

Bug: 152226430
Bug: 152225048
Test: m
Change-Id: If944cdb5bceebd33d3354c2c01c2d7656e4a113a
2020-03-25 11:32:07 +08:00
menghanli
bd09e28a84 Enlarge the touch area of edit shortcut dialog
Bug: 148837311
Test: Manual test
Change-Id: I54ca93ccaa87514bf4d201b95ed855003d1c164c
2020-03-25 11:20:32 +08:00
Jason Chiu
8c0e3d930f Merge "Move sticky cards to the bottom" into rvc-dev am: bff181f846 am: dd5ee8b808
Change-Id: I817413b15da63ab99bef8fc5655a3060f28ed09d
2020-03-25 02:59:11 +00:00