Commit Graph

51159 Commits

Author SHA1 Message Date
Pasty Chang
16ff496fc3 Merge "Change accessibility setup page to use glif v3 theme" 2019-04-01 09:32:48 +00:00
Jason Chiu
53d147dd5c Refactor WifiScanWorker
Extracted WifiScanWorker from WifiSlice

Bug: 128056349
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.slices
Change-Id: I9b3c809ee6c2b7466c959631840b257b91b49d88
2019-04-01 16:40:59 +08:00
Torbjorn Eklund
428ba7cde6 WifiCallingSettingsForSubTest: Solve casting problem in setup
Solves casting problem in WifiCallingSettingsForSubTest that causes all
tests in this file to fail in the setup-function.

The wfc mode buttons has changed from being a ListPreference to be a
ListWithEntrySummaryPreference. The test cases have now been updated
accordingly.

Problem was introduced by the following two patches that conflict with
each other. The test cases in WifiCallingSettingsForSubTest works
correctly when each patch is tested in isolation, but failed when they
were both merged:
73ffcf4999
8498436a96

Bug: 129545431
Test: make RunSettingsRoboTests \
ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Change-Id: Ib6988e514bbad2023ba6cfc2e1d8734b68cabc31
2019-04-01 07:27:04 +00:00
clownshen
24827d35b1 Enlarge wifi signal icon from 24dp to 32dp for header view
Bug: 129413562
Test: manual test
Change-Id: I50a27ac25e5ae42530736bb7c019485a51d707ba
2019-04-01 07:08:55 +00:00
Stanley Wang
968b1aaea2 Merge "Implement slices api of SettingsSearchIndexablesProvider" 2019-04-01 04:10:39 +00:00
TreeHugger Robot
4eb82951e4 Merge "Remove method that used to get rainbow bt icon" 2019-03-31 07:03:03 +00:00
TreeHugger Robot
85b017bd15 Merge "Set accent color to COLOR_NOT_TINTED" 2019-03-31 07:03:03 +00:00
TreeHugger Robot
b5bb720bdf Merge "Get rid of extra whitespace at top of Network & internet page" 2019-03-31 03:25:27 +00:00
Antony Sargent
997cabb8a3 Get rid of extra whitespace at top of Network & internet page
In DSDS mode, we put an extra header at the top of the Network &
internet page with a listing of your available connectivity (mobile
subscriptions, plus wifi). The PreferenceCategory that contains these
prefs has space reserved for a title by default, but we don't need or
want a title here. This CL gets rid of that extra space by using the
custom layout we already have and use in other places for this purpose.

Fixes: 129562555
Test: visual (get device into DSDS mode with multiple SIMs, and look at
the header at the top of the Network & internet page - there should be
no extra space at the top)

Change-Id: I8f9aae9c07303b2d7ecfc8b6722a4d66555392f1
2019-03-30 12:33:09 -07:00
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
Quang Luong
83b814742a Removed Write to NFC dialog
Write to NFC dialog should be removed since WPS isn't supported anymore

Test: atest WifiSettingsTests
Bug: 112745354
Change-Id: I2bccf0b234c5f3138c48700904c2d578072e8cd6
2019-03-29 16:12:32 -07:00
TreeHugger Robot
961f038c4d Merge "Add log about ChooseLockGeneric refusing to start" 2019-03-29 21:43:48 +00:00
Malcolm Chen
5cc16b2cc0 Move SIM select logic from SimSelectNotification to Telephony.
SimSelectNotification used to listen to SIM_STATE_CHANGED from Telephony
and do checkings to decide whether to pop up notification and
SimDialogActivity. The logic needs updated and only Telephony knows it
well. So this change moves the logic into Telephony. SimSelectNotification
only listens to Telephony's decision, brings up notification and trigger
SimDialogActivity.

Bug: 128645056
Test: sanity and manual
Change-Id: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
Merged-In: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
2019-03-29 14:42:48 -07: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
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