Commit Graph

19307 Commits

Author SHA1 Message Date
TreeHugger Robot
7ab84a073a Merge "[Wi-Fi] Show link speed for WifiDialog2 MODE_VIEW" 2019-12-31 11:16:18 +00:00
Stanley Wang
e81d6b7b31 The index implementation for face unlock settings.
- Index the delete face unlock preference and set up face unlock preference.

Fixes: 147031175
Test: manual
Change-Id: Ia984a116947d0c2e6a909f53914d081e25496f87
2019-12-31 18:59:46 +08:00
Arc Wang
3971d4e0c4 [Wi-Fi] Support disconnect button for connected Wi-Fi AP
Connect button becomes Disconnect button if the Wi-Fi AP
is connected.

Bug: 135891885
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=WifiDetailPreferenceController2Test
Change-Id: I0e0d485385294658170da3d37bc1cc1f8748468f
2019-12-31 17:06:44 +08:00
Arc Wang
808070ccbb [Wi-Fi] Show link speed for WifiDialog2 MODE_VIEW
Now there is no WifiDialog2 MODE_VIEW use case since
they are replaced by WifiNetworkDetailsFragment2.

Should think about removing MODE_VIEW in the future,
however, we should let it work before phase out it.

Bug: 146407136
Test: build
Change-Id: I7cd470c74cea846046975b8c65fd2604702cc136
2019-12-31 14:54:31 +08:00
jasonwshsu
a2cf6a1313 Accessibility shortcut secondary action - auto hide divider in shortcutPreference
- Hide divider when settings view is gone.

Bug: 142530063
Test: manual
Change-Id: I07c9aa628c4e300d1fd21fe5b87c18ff1c294e17
2019-12-31 12:12:49 +08:00
Stanley Wang
ae89ecf8d0 Merge "Remove the unused slices." 2019-12-31 02:04:59 +00:00
Stanley Wang
9fd20149c9 Merge "Index wi-fi preferences." 2019-12-31 02:04:24 +00:00
Stanley Wang
0577751718 Index wi-fi preferences.
- Add xml file to index "Saved network" and "Wifi data usage"
preferences.
- Disable the "Saved network" if the access points is empty.
- Disable the "Wifi data usage" if there is no wifi radio.

Fixes: 146823365
Test: manual
Change-Id: I049d0463fd58f186dae1d5f54dcc914f52031da7
2019-12-30 19:50:18 +08:00
Stanley Wang
5ce5349167 Remove the unused slices.
Remove the DataUsageSlice, DeviceInfoSlice and EmergencyInfoSlice.

Fixes: 146994847
Test: robotest
Change-Id: Ic840e9cc93e99b3c0a34eb6536401db34c98eca8
2019-12-30 19:04:49 +08:00
govenliu
91d6dfc455 [Wi-Fi] Hide the Advanced Option after expanding the advanced option fields.
To align with other advanced option behaviors in other Settings items, hide the Advanced Option button after the hidden advanced options are show, which also solve the a11y issue.

Bug: 146908469
Test: Add test case getVisibility_whenAdvancedOptionClicked_shouldBeGone
to verify View is Gone.
Change-Id: I11b2f9b250a7d50d32b8c05207498f4cf14feb41
2019-12-30 12:48:29 +08:00
Bill Yi
7369a964a2 Import translations. DO NOT MERGE
Change-Id: I450573e52646e40a777bc10ddd4afa56458f5f18
Auto-generated-cl: translation import
2019-12-28 20:54:14 -08:00
TreeHugger Robot
082a9de20f Merge "Enlarge height of Edit box in "Profile info" dialog" 2019-12-27 18:30:35 +00:00
TreeHugger Robot
605759721c Merge "Settings: Increase char limit of show refresh rate" 2019-12-27 18:27:05 +00:00
TreeHugger Robot
8b5d71396e Merge "Modify NFC function description" 2019-12-27 08:11:28 +00:00
Edgar Wang
9a2d348aa0 Enlarge height of Edit box in "Profile info" dialog
Fixes: 140002880
Test: manual
Change-Id: If9f8c3f4360e886cfecabc3eb8c1a6da452f45d2
2019-12-27 15:35:34 +08:00
Jason Chiu
b2639ad11f Merge "Fix the ripple effect of homepage slice cards" 2019-12-27 04:03:19 +00:00
Ady Abraham
68aacdd487 Settings: Increase char limit of show refresh rate
Increase the char limit for the developer option "show refresh rate"
to accommodate translations.

Bug: 146766957
Bug: 146766391
Change-Id: I324356278a31551db6da74ef0eb09068d36122b2
Test: Set a 36 char string on "show_refresh_rate" and observe no truncation
Test: Set a 58 char string on "show_refresh_rate_summary" and observe no truncation
2019-12-26 20:03:03 +00:00
TreeHugger Robot
31a8699e77 Merge "Remove un-used category from Date & Time Settings" 2019-12-26 12:04:37 +00:00
robertluo
91751f8d68 Modify NFC function description
Fixes: 140156062
Test: manually and check if new string is applied
Screenshot: https://screenshot.googleplex.com/SQH204CZBVN.png

Change-Id: Ie1eb2387f8763f77aaf87a93c14b4d8d778ac7ee
2019-12-26 12:04:01 +00:00
Automerger Merge Worker
aad8fd1e57 Merge "Modify 5G RAT into Bearer field." am: 79977fadca am: 7664d08e28 am: 9494af9634
Change-Id: I283ca8f4b4183ecbd894fa0b36cd4c35335ba6ac
2019-12-26 11:57:42 +00:00
Automerger Merge Worker
9494af9634 Merge "Modify 5G RAT into Bearer field." am: 79977fadca am: 7664d08e28
Change-Id: I5410a38cf933c4f661731d2a810b5e7a00637763
2019-12-26 11:46:46 +00:00
Daniel Huang
79977fadca Merge "Modify 5G RAT into Bearer field." 2019-12-26 11:29:13 +00:00
Jason Chiu
57384c44bb Fix the ripple effect of homepage slice cards
- It's caused by the two side paddings of SliceViewStyle.
- Adjust the slice inside paddings with a new attribute.

Fixes: 131278625
Test: visual
Change-Id: Iee2bc576c58bbdaf856b1b778ccf011302a34859
2019-12-26 10:27:07 +00:00
Raff Tsai
1c0358aca4 Merge "Support caption second UI structure (2/n)" 2019-12-26 10:01:08 +00:00
Edgar Wang
444b646b7a Remove un-used category from Date & Time Settings
Fixes: 141455224
Test: manual & roboteset
Change-Id: I2aba868c5e6645a11574a346f0a1e2f5ccb61ae1
2019-12-26 17:43:13 +08:00
ChenJean
f55c5a44f1 Support caption second UI structure (2/n)
Group text size and style into appearance page.
Move language under more options page.

Bug: 143502915
Test: Maunal
Change-Id: Ice104ed844dc3a10a22c91a10211a8978da68cc3
2019-12-26 15:19:21 +08:00
menghanli
b7306044c9 Create settings for color inversion (2/n)
Provide a setting for new color inversion design.

Bug: 146019226
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ColorInversionPreferenceControllerTest
Test: make RunSettingsRoboTests2
Change-Id: I1d081c6321ee96d48e8f52304893e4a5fb59333a
2019-12-26 06:39:44 +00:00
danielwbhuang
957526abca Modify 5G RAT into Bearer field.
Only keep NR in here, remove GSM, TD_SCDMA, IWLAN and LTE_CA.

Bug: 143995814
Test: 1. Build pass.
      2. make RunSettingsRoboTests ROBOTEST_FILTER=ApnEditorTest
      3. check UI:
      3-1. Open APN settings page: Settings > Network & Internet > Mobile Network > Advanced > Access Point Names.
      3-2. Click the 3 dots at the up corner, and then select "New APN" > "Bearer"

Change-Id: I9b8efbe26c2702696f720f0f221f3d65f785e644
2019-12-26 12:08:31 +08:00
TreeHugger Robot
69a59c9895 Merge "Settings search - Navigate user to exact page" 2019-12-25 08:13:17 +00:00
Bill Yi
66dc43b179 Merge "Import translations. DO NOT MERGE" 2019-12-24 15:44:44 +00:00
TreeHugger Robot
afbe7b5527 Merge "Update Reset options summary" 2019-12-24 13:11:22 +00:00
Edgar Wang
08f2a58459 Settings search - Navigate user to exact page
- remove duplicate index preference
- default set searchable = false when the preference has fragment
- make some fragments indexable

Bug: 143057584
Test: robotest & manual

Change-Id: I4d64f6106d2f92f0a45e8c7e26388677f593f412
2019-12-24 21:04:11 +08:00
Jason Hsu
c1f2dd025a Merge "Accessibility shortcut secondary action - improve shortcutPreference" 2019-12-24 07:54:06 +00:00
jasonwshsu
0dd53520a5 Accessibility shortcut secondary action - improve shortcutPreference
1. Use setWidgetLayoutResource() for the controllable widget at the
right side.
2. Improve listener structure.
3. Extend checkbox clickable area.

Bug: 142530063
Test: make -j52 RunSettingsRoboTests ROBOTEST_FILTER=ShortcutPreferenceTest
Change-Id: Iebb9f62653914a0d7200c627f01cf7953d576960
2019-12-24 10:37:55 +08:00
Bill Yi
462eac2c56 Import translations. DO NOT MERGE
Change-Id: I9250823846a5425a974ec9bc49824284a7e79371
Auto-generated-cl: translation import
2019-12-23 02:11:24 -08:00
Bill Yi
5245d16e51 Import translations. DO NOT MERGE
Change-Id: Ie0f7032bd48f1fe7c1498582e9ac040d14a824b2
Auto-generated-cl: translation import
2019-12-23 00:49:02 -08:00
Edgar Wang
fee49421c7 Update Reset options summary
- Update summary when user does not have permission to reset network or factory reset

Fixes: 126295214
Test: rototest & manual
Change-Id: I710f0abcd3df1560eb3e7bc53a7427d7a6a5aad7
2019-12-23 13:47:46 +08:00
Automerger Merge Worker
c547fc78c7 Merge "Create some strings for RTT setting" into qt-qpr1-dev am: 1cdbed55f9
Change-Id: I8ddf92c23c00c7b2958dbefdf5483e2b609e92c3
2019-12-21 02:34:00 +00:00
TreeHugger Robot
411fe5df15 Merge "Create some strings for RTT setting" 2019-12-21 01:47:51 +00:00
Hai Shalom
8cdf1871f4 Merge "[DPP R2] Added support for DPP R2 events" 2019-12-20 19:25:16 +00:00
TreeHugger Robot
8b2594393b Merge "Refactor GestureNavigationSeekBarPreference" 2019-12-20 18:23:45 +00:00
Raff Tsai
00c79aecd1 Refactor GestureNavigationSeekBarPreference
- Make GestureNavigationSeekBarPreference more flexible to configure

Fixes: 146462894
Test: adb shell am start -a android.settings.ASSIST_GESTURE_SETTINGS
      adb shell am start -a com.android.settings.GESTURE_NAVIGATION_SETTINGS

Change-Id: Ibc7ed8456fe4a42f12f0d436f53756df268acfbe
2019-12-21 01:24:16 +08:00
Tsung-Mao Fang
6e996bd8d7 Create some strings for RTT setting
Test: Rebuild
Bug: 146540478
Change-Id: I26f218caba46273796e52c244c9f022742f0bdeb
2019-12-21 00:16:53 +08:00
Tsung-Mao Fang
0f7b65b512 Create some strings for RTT setting
Test: Rebuild
Bug: 146540478
Change-Id: I26f218caba46273796e52c244c9f022742f0bdeb
Merged-In: I26f218caba46273796e52c244c9f022742f0bdeb
2019-12-20 16:03:27 +00:00
Automerger Merge Worker
4b6beab35e Remove permission bar chart in Privacy setting am: 8e58e2c7a5
Change-Id: Id55e0078ce0eccc85a0ef15706ba07b26da5c3ab
2019-12-20 10:31:03 +00:00
Menghan Li
506b40078e Merge "Create settings for window magnification (2/n)" 2019-12-20 03:35:38 +00:00
Automerger Merge Worker
01337f9630 Merge "Use floats for face enrollment dimensions" am: 59baff6ef9 am: fd493b221a am: 36eb9829d5
Change-Id: I836fbd02a6b7f310023336057a30f68a3d66495c
2019-12-20 03:33:54 +00:00
Automerger Merge Worker
36eb9829d5 Merge "Use floats for face enrollment dimensions" am: 59baff6ef9 am: fd493b221a
Change-Id: Ia4ac6e428666fb82f39e6b43620623e141f716c0
2019-12-20 03:18:56 +00:00
Mehdi Alizadeh
4e561fb9cb Merge changes Id2732a94,Id8c01bf0
* changes:
  Adds a new activity for Gesture Navigation settings
  Adds BackGestureIndicatorView to animate left and right insets
2019-12-20 02:54:55 +00:00
Hai Shalom
38ab4d342b [DPP R2] Added support for DPP R2 events
Added support for DPP R2 events that provide additional
details about the onboarding process of a remote enrollee.
Specifically, DPP R2 configurator waits for response from
the enrollee, which reports back the SSID, tried channels
and band support in case it cannot find the AP. When it
reports success, then it means that it is acutally connected.

Bug: 139381558
Test: Manual tests with DPP R1 and R2 enrollees
Test: atest DppManagerTest
Test: act.py -c ../WifiDppConfig.json -tc WifiDppTest
Change-Id: If19fc6906ec5abbdceef0742dc52b42c7d0acfe0
2019-12-19 17:57:41 -08:00