Commit Graph

51186 Commits

Author SHA1 Message Date
Yanting Yang
352ca99541 Fix talkback issue on collapsed condition card
When condition card is collapsed, there are only showing icons.
Accessibility can't speak meaningful information after tap it. Use
existed condition expend string to assign content description.

Fixes:128897141
Test: manual
Change-Id: I49bc1ee8af424e90aac6555829c545914355862b
2019-03-29 19:42:37 +08:00
TreeHugger Robot
fe27295275 Merge "Handle When received intent extra in System settings need show dialog" 2019-03-29 10:44:22 +00:00
TreeHugger Robot
7370aaa282 Merge "[Network Connection] Correct canceling dialog behavior" 2019-03-29 09:45:22 +00:00
TreeHugger Robot
76ff2b4291 Merge "Hide Wi-Fi QR code scan button for unsupported Wi-Fi networks" 2019-03-29 08:57:29 +00:00
cnchen
a8bf29e2e7 Pass back number of fingerprint enrolled from settings to SUW
Bug: 115251237
Test: RunSettingsRoboTests, manual test intent data has been received by SUW
Change-Id: I951106163deb0cf0c0cf226cc629a9caddd55436
2019-03-29 16:31:12 +08:00
Stanley Wang
dbcdb95daa Implement slices api of SettingsSearchIndexablesProvider
add querySliceUriPairs method to  provider

Fixes: 129322803
Test: manual and robotests
Change-Id: I9255ed6dba5b8b1fc79caa3026c8b31924c95f4b
2019-03-29 15:02:03 +08:00
TreeHugger Robot
7b571b7018 Merge "Update Model pref subtext to remove redundant prefix" 2019-03-29 06:11:33 +00:00
pastychang
7539cf8ed8 Change accessibility setup page to use glif v3 theme
Bug: 126065441
Test: Manual
Change-Id: I383ac07aa588db4604323de54a37fa03078dee57
2019-03-29 13:28:38 +08:00
Bill Rassieur
d09106b207 Merge master@5406228 into git_qt-dev-plus-aosp.
Change-Id: Ie1dbf2e7742dc663965f33c5bd7bbb08a771bc92
BUG: 129345239
2019-03-29 04:26:14 +00:00
TreeHugger Robot
6f402eda13 Merge "Change master switch background and icon color" 2019-03-29 04:08:49 +00:00
Cosmo Hsieh
e1b6d7d875 Merge "Show "Disconnect" on forget button for ephemeral network" 2019-03-29 03:18:00 +00:00
Arc Wang
dae6c695ca Hide Wi-Fi QR code scan button for unsupported Wi-Fi networks
Wi-Fi QR code scan button only shows for the Wi-Fi network which
supports Wi-Fi Easy Connect or ZXing Wi-Fi config format.

Bug: 128847959
Test: manual
Change-Id: If6460ce88748e7b06893bf62060418a8727d3134
2019-03-29 10:17:44 +08:00
cosmohsieh
03b8cd76ac [Network Connection] Correct canceling dialog behavior
Use setCancelable() rather than setCanceledOnTouchOutside() for better
code smell and consisting with general not canceling behavior.
The back key and touching outside will not cancel this dialog for better
UX.

Bug: 128877712
Test: atest NetworkRequestDialogFragmentTest
Change-Id: I19bc5637a7307610e34db15d54c1d80d5b7e379b
2019-03-29 10:15:21 +08:00
Arc Wang
3f2298c4fd Merge "Fix Wi-Fi Easy Connect QR code scanner problems" 2019-03-29 01:57:35 +00:00
lindatseng
b38e333535 Update Model pref subtext to remove redundant prefix
Remove "Model: " prefix from the description of Model pref in
About phone > Model & hardware > Model

Test: Visual veridication
Fixes: 128622275
Change-Id: I8fb077809e13fded0370271e899163a7f4103f98
2019-03-28 17:27:58 -07:00
Xiangyu/Malcolm Chen
84c5751ceb Merge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED." 2019-03-28 22:39:54 +00:00
Linda Tseng
1b152872c3 Merge "Make the text appearance consistant in add vpn dialog" 2019-03-28 22:39:01 +00:00
TreeHugger Robot
d34b2a9697 Merge "Add SSID to Network Details page for Passpoint" 2019-03-28 22:12:33 +00:00
TreeHugger Robot
e2fb556618 Merge "Use better string in dialog asking which SIM to use for SMS" 2019-03-28 21:44:30 +00:00
Maurice Lam
7ccbf69390 Fix dark theme for screen lock settings
Test: atest [...]/SetupWizardUtilsTest.java
Bug: 36529801
Change-Id: I81581b4f73754ba6b0754c80a8f962e8f7ed6949
2019-03-28 14:26:48 -07:00
Julia Reynolds
4e48da99a9 Move bubble settings to their own page
To make room for graphics/longer descriptive text

Test: robotests
Bug: 129068779
Change-Id: Iac6ea43bd3a0cddc487ff3d1bbd8f35142294d01
2019-03-28 21:25:05 +00:00
Rich Cannings
5d9189fab2 Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev 2019-03-28 21:15:33 +00:00
Fan Zhang
860accbcd1 Merge "Add prepainting background while swiping to dismiss." 2019-03-28 21:11:25 +00:00
Fan Zhang
e422437d75 Merge "Add min width to switchbar toggle." 2019-03-28 21:09:40 +00:00
Salvador Martinez
70da69b0ac Merge "Update dark mode in accessiblity settings" 2019-03-28 20:56:27 +00:00
Salvador Martinez
20e09e05cc Change master switch background and icon color
This CL updates the master switch background color and also
reverts the color of the icons on the left hand side from color
accent back to the default.

Test: visual inspection
Bug: 128769294
Change-Id: Ie02f5049ad628c8564638264e690825f404ee3d9
2019-03-28 13:45:49 -07:00
Julia Reynolds
bd2bb06567 Prevent oem locked and default apps from being blocked
Test: robotests
Fixes: 129358763
Change-Id: I999b017f9f7389424e499a44cfac43711acbbbea
2019-03-28 16:42:13 -04:00
Fan Zhang
ce12670d86 Add min width to switchbar toggle.
Fixes: 127878068
Test: visual
Change-Id: I77eb35ee7931cd6e4808192fe5ff4b700b51ccdb
2019-03-28 13:40:35 -07:00
TreeHugger Robot
23cb22a7f9 Merge "Added null pointer check for mWifiConfig.macRandomizationSetting" 2019-03-28 20:33:23 +00:00
TreeHugger Robot
84a5db7e86 Merge "Update Content Capture strings." 2019-03-28 20:29:36 +00:00
TreeHugger Robot
0a214d31f4 Merge "When filtering permission usages by a single permission, default to last day." 2019-03-28 20:27:50 +00:00
Quang Luong
1859a19302 Added connect listener to startOsuProvisioning()
Updated AccessPoint.startOsuProvisioning() call to accept a connect
listener to display a toast on failure to connect.

Bug: 123697580
Test: build
Change-Id: I0f29b2f5ccc8f2d4b8137639725dca1bcb106b26
2019-03-28 13:09:37 -07:00
Quang Luong
a2297dc1d1 Add SSID to Network Details page for Passpoint
Added SSID to Network Details page under the Advanced portion only
when the network is for Passpoint, whose network title is not the
SSID of the underlying connected AP.

Bug: 129092023
Test: atest RunSettingsRoboTests

Change-Id: I13308d46e727fc01fec7a079d8e32ab9f1763e21
2019-03-28 11:54:19 -07:00
TreeHugger Robot
ce56bb73c5 Merge "Add tiebreak rules for bar chart permissions." 2019-03-28 18:40:17 +00:00
Quang Luong
9f0b00104e Merge "Disable Mac randomization setting for Passpoint networks" 2019-03-28 18:17:22 +00:00
lindatseng
e0f24e6f5e Make the text appearance consistant in add vpn dialog
Set the password fields text appearance programatically to get the
appearance consistant.

The style set in xml will be overriden if the field is set to password.

I set the text appearance programmatically in order to keep the
appearance consistent with the others.  The color of the text become
gray after setting the text appearance for some reason.

Note that I also do changes to the password field which is not mentioned
in the bug.

Test: visual inspection.
Bug: 127728228
Change-Id: Ie206f60877eb39addc1370ae4e2aee379597960e
2019-03-28 11:16:35 -07:00
Torne (Richard Coles)
185acfc5ae Remove WebView fallback package handling.
There is no longer a special "fallback package" state for WebView that
means it should not be able to have its enabled/disabled state
controlled by the user. Remove the code used to implement this in
Settings.

Bug: 129470358
Test: verify that WebView's enable/disable button is not greyed out
Change-Id: Ifc0921511a71282a77f239e5ff5955e60fab6e2c
2019-03-28 14:11:50 -04:00
Antony Sargent
85717d9f8d Use better string in dialog asking which SIM to use for SMS
Right now when you have a dual-SIM device but no default set for which
one to use for SMS, when you go to try and send an SMS you'll get a
dialog asking which SIM to use with the generic string of "Select a SIM
card". We recently added a more specific string for this in a separate
CL, which reads "Select a SIM card for SMS". This CL switches the code
to use that more specific string.

Bug: 129021763
Test: compile / manual
Change-Id: I7d12a7191de23366b0a6b6888021e57ff9ddced9
2019-03-28 10:31:36 -07:00
Felipe Leme
3bfbd1c8f1 Update Content Capture strings.
Also moved it down to the bottom of the screen...

Bug: 129403630
Test: manual verification

Change-Id: Ie21701035717f43c1af9f7040aa71a8c8c91b17d
2019-03-28 10:23:32 -07:00
TreeHugger Robot
1cc5eef87f Merge "Launch correct tone picker for audio attributes" 2019-03-28 16:09:17 +00:00
Joel Galenson
9a2017ef57 When filtering permission usages by a single permission, default to last day.
The general link to the dashboard shows only the last day, but
clicking on an individual permission did not.

Fixes: 129471807
Test: Click on permission.
Change-Id: Ice3b5b1ac6e2cb5a49cabf3c56167c9d39d3c3a1
2019-03-28 16:07:54 +00:00
Joel Galenson
2512aa1ed6 Add tiebreak rules for bar chart permissions.
If multiple permissions have been used by the same number of apps, we
apply a stable tiebreak so we can be consistent in different places.
We prefer location, then microphone, then camera, and everything else
is alphabetical.

Test: View chart with ties.
Test: atest PermissionBarChartPreferenceControllerTest
Change-Id: I035ac19391788cc720e1c832bf8bd5a60d31e8ad
2019-03-28 08:38:30 -07:00
Edgar Wang
59d4681253 Handle When received intent extra in System settings need show dialog
Bug: 128853573
Test: visual, robotest
Change-Id: I92337e26f51c3f7ef4033d424ddcf07c6da6805d
2019-03-28 22:49:09 +08:00
Matt Pape
d65fee5ec7 Merge "Remove interface for Telephony." 2019-03-28 14:48:37 +00:00
Yanting Yang
2585d27573 Merge "Add condition to ignore invalid packages in NotificationChannelSlice" 2019-03-28 13:01:47 +00:00
TreeHugger Robot
8f7eada87a Merge "Add implementation of homepage swipe to dismiss." 2019-03-28 10:36:24 +00:00
Yi-Ling Chuang
ab0bc669ae Add prepainting background while swiping to dismiss.
When users swipe the card, they will see a pre-painted background.
The dismissal view will appear in only after the swipe.

Bug: 126214056
Test: visual
Change-Id: I0eb308700cda2e6d72c718f3057775d3620267cd
2019-03-28 18:35:52 +08:00
Yanting Yang
b1d846cbbd Add condition to ignore invalid packages in NotificationChannelSlice
If all displayable notification channels of package are turned off,
stop showing notification channel slice of package.

Bug: 124480122
Test: robotests
Change-Id: I3ce9ebc4cca18dac3b4b6f15c28c697b72df81e3
2019-03-28 18:01:11 +08:00
TreeHugger Robot
d54c74eb65 Merge "Fix navigation back problem from Assist app" 2019-03-28 09:21:24 +00:00
Yanting Yang
7bac003389 Merge "Remove additional divider from Battery settings" 2019-03-28 08:49:43 +00:00