Commit Graph

50837 Commits

Author SHA1 Message Date
TreeHugger Robot
299a04c59b Merge "Revert "Use explicit intent to broadcast grayscale state changed"" 2019-03-30 04:01:22 +00:00
Mill Chen
d9e3a34e7c Revert "Use explicit intent to broadcast grayscale state changed"
This reverts commit 2ef3dacad8.

Reason for revert: use Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND to implement

Change-Id: I39754866d1c18eb6c024dcc0555e763a82b7a14f
2019-03-30 01:55:23 +00:00
TreeHugger Robot
961f038c4d Merge "Add log about ChooseLockGeneric refusing to start" 2019-03-29 21:43:48 +00:00
Maurice Lam
e7cad18394 Add log about ChooseLockGeneric refusing to start
Test: Manual
Bug: 129445834
Change-Id: I4fd034a3c3d1c004144d4b49c0ce14e7aa89fcba
2019-03-29 10:58:54 -07:00
Maurice Lam
3d42603271 Merge "Fix dark theme for screen lock settings" 2019-03-29 17:44:23 +00:00
TreeHugger Robot
48fc863a52 Merge "Remove WebView fallback package handling." 2019-03-29 17:25:56 +00:00
Fan Zhang
d7c071bd11 Merge "Fix talkback issue on collapsed condition card" 2019-03-29 17:04:22 +00:00
TreeHugger Robot
8c1935c1fd Merge "Clean up test cases related to long press dismissal" 2019-03-29 16:37:21 +00:00
Julia Reynolds
560e175ade Merge "Prevent oem locked and default apps from being blocked" 2019-03-29 15:25:58 +00:00
Yi-Ling Chuang
7f78005f0a Clean up test cases related to long press dismissal
Bug: 126214056
Test: robotests
Change-Id: I1d0d21453e5c7b2c12ea6c0fa2c385d3bba0e04e
2019-03-29 22:36:02 +08:00
Irina Dumitrescu
e69f336850 Disable "Learn more" button for unknown apps disabled by admin on secondary profiles.
Test: packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ExternalSourcesDetailsTest.java
Test: packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ActionDisabledByAdminDialogHelperTest.java
Fixes:118881180
Change-Id: I8f6dbd9decba331fbe0a3495a2989f570f2afa67
2019-03-29 13:18:53 +00:00
Julia Reynolds
4524c700f3 Merge "Move bubble settings to their own page" 2019-03-29 12:34:14 +00:00
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
TreeHugger Robot
7b571b7018 Merge "Update Model pref subtext to remove redundant prefix" 2019-03-29 06:11:33 +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
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
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