Commit Graph

18669 Commits

Author SHA1 Message Date
Mill Chen
cd869051ef Fix overlapping in TrustedCredentialsSettings
It's a side effect caused by making scrollView extend below navbar.
Set both of clipToPadding and clipChildren true to fix overlapping.

Fixes: 138962899
Test: visual
Change-Id: Icf696a151055d4be76cafe44d5cb95b67bc2ea9f
2019-10-03 00:00:45 +08:00
TreeHugger Robot
616707f486 Merge "Fix talkback issue of Caption preference" 2019-10-02 08:03:41 +00:00
Raff Tsai
9e3a9fd255 Add fragment in xml instead of using injected way
- It can improve performance because we use less injected item
- Also remove summary provider from those fragments

Bug: 141653158
Test: robolectric
Change-Id: I6255f71b3b8300aea064a4fefd6711c1ff59e08a
2019-10-02 11:49:51 +08:00
Mill Chen
0a8fca1ee1 Fix talkback issue of Caption preference
Talkback speaks "double-tap to activate" on the LayoutPreference in the
Caption preference page, but it doesn't have any action after double
tap. So it should be set to unclickable. Set android:selectable to
false to fix it.

Fixes: 141900530
Fixes: 141901515
Test: launch TB and test it by manually
Change-Id: I82720dc46085b84d188730545061269d110f9a7c
2019-10-02 11:29:07 +08:00
Bill Yi
d57831b7d2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 141777841
Change-Id: I5ef0e8ee2f723c81d4cc1c0be5daf311c7c38e84
2019-10-01 16:05:46 -07:00
Joshua Mccloskey
fb09aba2f7 Merge "Added new string." into qt-qpr1-dev am: 262f5fe91f
am: b288f07bb2

Change-Id: Ia15b1cfceaf405d15ad6dc9e10acdd18b11e870e
2019-10-01 15:24:42 -07:00
Joshua Mccloskey
b288f07bb2 Merge "Added new string." into qt-qpr1-dev
am: 262f5fe91f

Change-Id: If8467461e0963648886c02159353c177e9b88d41
2019-10-01 15:17:26 -07:00
TreeHugger Robot
833512a1d2 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-10-01 22:08:03 +00:00
Joshua Mccloskey
262f5fe91f Merge "Added new string." into qt-qpr1-dev 2019-10-01 22:05:41 +00:00
Bill Yi
881736b7ef Import translations. DO NOT MERGE
Change-Id: I594742575ea6729d9c71e0ef04658f6513875aaf
Auto-generated-cl: translation import
2019-10-01 12:53:15 -07:00
Arc Wang
1fa97eca18 Merge "[Wi-Fi] Improve UX when there is no user certificate to choose for WPA-Enterprise 192-bit" 2019-10-01 08:34:05 +00:00
Bill Yi
0631ad6efb Import translations. DO NOT MERGE
Change-Id: I10e5b04a3a580ba34f945305d011ac192a3c4dd3
Auto-generated-cl: translation import
2019-09-30 03:35:57 -07:00
TreeHugger Robot
c6d0515600 Merge "Fix UI display abnormal of DatePickerDialog in landscape mode" 2019-09-30 09:36:56 +00:00
Sunny Shao
b1c4b0215b Fix UI display abnormal of DatePickerDialog in landscape mode
Update the themes.xml and styles.xml.

Fixes: 141577901
Test: manual view
Change-Id: I24cadcc972bdc0ee1f6601e3b496d0f69bb5089c
2019-09-30 16:29:17 +08:00
Raff Tsai
360d2f2c6f Fine tune language UI to match preference style
Fixes: 141830486
Test: visual
Screenshot: https://screenshot.googleplex.com/LVv2W9D963s
Screenshot: https://screenshot.googleplex.com/VbJQ0cSPBKK
Change-Id: I44b0ac8ac2bd32b3beeabee195aab928ec4bacc2
2019-09-30 11:17:04 +08:00
Bill Yi
f7de50f5be Import translations. DO NOT MERGE
Change-Id: Idfb9ca3c6ddf6aa0a9bc04a262b8e0fd76032867
Auto-generated-cl: translation import
2019-09-28 04:11:34 -07:00
joshmccloskey
be7d733886 Added different flow for re-enrollment am: bba7632f28
am: 3511ad89ca

Change-Id: I2b06407f4df37f8d16f95c6068de0ac3523df293
2019-09-27 18:38:20 -07:00
joshmccloskey
4259495574 Added new string.
Fixes: 141762646
Test: Verified that string translates to spanish after changing
the language.

Change-Id: I48e34de15460c93c8f50d26821c4d64984f20c6d
2019-09-27 23:15:32 +00:00
Sunny Shao
9434d26237 Update the color of the preference category
Use the new attribute preferenceCategoryTitleTextColor to change the color of
the preference category.

Bug: 117402186
Test: manual view
Change-Id: If2df5529a63ff9cd96f242a9ea5f3dac053b0fd2
2019-09-27 13:57:04 +08:00
joshmccloskey
3511ad89ca Added different flow for re-enrollment
am: bba7632f28

Change-Id: Ie5174848a3a35df197177b0aa2cf6c324813b8dd
2019-09-26 20:06:48 -07:00
joshmccloskey
bba7632f28 Added different flow for re-enrollment
In order to enable this new flow, a user must currently have an enrolled
face and the security setting face_unlock_re_enroll must be non-zero.

Ex.
1. Enroll Face.
2. adb shell settings put
(secure face_unlock_re_enroll|secure_face_unlock_must_re_enroll) 1
3. If settings is opened, close it.
4. Open settings
5. Verify the new flow appears.

Bug: 141380252
Bug: 141254937
Test: Verified that the user's face is deleted after clicking delete.
Test: Verified that the user can re-enroll after removing their face.
Change-Id: I2b36a0bda5cb10fb33dfb2a5627d8fa40f14fb7e
2019-09-26 23:54:59 +00:00
Bill Yi
500e7b2b71 Import translations. DO NOT MERGE
Change-Id: I0f9786915ebc5c168487e7a5386d4f2060d27a12
Auto-generated-cl: translation import
2019-09-24 18:54:26 -07:00
Felipe Leon
e42ab42c5c Settings: fix apn_editor carrier_enabled summaryOff string
Change-Id: I44ccec73601806dc8facad122f1ab16ff3aca484
Signed-off-by: Felipe Leon <fglfgl27@gmail.com>
2019-09-25 00:43:17 +03:00
TreeHugger Robot
2ced8d8f00 Merge "Use FooterPreference in xml to replace the header" 2019-09-24 01:51:46 +00:00
Sunny Shao
2c4827be08 Use FooterPreference in xml to replace the header
Fixes: 141450664
Test: manual test
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.enterprise
Change-Id: Ia6ec0e363b9a472ff104ffbc529856a21840af27
2019-09-23 17:29:06 +08:00
TreeHugger Robot
93343d0ccd Merge "Add search key word for Profile HWUI rendering" 2019-09-23 07:08:42 +00:00
TreeHugger Robot
506097f981 Merge "Show "Display over other apps" in search" 2019-09-23 07:00:49 +00:00
Tsung-Mao Fang
a257ca8a07 Add search key word for Profile HWUI rendering
Test: Rebuild, and see the search result
Fixes: 141096384
Change-Id: Ic25eb9f4b7bbffd33323eabbb80092d620d8da17
2019-09-23 14:06:37 +08:00
Tsung-Mao Fang
fcefb143f3 Show "Display over other apps" in search
Since there're same two keys in settings app,
search indexes this preference fail.

Test: Rebuild, and see search result again.
Bug: 141096384
Change-Id: I8b1edfe1728b44d98d59ba2e790b29e33901308a
2019-09-23 13:44:51 +08:00
Yi-Ling Chuang
fe790ec76d Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc am: 8d8c3e19b5 am: b26711944b
am: 3b8a14e86f

Change-Id: I97bcdc54f908db6f5895d99f284ee24fb4015433
2019-09-22 20:23:28 -07:00
Yi-Ling Chuang
3b8a14e86f Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc am: 8d8c3e19b5
am: b26711944b

Change-Id: I0edf1eff42cf54e644e60a11ba97219c38891e93
2019-09-22 20:16:25 -07:00
Yi-Ling Chuang
b26711944b Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc
am: 8d8c3e19b5

Change-Id: I8fae05f98c2ad04e0d7fba7a2aa409c08f781c0b
2019-09-22 20:09:51 -07:00
Yi-Ling Chuang
8d8c3e19b5 Merge "Enable dismissal feature on legacy suggestions."
am: ee39335edc

Change-Id: Ibce2403de032bd3d7fce750f6cd80191a8b14441
2019-09-22 20:03:21 -07:00
Arc Wang
44fa9d579d [Wi-Fi] Improve UX when there is no user certificate to choose for WPA-Enterprise 192-bit
Show error message when a user does not specify a user certificate
for WPA3-Enterprise 192-bit.

Bug: 138417816
Test: visual
Change-Id: Ifc519d484dbf78dad37ad7047e8b9bb40685d54c
2019-09-23 09:39:20 +08:00
Bill Yi
0b39e54783 Import translations. DO NOT MERGE
Change-Id: I92110fede16a12a445efbd96896e17f46f89a203
Auto-generated-cl: translation import
2019-09-22 07:52:20 -07:00
Yi-Ling Chuang
83ac0efd81 Enable dismissal feature on legacy suggestions.
Add back the close button for legacy suggestions.

Fixes: 140786274
Test: robotest
Change-Id: Iaf0376bd482db4c4ff7d04a68131071c29c01ced
2019-09-20 18:03:10 -07:00
TreeHugger Robot
0aec85c8c1 Merge "Update notification log" 2019-09-20 14:24:24 +00:00
Goven Liu
fcfff7a7f3 Merge "[Wi-Fi] Cannot connect to hidden WiFi network." 2019-09-20 04:17:23 +00:00
Stanley Wang
03d6dad7d4 Merge "Fix can't find the search result by input "4G Calling"" 2019-09-20 02:17:07 +00:00
Kevin Chang
ddc8440aad Merge "Change disable accessibility service dialog layout" 2019-09-20 02:14:26 +00:00
Stanley Wang
9cbca4bcee Fix can't find the search result by input "4G Calling"
Add indexable raw data for type 4G_CALLING or ADVANCED_CALL and
set the volte to non-indexable if current type is not volte.

Fixes: 137155154
Test: manual

Change-Id: I0992f9fb95e0b1cc23fb4f38f356ee0569f3b5b1
2019-09-19 19:21:16 +08:00
hughchen
932d156aca Change text size of header title in advanced bluetooth
1. change the text size of header title
2. Set gravity of header title as "center"

Bug: 138633953
Test: manually
Change-Id: I358c6a10e3cb97b46c3b8f6d50f7046414ddfb13
2019-09-19 16:57:14 +08:00
Kevin Chang
f8c360febf Add content description in the tutorial dialog
Add content description in the message of tutorial dialog in
accessibility button mode. It prevents Talkback speaking out "%s",
which is not the content we want.

Bug: 135497450
Test: test with TalkBack
Change-Id: If7ce8a957cbb44a12124bc3436d8e32ef0f0da83
2019-09-19 15:04:42 +08:00
joshmccloskey
3786016993 Removed old settings device credential logic.
Bug: 140128468
Test: Verified with biometricpromptdemo that confirm device credential
still works correctly.
Change-Id: I0f608ba1256c696317402f56549452bf6933066b
2019-09-18 15:57:22 -07:00
Julia Reynolds
b294b82c84 Update notification log
- Change notification presentation to better match notification shade
- Stop constantly removing and readding all of the preferences
- Update individual preferences in a kind of hacky way (to be improved
later)
- Link notification entries to notification preferences screen
- Hide notification summaries

Bug: 137396965
Test: manual
Change-Id: Icdd54488b8bf659f6fe42af93e42cd21912fa4fe
2019-09-18 17:30:04 -04:00
govenliu
712df89893 [Wi-Fi] Cannot connect to hidden WiFi network.
When click "Add network" to add a new network, user may ignore the "Hidden network" item, which is in "Advanced options". That will cause the added hidden network can not be connected.

To improve it, move the "Hidden network" from last one to be first one.

Bug: 135281908
Test: Check if the hidden setting spinner is the first one item in Advanced options.
Change-Id: I0f90a6b2992b38ccae461c07d6b13cda0ca9d2b2
2019-09-18 16:56:22 +08:00
joshmccloskey
15143bb19f Updated face remove dialog string. am: 7abb800c9f
am: 3b20d776fe

Change-Id: I32a6d7fb9467e3691e9493ec7f73ab56e8449539
2019-09-17 20:35:20 -07:00
joshmccloskey
3b20d776fe Updated face remove dialog string.
am: 7abb800c9f

Change-Id: I22d614cd7c6868e4c28d894ea2a3fe48f8266457
2019-09-17 20:30:28 -07:00
TreeHugger Robot
f9d0a44959 Merge "Add the package of android into whitelist" 2019-09-18 02:37:07 +00:00
joshmccloskey
7abb800c9f Updated face remove dialog string.
Test: Verified that the correct string shows after deleting
face data.
Fixes: 141145591

Change-Id: I836c79fb4775157ae4995f706e05d1fd1233bc8f
2019-09-17 23:46:46 +00:00