OSDN Git Service

android-x86/packages-apps-Settings.git
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 "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 "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 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 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 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

5 years agoMerge "Make "Advanced" show in Apps & notifications screen"
TreeHugger Robot [Thu, 28 Mar 2019 07:10:30 +0000 (07:10 +0000)]
Merge "Make "Advanced" show in Apps & notifications screen"

5 years agoShow "Disconnect" on forget button for ephemeral network
cosmohsieh [Tue, 26 Mar 2019 06:14:52 +0000 (14:14 +0800)]
Show "Disconnect" on forget button for ephemeral network

For app or carrier initiated wifi connections (i.e all "ephemeral networks"),
the detailed page of settings should show "Disconnect" instead of "Forget".

Bug: 123892605
Test: atest WifiDetailPreferenceControllerTest
Change-Id: I1ee7f45ea12fe2ab9ca35cab77de0b1d67efc1db

5 years agoSet accent color to COLOR_NOT_TINTED
hughchen [Thu, 14 Mar 2019 09:07:47 +0000 (17:07 +0800)]
Set accent color to COLOR_NOT_TINTED

Bug: 128570540
Test: Test: make -j42 RunSettingsRoboTests
Change-Id: I483542156bf6cd24ed7080fed45e9f8e4d87a079

5 years agoAdd search index into WallpaperSuggestionActivity
Sunny Shao [Tue, 26 Mar 2019 12:14:58 +0000 (20:14 +0800)]
Add search index into WallpaperSuggestionActivity

.Use the Indexable interface for WallpaperSuggestionActivity and implement the getRawDataToIndex
.Remove the search index in the WallpaperTypeSettings
.Add full class name of the WallpaperTypeSettings into grandfather_not_implementing_index_provider

Bug: 63117104
Test: robotest & Manual View
Change-Id: I73f43e4996efbe857d74df297ea0d08eb1b640ac

5 years agoRemove additional divider from Battery settings
Yanting Yang [Thu, 28 Mar 2019 06:29:56 +0000 (14:29 +0800)]
Remove additional divider from Battery settings

Fixes: 129351013
Test: visual
Change-Id: I586ecdfeb82104ea35842bb12a2c90c29cca70ae

5 years agoMerge "Use explicit intent to broadcast grayscale state changed"
TreeHugger Robot [Thu, 28 Mar 2019 05:34:59 +0000 (05:34 +0000)]
Merge "Use explicit intent to broadcast grayscale state changed"

5 years agoMerge "Update battery saver schedule to show warning"
TreeHugger Robot [Thu, 28 Mar 2019 04:04:03 +0000 (04:04 +0000)]
Merge "Update battery saver schedule to show warning"

5 years agoAdd implementation of homepage swipe to dismiss.
Yi-Ling Chuang [Tue, 26 Mar 2019 13:16:55 +0000 (21:16 +0800)]
Add implementation of homepage swipe to dismiss.

- Only enable swipe for slice full/half card.
- Add isPendingDismiss in ContextualCard to determine if we should show
dismissal view.
- Take out long press feature.

Bug: 126214056
Test: robotests
Change-Id: Ib03e605347b2f50d3c62fcd4f95875a21cc9ef1c

5 years agoMerge "Copy extra of suw flow to the intent of lock screen pages"
Pasty Chang [Thu, 28 Mar 2019 03:03:09 +0000 (03:03 +0000)]
Merge "Copy extra of suw flow to the intent of lock screen pages"

5 years agoRemove method that used to get rainbow bt icon
hughchen [Mon, 25 Mar 2019 10:06:21 +0000 (18:06 +0800)]
Remove method that used to get rainbow bt icon

Move get rainbow bt icon method to settingsLib

Bug: 128570540
Test: RunSettingsRoboTests
Change-Id: Iee022bd1471f1da057b1852bb648e9c7ce334727

5 years agoMerge "Update "Time spent in app" to "Screen time""
TreeHugger Robot [Thu, 28 Mar 2019 02:16:23 +0000 (02:16 +0000)]
Merge "Update "Time spent in app" to "Screen time""

5 years agoUse explicit intent to broadcast grayscale state changed
Mill Chen [Wed, 27 Mar 2019 21:27:50 +0000 (14:27 -0700)]
Use explicit intent to broadcast grayscale state changed

Query PackageManager for receivers that can handle the intent and send
an explicit intent to these receivers.

Change-Id: I06f500c20ae0a20d689cf0805b6a82247ea55e73
Fix: 118387886
Test: robotests

5 years agoMerge "[Fix] Unable to show output device indicator after reboot"
Hugh Chen [Thu, 28 Mar 2019 01:39:52 +0000 (01:39 +0000)]
Merge "[Fix] Unable to show output device indicator after reboot"

5 years agoUpdate dark mode in accessiblity settings
Salvador Martinez [Thu, 28 Mar 2019 01:29:40 +0000 (18:29 -0700)]
Update dark mode in accessiblity settings

There was an entry point to dark mode that wasn't updated when the
display settings one was changed to point to a new screen. This
change makes it so that clicking dark mode in accessiblity also
opens the same screen.

Test: robotests pass
Bug: 129406772
Change-Id: I0ad830638e04e5520cdf7de6927764fa6b68a179

5 years ago[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM...
Qingxi Li [Thu, 28 Mar 2019 01:10:10 +0000 (18:10 -0700)]
[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset" am: bdef91f964 -s ours am: bd5f4328f5 -s ours
am: d3527bf14b -s ours
am skip reason: subject contains skip directive

Change-Id: Id75f561075c68e4c59c3526768e016bafc265065

5 years ago[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM...
Qingxi Li [Thu, 28 Mar 2019 00:56:15 +0000 (17:56 -0700)]
[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset" am: bdef91f964 -s ours
am: bd5f4328f5 -s ours
am skip reason: subject contains skip directive

Change-Id: I23f3800d8bd6432c7aa9a59ae7cee29e73c7c834

5 years agoMerge "Log RecyclerView click position"
TreeHugger Robot [Thu, 28 Mar 2019 00:55:18 +0000 (00:55 +0000)]
Merge "Log RecyclerView click position"

5 years agoCorrect name of PRIMARY_SUBSCRIPTION_LIST_CHANGED.
Malcolm Chen [Thu, 28 Mar 2019 00:45:29 +0000 (17:45 -0700)]
Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED.

Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED in manifest.
Also, make sure SimSelectNotification only listens to that intent.

Bug: 128645056
Test: manual
Change-Id: I008e5346ff1e015d1aa57ca31844426e33bd99b8

5 years ago[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM...
Qingxi Li [Thu, 28 Mar 2019 00:46:52 +0000 (17:46 -0700)]
[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset"
am: bdef91f964 -s ours
am skip reason: subject contains skip directive

Change-Id: I362517c36ff77b36336fcc52a684dd29b50bab94

5 years agoUpdate battery saver schedule to show warning
Salvador Martinez [Tue, 26 Mar 2019 22:14:46 +0000 (15:14 -0700)]
Update battery saver schedule to show warning

If a user tries to enable a battery saver schedule we want
to show them the battery saver warning if they haven't seen it.
This CL does that.

Test: robotests pass, manual verification
Bug: 128924009
Change-Id: I683279716ac7700043b1a01f88bdf2ae716eeece

5 years agoMake "Advanced" show in Apps & notifications screen
Mill Chen [Thu, 28 Mar 2019 00:24:46 +0000 (17:24 -0700)]
Make "Advanced" show in Apps & notifications screen

Reducing the number of initialExpandedChildrenCount to 3 will make
everything under "Default apps" be under "Advanced".

Fixes: 129284718
Test: visual, rebuild
Change-Id: I540385c514f6e8bf005e90e9ed4a9f93a2e983d5