Commit Graph

50866 Commits

Author SHA1 Message Date
Fan Zhang
03dd39c92a Add a flashlight handler activity to support indexability.
Fixes: 128465925
Fixes: 123711093
Test: reindex
Change-Id: Ie082e65ee070f6143c4c65db3f70615b16af0e52
2019-04-03 12:16:33 -07:00
Fan Zhang
15e0d60f11 Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup" am: 8877dc8fd0 am: 3a19c32bfe
am: 74fa961299

Change-Id: I5c71c56414783b97d4faf1ecd56c20f5fd5793a3
2019-04-01 14:56:58 -07:00
Fan Zhang
74fa961299 Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup" am: 8877dc8fd0
am: 3a19c32bfe

Change-Id: Ifc39462efeb50a6776cf4e419df650164ad5f1a5
2019-04-01 14:50:41 -07:00
Xiangyu/Malcolm Chen
d5f0e93e66 [automerger skipped] Merge "Move SIM select logic from SimSelectNotification to Telephony." am: 6fca0c9495 am: d42dcf04db
am: 33aba7c0d0 -s ours
am skip reason: change_id I6153e27dd00dd9cdf8682f135eb39f8af3a75608 with SHA1 41855ec8b9 is in history

Change-Id: I8b50c0da43c795b0db04a695b3242136fd6d936c
2019-04-01 14:49:16 -07:00
Fan Zhang
3a19c32bfe Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup"
am: 8877dc8fd0

Change-Id: I34fd41dfc4e12c069f78cb017f8f754a43689b74
2019-04-01 14:45:32 -07:00
Xiangyu/Malcolm Chen
33aba7c0d0 Merge "Move SIM select logic from SimSelectNotification to Telephony." am: 6fca0c9495
am: d42dcf04db

Change-Id: I5f57320b1ad10e5207771bae0495eac656240a02
2019-04-01 14:32:12 -07:00
Fan Zhang
8877dc8fd0 Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup" 2019-04-01 21:11:38 +00:00
Xiangyu/Malcolm Chen
d42dcf04db Merge "Move SIM select logic from SimSelectNotification to Telephony."
am: 6fca0c9495

Change-Id: I85ec9746b8df4a5eb53d6e0fe7e29434f12ec812
2019-04-01 14:06:49 -07:00
Xiangyu/Malcolm Chen
6fca0c9495 Merge "Move SIM select logic from SimSelectNotification to Telephony." 2019-04-01 20:51:54 +00:00
TreeHugger Robot
761704809b Merge "Send a broadcast when turning grayscale off" 2019-04-01 20:15:24 +00:00
Mill Chen
526fb9f8fb Send a broadcast when turning grayscale off
When users turn grayscale off in Settings, Settings will send an intent
to receivers who have requested the CONTROL_DISPLAY_COLOR_TRANSFORMS
permission. We also specify FLAG_RECIEVER_INCLUDE_BACKGROUND to make
sure that the intent could be sent to manifest receivers.

Bug: 118387886
Test: robotests
Change-Id: Ib0c959e72dd4068014951347df35409790c77ab5
2019-04-01 11:11:47 -07:00
Quang Luong
619211cd9e Merge "Added connect listener to startOsuProvisioning()" 2019-04-01 17:55:36 +00:00
Yanting Yang
44b84de84c Merge "Fix talkback issue which focus on entire grid" 2019-04-01 17:48:09 +00:00
TreeHugger Robot
77d8cff015 Merge "Refactor WifiScanWorker" 2019-04-01 13:48:27 +00:00
Yanting Yang
a0982b39bc Fix talkback issue which focus on entire grid
When there is only one condition card, sometimes talkback will focus on
entire grid. In fact, the entire grid is a recycler view which is the
container to put all contextual cards. Mark the recycler view with no
important for accessibility to fix it.

Fixes: 128896302
Test: visual
Change-Id: I177fa014ec3208001b3a490dbdf9b6b6195985ea
2019-04-01 18:38:42 +08:00
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
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
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
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
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