OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoAdd prompt to sign in at captive portal to Wi-Fi Slice
Jason Chiu [Tue, 2 Apr 2019 05:57:29 +0000 (13:57 +0800)]
Add prompt to sign in at captive portal to Wi-Fi Slice

- Support signing in captive portal APs in WifiSlice
- Show ContextualWifiSlice when signing in is required
- Generifies SliceBackgroundWorker.getInstance() to return <T extends SliceBackgroundWorker>

Fixes: 128056349
Test: make RunSettingsRoboTests -j
Change-Id: Ib4d3942591a65e81018389e4c0bbddfea6854dbc

5 years agoMerge "Disallow Package Installer to be disabled"
TreeHugger Robot [Tue, 2 Apr 2019 05:12:32 +0000 (05:12 +0000)]
Merge "Disallow Package Installer to be disabled"

5 years agoMerge "Control VoLTE toggle names by "show_4g_for_lte_data_icon_bool"."
Tony Zhu [Tue, 2 Apr 2019 03:36:03 +0000 (03:36 +0000)]
Merge "Control VoLTE toggle names by "show_4g_for_lte_data_icon_bool"."

5 years agoMerge "Enlarge wifi signal icon from 24dp to 32dp for header view"
Clown SHEN [Tue, 2 Apr 2019 03:20:34 +0000 (03:20 +0000)]
Merge "Enlarge wifi signal icon from 24dp to 32dp for header view"

5 years agoMerge "Update state as disconnected when Wi-Fi disabled"
Clown SHEN [Tue, 2 Apr 2019 03:03:49 +0000 (03:03 +0000)]
Merge "Update state as disconnected when Wi-Fi disabled"

5 years agoUpdate state as disconnected when Wi-Fi disabled
clownshen [Fri, 29 Mar 2019 06:20:32 +0000 (14:20 +0800)]
Update state as disconnected when Wi-Fi disabled

Connect button display wrong string "Connecting..." and be disabled
when Wi-Fi turned off at quick setting. Update state as disconnected
when Wi-Fi disabled to fix this issue.

Bug: 129514552
Test: manual test
Change-Id: I76a247ce0ed951357172e67221281b004df386d8

5 years agoControl VoLTE toggle names by "show_4g_for_lte_data_icon_bool".
tonyzhu [Thu, 28 Mar 2019 12:07:18 +0000 (20:07 +0800)]
Control VoLTE toggle names by "show_4g_for_lte_data_icon_bool".

Using "show_4g_for_lte_data_icon_bool" to control VoLTE toggle names,
making sure strings can be correspond to the icon.

Bug: 128325427
Test: Use commands to override carrier config to observe the
UI as expected.
Test: atest pass.

Change-Id: I41dd28eb2c14d385a8396c551bf5ef2cf9258997

5 years ago[automerger skipped] Merge "Show the disclaimer regarding WFC location privacy policy...
Hall Liu [Tue, 2 Apr 2019 00:58:07 +0000 (17:58 -0700)]
[automerger skipped] Merge "Show the disclaimer regarding WFC location privacy policy" am: 5697a7e85d am: fa412244c8
am: 23551e561f -s ours
am skip reason: change_id I03895743fb8da95269069ad7eda9a7b3e282857e with SHA1 a37337349c is in history

Change-Id: Ic1a35b2edfeb9ecd2780cb73452d52c5f4488e4d

5 years agoMerge "Show the disclaimer regarding WFC location privacy policy" am: 5697a7e85d
Hall Liu [Tue, 2 Apr 2019 00:13:21 +0000 (17:13 -0700)]
Merge "Show the disclaimer regarding WFC location privacy policy" am: 5697a7e85d
am: fa412244c8

Change-Id: Id628e249c421740339dab7ce8abf60371fb12110

5 years agoMerge "Show the disclaimer regarding WFC location privacy policy"
Hall Liu [Mon, 1 Apr 2019 23:25:49 +0000 (16:25 -0700)]
Merge "Show the disclaimer regarding WFC location privacy policy"
am: 5697a7e85d

Change-Id: Iddb15758aefffade3138d0d8c42a953d50640b14

5 years agoMerge "Show the disclaimer regarding WFC location privacy policy"
Hall Liu [Mon, 1 Apr 2019 22:55:51 +0000 (22:55 +0000)]
Merge "Show the disclaimer regarding WFC location privacy policy"

5 years agoMerge "Don't allow RRO uninstall if overlay is enabled"
TreeHugger Robot [Mon, 1 Apr 2019 22:48:16 +0000 (22:48 +0000)]
Merge "Don't allow RRO uninstall if overlay is enabled"

5 years agoMerge "Tint icon colors of storage screen same as other screen"
Linda Tseng [Mon, 1 Apr 2019 22:07:32 +0000 (22:07 +0000)]
Merge "Tint icon colors of storage screen same as other screen"

5 years agoMerge "WifiCallingSettingsForSubTest: Solve casting problem in setup" am: 8877dc8fd0...
Fan Zhang [Mon, 1 Apr 2019 21:56:58 +0000 (14:56 -0700)]
Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup" am: 8877dc8fd0 am: 3a19c32bfe
am: 74fa961299

Change-Id: I5c71c56414783b97d4faf1ecd56c20f5fd5793a3

5 years agoMerge "WifiCallingSettingsForSubTest: Solve casting problem in setup" am: 8877dc8fd0
Fan Zhang [Mon, 1 Apr 2019 21:50:41 +0000 (14:50 -0700)]
Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup" am: 8877dc8fd0
am: 3a19c32bfe

Change-Id: Ifc39462efeb50a6776cf4e419df650164ad5f1a5

5 years ago[automerger skipped] Merge "Move SIM select logic from SimSelectNotification to Telep...
Xiangyu/Malcolm Chen [Mon, 1 Apr 2019 21:49:16 +0000 (14:49 -0700)]
[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

5 years agoMerge "WifiCallingSettingsForSubTest: Solve casting problem in setup"
Fan Zhang [Mon, 1 Apr 2019 21:45:32 +0000 (14:45 -0700)]
Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup"
am: 8877dc8fd0

Change-Id: I34fd41dfc4e12c069f78cb017f8f754a43689b74

5 years agoMerge "Move SIM select logic from SimSelectNotification to Telephony." am: 6fca0c9495
Xiangyu/Malcolm Chen [Mon, 1 Apr 2019 21:32:12 +0000 (14:32 -0700)]
Merge "Move SIM select logic from SimSelectNotification to Telephony." am: 6fca0c9495
am: d42dcf04db

Change-Id: I5f57320b1ad10e5207771bae0495eac656240a02

5 years agoMerge "WifiCallingSettingsForSubTest: Solve casting problem in setup"
Fan Zhang [Mon, 1 Apr 2019 21:11:38 +0000 (21:11 +0000)]
Merge "WifiCallingSettingsForSubTest: Solve casting problem in setup"

5 years agoMerge "Move SIM select logic from SimSelectNotification to Telephony."
Xiangyu/Malcolm Chen [Mon, 1 Apr 2019 21:06:49 +0000 (14:06 -0700)]
Merge "Move SIM select logic from SimSelectNotification to Telephony."
am: 6fca0c9495

Change-Id: I85ec9746b8df4a5eb53d6e0fe7e29434f12ec812

5 years agoMerge "Move SIM select logic from SimSelectNotification to Telephony."
Xiangyu/Malcolm Chen [Mon, 1 Apr 2019 20:51:54 +0000 (20:51 +0000)]
Merge "Move SIM select logic from SimSelectNotification to Telephony."

5 years agoDon't allow RRO uninstall if overlay is enabled
Zoran Jovanovic [Sun, 17 Feb 2019 21:54:47 +0000 (22:54 +0100)]
Don't allow RRO uninstall if overlay is enabled

System RROs can never be uninstalled. Also, enabled RRO, i.e.
RRO applied to their target packages, must not be uninstalled by
end-user because that may be dangerous to the configuration of
its target package. Disabled RROs, i.e. RRO not applied to their
target packages, are free to be uninstalled to reclaim space.

Bug: 124556507
Test: manual + `make RunSettingsRoboTests ROBOTEST_FILTER=AppButtonsPreferenceControllerTest`
Change-Id: Ib6bd2765c8cb88a5887de817a08a1541eaee0cab

5 years agoMerge "Send a broadcast when turning grayscale off"
TreeHugger Robot [Mon, 1 Apr 2019 20:15:24 +0000 (20:15 +0000)]
Merge "Send a broadcast when turning grayscale off"

5 years agoTint icon colors of storage screen same as other screen
lindatseng [Thu, 28 Mar 2019 21:46:36 +0000 (14:46 -0700)]
Tint icon colors of storage screen same as other screen

We were using hard-coded colors to tint the icons on storage screen
for some reasons.  Change it to the same way we tint other icons,
as there's no reason to keep it special, and also per partner's
request to keep it consistent with other screens.

Also update the ic_sim_sd icon from png to vectors.

Test: Manual/Visual verification
BUG: 113977374
Change-Id: Ia0210635e936b6798aaf9e48dd8815a197396065

5 years agoSend a broadcast when turning grayscale off
Mill Chen [Sat, 30 Mar 2019 06:44:57 +0000 (23:44 -0700)]
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

5 years agoMerge "Added connect listener to startOsuProvisioning()"
Quang Luong [Mon, 1 Apr 2019 17:55:36 +0000 (17:55 +0000)]
Merge "Added connect listener to startOsuProvisioning()"

5 years agoMerge "Fix talkback issue which focus on entire grid"
Yanting Yang [Mon, 1 Apr 2019 17:48:09 +0000 (17:48 +0000)]
Merge "Fix talkback issue which focus on entire grid"

5 years agoMerge "Refactor WifiScanWorker"
TreeHugger Robot [Mon, 1 Apr 2019 13:48:27 +0000 (13:48 +0000)]
Merge "Refactor WifiScanWorker"

5 years agoFix talkback issue which focus on entire grid
Yanting Yang [Mon, 1 Apr 2019 10:13:17 +0000 (18:13 +0800)]
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

5 years agoMerge "Change accessibility setup page to use glif v3 theme"
Pasty Chang [Mon, 1 Apr 2019 09:32:48 +0000 (09:32 +0000)]
Merge "Change accessibility setup page to use glif v3 theme"

5 years agoRefactor WifiScanWorker
Jason Chiu [Mon, 1 Apr 2019 07:54:08 +0000 (15:54 +0800)]
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

5 years agoWifiCallingSettingsForSubTest: Solve casting problem in setup
Torbjorn Eklund [Thu, 28 Mar 2019 12:18:47 +0000 (13:18 +0100)]
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:
73ffcf49990ab3134b139607c0225f6ae1646c18
8498436a9613c806d4e1085074aea22f1a78675a

Bug: 129545431
Test: make RunSettingsRoboTests \
ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Change-Id: Ib6988e514bbad2023ba6cfc2e1d8734b68cabc31

5 years agoEnlarge wifi signal icon from 24dp to 32dp for header view
clownshen [Fri, 29 Mar 2019 12:22:02 +0000 (20:22 +0800)]
Enlarge wifi signal icon from 24dp to 32dp for header view

Bug: 129413562
Test: manual test
Change-Id: I50a27ac25e5ae42530736bb7c019485a51d707ba

5 years agoMerge "Implement slices api of SettingsSearchIndexablesProvider"
Stanley Wang [Mon, 1 Apr 2019 04:10:39 +0000 (04:10 +0000)]
Merge "Implement slices api of SettingsSearchIndexablesProvider"

5 years agoMerge "Remove method that used to get rainbow bt icon"
TreeHugger Robot [Sun, 31 Mar 2019 07:03:03 +0000 (07:03 +0000)]
Merge "Remove method that used to get rainbow bt icon"

5 years agoMerge "Set accent color to COLOR_NOT_TINTED"
TreeHugger Robot [Sun, 31 Mar 2019 07:03:03 +0000 (07:03 +0000)]
Merge "Set accent color to COLOR_NOT_TINTED"

5 years agoMerge "Get rid of extra whitespace at top of Network & internet page"
TreeHugger Robot [Sun, 31 Mar 2019 03:25:27 +0000 (03:25 +0000)]
Merge "Get rid of extra whitespace at top of Network & internet page"

5 years agoGet rid of extra whitespace at top of Network & internet page
Antony Sargent [Fri, 29 Mar 2019 22:06:16 +0000 (15:06 -0700)]
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

5 years agoMerge "Revert "Use explicit intent to broadcast grayscale state changed""
TreeHugger Robot [Sat, 30 Mar 2019 04:01:22 +0000 (04:01 +0000)]
Merge "Revert "Use explicit intent to broadcast grayscale state changed""

5 years agoRevert "Use explicit intent to broadcast grayscale state changed"
Mill Chen [Sat, 30 Mar 2019 01:55:23 +0000 (01:55 +0000)]
Revert "Use explicit intent to broadcast grayscale state changed"

This reverts commit 2ef3dacad855a3493f630b208b323fb2f6b29fa9.

Reason for revert: use Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND to implement

Change-Id: I39754866d1c18eb6c024dcc0555e763a82b7a14f

5 years agoMerge "Add log about ChooseLockGeneric refusing to start"
TreeHugger Robot [Fri, 29 Mar 2019 21:43:48 +0000 (21:43 +0000)]
Merge "Add log about ChooseLockGeneric refusing to start"

5 years agoMove SIM select logic from SimSelectNotification to Telephony.
Malcolm Chen [Fri, 15 Mar 2019 03:34:50 +0000 (20:34 -0700)]
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

5 years agoAdd log about ChooseLockGeneric refusing to start
Maurice Lam [Fri, 29 Mar 2019 17:58:54 +0000 (10:58 -0700)]
Add log about ChooseLockGeneric refusing to start

Test: Manual
Bug: 129445834
Change-Id: I4fd034a3c3d1c004144d4b49c0ce14e7aa89fcba

5 years agoMerge "Fix dark theme for screen lock settings"
Maurice Lam [Fri, 29 Mar 2019 17:44:23 +0000 (17:44 +0000)]
Merge "Fix dark theme for screen lock settings"

5 years agoMerge "Remove WebView fallback package handling."
TreeHugger Robot [Fri, 29 Mar 2019 17:25:56 +0000 (17:25 +0000)]
Merge "Remove WebView fallback package handling."

5 years agoMerge "Fix talkback issue on collapsed condition card"
Fan Zhang [Fri, 29 Mar 2019 17:04:22 +0000 (17:04 +0000)]
Merge "Fix talkback issue on collapsed condition card"

5 years agoMerge "Clean up test cases related to long press dismissal"
TreeHugger Robot [Fri, 29 Mar 2019 16:37:21 +0000 (16:37 +0000)]
Merge "Clean up test cases related to long press dismissal"

5 years agoMerge "Prevent oem locked and default apps from being blocked"
Julia Reynolds [Fri, 29 Mar 2019 15:25:58 +0000 (15:25 +0000)]
Merge "Prevent oem locked and default apps from being blocked"

5 years agoClean up test cases related to long press dismissal
Yi-Ling Chuang [Fri, 29 Mar 2019 14:36:02 +0000 (22:36 +0800)]
Clean up test cases related to long press dismissal

Bug: 126214056
Test: robotests
Change-Id: I1d0d21453e5c7b2c12ea6c0fa2c385d3bba0e04e

5 years agoDisable "Learn more" button for unknown apps disabled by admin on secondary profiles.
Irina Dumitrescu [Fri, 8 Mar 2019 23:51:04 +0000 (23:51 +0000)]
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

5 years agoMerge "Move bubble settings to their own page"
Julia Reynolds [Fri, 29 Mar 2019 12:34:14 +0000 (12:34 +0000)]
Merge "Move bubble settings to their own page"

5 years agoFix talkback issue on collapsed condition card
Yanting Yang [Fri, 29 Mar 2019 11:42:37 +0000 (19:42 +0800)]
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

5 years agoMerge "Handle When received intent extra in System settings need show dialog"
TreeHugger Robot [Fri, 29 Mar 2019 10:44:22 +0000 (10:44 +0000)]
Merge "Handle When received intent extra in System settings need show dialog"

5 years agoMerge "[Network Connection] Correct canceling dialog behavior"
TreeHugger Robot [Fri, 29 Mar 2019 09:45:22 +0000 (09:45 +0000)]
Merge "[Network Connection] Correct canceling dialog behavior"

5 years agoMerge "Hide Wi-Fi QR code scan button for unsupported Wi-Fi networks"
TreeHugger Robot [Fri, 29 Mar 2019 08:57:29 +0000 (08:57 +0000)]
Merge "Hide Wi-Fi QR code scan button for unsupported Wi-Fi networks"

5 years agoImplement slices api of SettingsSearchIndexablesProvider
Stanley Wang [Thu, 28 Mar 2019 13:22:35 +0000 (21:22 +0800)]
Implement slices api of SettingsSearchIndexablesProvider

add querySliceUriPairs method to  provider

Fixes: 129322803
Test: manual and robotests
Change-Id: I9255ed6dba5b8b1fc79caa3026c8b31924c95f4b

5 years agoMerge "Update Model pref subtext to remove redundant prefix"
TreeHugger Robot [Fri, 29 Mar 2019 06:11:33 +0000 (06:11 +0000)]
Merge "Update Model pref subtext to remove redundant prefix"

5 years agoChange accessibility setup page to use glif v3 theme
pastychang [Fri, 29 Mar 2019 03:17:04 +0000 (11:17 +0800)]
Change accessibility setup page to use glif v3 theme

Bug: 126065441
Test: Manual
Change-Id: I383ac07aa588db4604323de54a37fa03078dee57

5 years agoMerge "Change master switch background and icon color"
TreeHugger Robot [Fri, 29 Mar 2019 04:08:49 +0000 (04:08 +0000)]
Merge "Change master switch background and icon color"

5 years agoMerge "Show "Disconnect" on forget button for ephemeral network"
Cosmo Hsieh [Fri, 29 Mar 2019 03:18:00 +0000 (03:18 +0000)]
Merge "Show "Disconnect" on forget button for ephemeral network"

5 years agoHide Wi-Fi QR code scan button for unsupported Wi-Fi networks
Arc Wang [Thu, 28 Mar 2019 07:39:03 +0000 (15:39 +0800)]
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

5 years ago[Network Connection] Correct canceling dialog behavior
cosmohsieh [Tue, 26 Mar 2019 07:22:08 +0000 (15:22 +0800)]
[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

5 years agoMerge "Fix Wi-Fi Easy Connect QR code scanner problems"
Arc Wang [Fri, 29 Mar 2019 01:57:35 +0000 (01:57 +0000)]
Merge "Fix Wi-Fi Easy Connect QR code scanner problems"

5 years agoUpdate Model pref subtext to remove redundant prefix
lindatseng [Fri, 29 Mar 2019 00:24:30 +0000 (17:24 -0700)]
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

5 years agoMerge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED."
Xiangyu/Malcolm Chen [Thu, 28 Mar 2019 22:39:54 +0000 (22:39 +0000)]
Merge "Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED."

5 years agoMerge "Make the text appearance consistant in add vpn dialog"
Linda Tseng [Thu, 28 Mar 2019 22:39:01 +0000 (22:39 +0000)]
Merge "Make the text appearance consistant in add vpn dialog"

5 years agoMerge "Add SSID to Network Details page for Passpoint"
TreeHugger Robot [Thu, 28 Mar 2019 22:12:33 +0000 (22:12 +0000)]
Merge "Add SSID to Network Details page for Passpoint"

5 years agoMerge "Use better string in dialog asking which SIM to use for SMS"
TreeHugger Robot [Thu, 28 Mar 2019 21:44:30 +0000 (21:44 +0000)]
Merge "Use better string in dialog asking which SIM to use for SMS"

5 years agoFix dark theme for screen lock settings
Maurice Lam [Wed, 27 Mar 2019 02:20:39 +0000 (19:20 -0700)]
Fix dark theme for screen lock settings

Test: atest [...]/SetupWizardUtilsTest.java
Bug: 36529801
Change-Id: I81581b4f73754ba6b0754c80a8f962e8f7ed6949

5 years agoMove bubble settings to their own page
Julia Reynolds [Tue, 26 Mar 2019 13:04:22 +0000 (09:04 -0400)]
Move bubble settings to their own page

To make room for graphics/longer descriptive text

Test: robotests
Bug: 129068779
Change-Id: Iac6ea43bd3a0cddc487ff3d1bbd8f35142294d01

5 years agoMerge "Add prepainting background while swiping to dismiss."
Fan Zhang [Thu, 28 Mar 2019 21:11:25 +0000 (21:11 +0000)]
Merge "Add prepainting background while swiping to dismiss."

5 years agoMerge "Add min width to switchbar toggle."
Fan Zhang [Thu, 28 Mar 2019 21:09:40 +0000 (21:09 +0000)]
Merge "Add min width to switchbar toggle."

5 years agoMerge "Update dark mode in accessiblity settings"
Salvador Martinez [Thu, 28 Mar 2019 20:56:27 +0000 (20:56 +0000)]
Merge "Update dark mode in accessiblity settings"

5 years agoChange master switch background and icon color
Salvador Martinez [Thu, 28 Mar 2019 01:50:16 +0000 (18:50 -0700)]
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

5 years agoPrevent oem locked and default apps from being blocked
Julia Reynolds [Thu, 28 Mar 2019 20:41:36 +0000 (16:41 -0400)]
Prevent oem locked and default apps from being blocked

Test: robotests
Fixes: 129358763
Change-Id: I999b017f9f7389424e499a44cfac43711acbbbea

5 years agoAdd min width to switchbar toggle.
Fan Zhang [Thu, 28 Mar 2019 20:40:35 +0000 (13:40 -0700)]
Add min width to switchbar toggle.

Fixes: 127878068
Test: visual
Change-Id: I77eb35ee7931cd6e4808192fe5ff4b700b51ccdb

5 years agoMerge "Added null pointer check for mWifiConfig.macRandomizationSetting"
TreeHugger Robot [Thu, 28 Mar 2019 20:33:23 +0000 (20:33 +0000)]
Merge "Added null pointer check for mWifiConfig.macRandomizationSetting"

5 years agoMerge "Update Content Capture strings."
TreeHugger Robot [Thu, 28 Mar 2019 20:29:36 +0000 (20:29 +0000)]
Merge "Update Content Capture strings."

5 years agoMerge "When filtering permission usages by a single permission, default to last day."
TreeHugger Robot [Thu, 28 Mar 2019 20:27:50 +0000 (20:27 +0000)]
Merge "When filtering permission usages by a single permission, default to last day."

5 years agoAdded connect listener to startOsuProvisioning()
Quang Luong [Wed, 27 Mar 2019 19:49:42 +0000 (12:49 -0700)]
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

5 years agoAdd SSID to Network Details page for Passpoint
Quang Luong [Thu, 21 Mar 2019 23:37:55 +0000 (16:37 -0700)]
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

5 years agoMerge "Add tiebreak rules for bar chart permissions."
TreeHugger Robot [Thu, 28 Mar 2019 18:40:17 +0000 (18:40 +0000)]
Merge "Add tiebreak rules for bar chart permissions."

5 years agoMerge "Disable Mac randomization setting for Passpoint networks"
Quang Luong [Thu, 28 Mar 2019 18:17:22 +0000 (18:17 +0000)]
Merge "Disable Mac randomization setting for Passpoint networks"

5 years agoMake the text appearance consistant in add vpn dialog
lindatseng [Wed, 27 Mar 2019 23:25:12 +0000 (16:25 -0700)]
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

5 years agoRemove WebView fallback package handling.
Torne (Richard Coles) [Thu, 28 Mar 2019 18:11:50 +0000 (14:11 -0400)]
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

5 years agoUse better string in dialog asking which SIM to use for SMS
Antony Sargent [Thu, 28 Mar 2019 17:25:00 +0000 (10:25 -0700)]
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

5 years agoUpdate Content Capture strings.
Felipe Leme [Thu, 28 Mar 2019 17:13:00 +0000 (10:13 -0700)]
Update Content Capture strings.

Also moved it down to the bottom of the screen...

Bug: 129403630
Test: manual verification

Change-Id: Ie21701035717f43c1af9f7040aa71a8c8c91b17d

5 years agoMerge "Launch correct tone picker for audio attributes"
TreeHugger Robot [Thu, 28 Mar 2019 16:09:17 +0000 (16:09 +0000)]
Merge "Launch correct tone picker for audio attributes"

5 years agoWhen filtering permission usages by a single permission, default to last day.
Joel Galenson [Thu, 28 Mar 2019 15:04:59 +0000 (08:04 -0700)]
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

5 years agoAdd tiebreak rules for bar chart permissions.
Joel Galenson [Wed, 27 Mar 2019 17:19:27 +0000 (10:19 -0700)]
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

5 years agoHandle When received intent extra in System settings need show dialog
Edgar Wang [Mon, 25 Mar 2019 11:33:30 +0000 (19:33 +0800)]
Handle When received intent extra in System settings need show dialog

Bug: 128853573
Test: visual, robotest
Change-Id: I92337e26f51c3f7ef4033d424ddcf07c6da6805d

5 years agoMerge "Remove interface for Telephony."
Matt Pape [Thu, 28 Mar 2019 14:48:37 +0000 (14:48 +0000)]
Merge "Remove interface for Telephony."

5 years agoMerge "Add condition to ignore invalid packages in NotificationChannelSlice"
Yanting Yang [Thu, 28 Mar 2019 13:01:47 +0000 (13:01 +0000)]
Merge "Add condition to ignore invalid packages in NotificationChannelSlice"

5 years agoMerge "Add implementation of homepage swipe to dismiss."
TreeHugger Robot [Thu, 28 Mar 2019 10:36:24 +0000 (10:36 +0000)]
Merge "Add implementation of homepage swipe to dismiss."

5 years agoAdd prepainting background while swiping to dismiss.
Yi-Ling Chuang [Wed, 27 Mar 2019 11:29:00 +0000 (19:29 +0800)]
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

5 years agoAdd condition to ignore invalid packages in NotificationChannelSlice
Yanting Yang [Mon, 25 Mar 2019 15:25:44 +0000 (23:25 +0800)]
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

5 years agoMerge "Fix navigation back problem from Assist app"
TreeHugger Robot [Thu, 28 Mar 2019 09:21:24 +0000 (09:21 +0000)]
Merge "Fix navigation back problem from Assist app"

5 years agoMerge "Remove additional divider from Battery settings"
Yanting Yang [Thu, 28 Mar 2019 08:49:43 +0000 (08:49 +0000)]
Merge "Remove additional divider from Battery settings"

5 years agoMerge "Add search index into WallpaperSuggestionActivity"
TreeHugger Robot [Thu, 28 Mar 2019 08:38:31 +0000 (08:38 +0000)]
Merge "Add search index into WallpaperSuggestionActivity"

5 years agoFix navigation back problem from Assist app
Yanting Yang [Thu, 28 Mar 2019 07:18:40 +0000 (15:18 +0800)]
Fix navigation back problem from Assist app

Fixes: 127907113
Test: visual
Change-Id: I07196ee9f92f9d84fa75eb32cb6564b362f1293d