OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoAdd Wi-Fi data usage field
clownshen [Mon, 1 Apr 2019 13:27:14 +0000 (21:27 +0800)]
Add Wi-Fi data usage field

Add Wi-Fi data usage field at Wi-Fi Setting to show out the total Wi-Fi
data usage for user.

Bug: 129474341
Test: atest WifiSettingsTest
Test: manual test
Change-Id: Iad5bee47bd83ed143a2730f042d77907344f4017

5 years agoMerge "Pass back number of fingerprint enrolled from settings to SUW"
Cn Chen [Wed, 3 Apr 2019 15:36:47 +0000 (15:36 +0000)]
Merge "Pass back number of fingerprint enrolled from settings to SUW"

5 years agoMerge "Remove unused method from NotificationChannelSlice"
TreeHugger Robot [Wed, 3 Apr 2019 11:47:38 +0000 (11:47 +0000)]
Merge "Remove unused method from NotificationChannelSlice"

5 years agoMerge "Micro cleanup and refactoring"
Jason Chiu [Wed, 3 Apr 2019 10:26:48 +0000 (10:26 +0000)]
Merge "Micro cleanup and refactoring"

5 years agoMerge "Take default for background activity starts from DeviceConfig."
Alan Stokes [Wed, 3 Apr 2019 09:37:56 +0000 (09:37 +0000)]
Merge "Take default for background activity starts from DeviceConfig."

5 years agoRemove unused method from NotificationChannelSlice
Yanting Yang [Wed, 3 Apr 2019 09:29:24 +0000 (17:29 +0800)]
Remove unused method from NotificationChannelSlice

Fixes:129835504
Test: robotests
Change-Id: Id0bcad694bba39ce67c77388b9bde7018aae1560

5 years agoMerge "Play vibration when Wi-Fi QR code scanner recognize a valid QR code"
TreeHugger Robot [Wed, 3 Apr 2019 07:56:21 +0000 (07:56 +0000)]
Merge "Play vibration when Wi-Fi QR code scanner recognize a valid QR code"

5 years agoMerge "Make feature flag settings_dynamic_system persistent"
Po-Chien Hsueh [Wed, 3 Apr 2019 07:55:55 +0000 (07:55 +0000)]
Merge "Make feature flag settings_dynamic_system persistent"

5 years agoMicro cleanup and refactoring
Jason Chiu [Wed, 3 Apr 2019 05:49:26 +0000 (13:49 +0800)]
Micro cleanup and refactoring

- remove unused dimen resources
- remove unused and refactor codes

Test: make RunSettingsRoboTests -j
Change-Id: Ic2a5b16323667741d048e20e3db8da3fb4dc348a

5 years agoPlay vibration when Wi-Fi QR code scanner recognize a valid QR code
Arc Wang [Tue, 2 Apr 2019 06:31:33 +0000 (14:31 +0800)]
Play vibration when Wi-Fi QR code scanner recognize a valid QR code

Bug: 127377350
Test: manual
Change-Id: I9bfcb6f4d1d4dee45d2cacdedfc07d2f4eccd758

5 years agoMerge "Only show Sign In button for connected network"
Clown SHEN [Wed, 3 Apr 2019 02:16:05 +0000 (02:16 +0000)]
Merge "Only show Sign In button for connected network"

5 years agoMerge "Fix tinting on injected pref icon"
Linda Tseng [Wed, 3 Apr 2019 02:06:42 +0000 (02:06 +0000)]
Merge "Fix tinting on injected pref icon"

5 years agoMerge "Allow NEW type battery early warning to show in homepage"
TreeHugger Robot [Wed, 3 Apr 2019 02:04:30 +0000 (02:04 +0000)]
Merge "Allow NEW type battery early warning to show in homepage"

5 years agoMerge "Update Wi-Fi QR code scan icon and share icon"
Arc Wang [Wed, 3 Apr 2019 01:50:14 +0000 (01:50 +0000)]
Merge "Update Wi-Fi QR code scan icon and share icon"

5 years agoAllow NEW type battery early warning to show in homepage
Fan Zhang [Tue, 2 Apr 2019 22:45:51 +0000 (15:45 -0700)]
Allow NEW type battery early warning to show in homepage

Fixes: 129492004
Test: robotest
Change-Id: I443866a832e4e02c128117dacd766d4fbbd8fc2e

5 years agoFix tinting on injected pref icon
lindatseng [Tue, 2 Apr 2019 18:27:25 +0000 (11:27 -0700)]
Fix tinting on injected pref icon

We used to tint the injected pref icon when refreshing Tile. However,
when we are going to render the icon, we used Tile.getIcon which uses
the icon resource id to get the original version of icon directly.

Do a little refactor here to move the tinting logic inside Tile.getIcon.

Test: Manual/Visual inspection
Fixes: 129010399
Change-Id: I6f187b12cb6d91b54dcfe43e0ff34add55fd7b07

5 years agoMerge "Show the disclaimer for WFC emergency call limitation"
TreeHugger Robot [Tue, 2 Apr 2019 19:58:42 +0000 (19:58 +0000)]
Merge "Show the disclaimer for WFC emergency call limitation"

5 years agoMerge "Remove unnecessary notify in BT preference"
TreeHugger Robot [Tue, 2 Apr 2019 19:36:30 +0000 (19:36 +0000)]
Merge "Remove unnecessary notify in BT preference"

5 years agoMerge "Add FLAG_RECEIVER_FOREGROUND flag"
TreeHugger Robot [Tue, 2 Apr 2019 19:07:26 +0000 (19:07 +0000)]
Merge "Add FLAG_RECEIVER_FOREGROUND flag"

5 years agoMerge "Settings unexpectedly open after turning work profile on"
TreeHugger Robot [Tue, 2 Apr 2019 18:17:14 +0000 (18:17 +0000)]
Merge "Settings unexpectedly open after turning work profile on"

5 years agoMerge "Removed Write to NFC dialog"
Quang Luong [Tue, 2 Apr 2019 17:19:21 +0000 (17:19 +0000)]
Merge "Removed Write to NFC dialog"

5 years agoTake default for background activity starts from DeviceConfig.
Alan Stokes [Tue, 2 Apr 2019 14:37:54 +0000 (15:37 +0100)]
Take default for background activity starts from DeviceConfig.

We've modified the implementation to use the value set by DeviceConfig
if the user has not touched the developer options setting (change
fb227077b8652b817a094d37a5215ad7466ee603). We want the Settings screen
to reflect this default until the user explicitly sets it.

Additionally if the user disables developer settings we want to go
back to using whatever DeviceConfig sets.

Bug: 129533810
Test: croot && make RunSettingsRoboTests \
ROBOTEST_FILTER=AllowBackgroundActivityStartsPreferenceControllerTest

Change-Id: I73901a22da928f9a6924b30882b26494cdcd94bc

5 years agoMerge "Show "Backup service isn't active" if backup isnt active for work profile"
Chandan Nath [Tue, 2 Apr 2019 14:20:41 +0000 (14:20 +0000)]
Merge "Show "Backup service isn't active" if backup isnt active for work profile"

5 years agoShow "Backup service isn't active" if backup isnt active for work
Chandan Nath [Mon, 1 Apr 2019 20:05:15 +0000 (21:05 +0100)]
Show "Backup service isn't active" if backup isnt active for work
profile

Bug: 127821779

Test: 1) Set up work profile.
2) adb shell bmgr --user 19 activate true
3) Settings -> System -> Backup -> Work -> Shows google backup settings
4) adb shell bmgr --user 19 activate false
5) Settings -> System -> Backup -> Work -> "Backup service isn't active"

Change-Id: Ifc16cf3e69fd9db87d519cbad68f0f8e9d8ef6f3

5 years agoMerge "Add Wi-Fi connect listener in ConnectToWifiHandler"
TreeHugger Robot [Tue, 2 Apr 2019 08:42:30 +0000 (08:42 +0000)]
Merge "Add Wi-Fi connect listener in ConnectToWifiHandler"

5 years agoOnly show Sign In button for connected network
clownshen [Mon, 1 Apr 2019 08:01:06 +0000 (16:01 +0800)]
Only show Sign In button for connected network

The Sign In button may appeared in details page for disconnected network
if current network is Captive Portal network. Should hide the button
for disconnected network.

Bug: 129514576
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Test: manual test
Change-Id: I8b4f79e7ba731ce83c49576fffd3e78a27598be3

5 years agoMerge "Add test cases for disconnected/not in range network"
Clown SHEN [Tue, 2 Apr 2019 08:38:05 +0000 (08:38 +0000)]
Merge "Add test cases for disconnected/not in range network"

5 years agoAdd FLAG_RECEIVER_FOREGROUND flag
hughchen [Tue, 2 Apr 2019 06:22:39 +0000 (14:22 +0800)]
Add FLAG_RECEIVER_FOREGROUND flag

Bug: 129726026
Test: make -j42 RunSettingsRoboTests
Change-Id: Idf994396a5dcf78e520ff3cf7c928d4dd19b606e

5 years agoMake feature flag settings_dynamic_system persistent
Po-Chien Hsueh [Tue, 2 Apr 2019 05:53:21 +0000 (13:53 +0800)]
Make feature flag settings_dynamic_system persistent

Bug: 119647479
Test: turn on/off feature flag and use DynamicSystem
Change-Id: Icc26e649caea2c6dfc6e09d8f2c9f0f37568d445

5 years agoAdd Wi-Fi connect listener in ConnectToWifiHandler
Jason Chiu [Thu, 28 Mar 2019 07:56:21 +0000 (15:56 +0800)]
Add Wi-Fi connect listener in ConnectToWifiHandler

- Extract the connect listener from WifiSettings
- Add a listener to display a toast on failure to connect in ConnectToWifiHandler
- Also for the new AccessPoint.startOsuProvisioning() which accepts a connect listener

Bug: 123697580
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: I29b2c1e2c58312d692675ecabf2818b4bbed3b51

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 agoSettings unexpectedly open after turning work profile on
Mill Chen [Fri, 29 Mar 2019 02:14:25 +0000 (19:14 -0700)]
Settings unexpectedly open after turning work profile on

ConfirmDeviceCredentialActivity doesn't set a taskAffinity, so the
default taskAffinity is the package name. That's why Settings
unexpectedly open after users turn work profile on. We specified an
unique name to taskAffinity to avoid launching Settings activity.

Fixes: 129330530
Test: turn work profile off then turn it on, repeat
Change-Id: I1f71c3d1bb37a09a6393fae4c01bc9b18cab49a8

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 agoAdd test cases for disconnected/not in range network
clownshen [Fri, 29 Mar 2019 07:27:03 +0000 (15:27 +0800)]
Add test cases for disconnected/not in range network

Since detail page support to display for saved network which connection
state may be disconnected or not in range, add more test cases for this
new change.

Bug: 124707751
Test: atest WifiDetailPreferenceControllerTest passed
Change-Id: Ia6426ed6336c09f387317c5597f8deb14c1a9502

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 agoShow the disclaimer for WFC emergency call limitation
Hao Zhang [Tue, 28 Aug 2018 10:20:21 +0000 (19:20 +0900)]
Show the disclaimer for WFC emergency call limitation

The emergency calls might not work properly via wifi calling, especially
in areas with no 2G/3G coverage. Display the disclaimer for the this
limitation when a user enabled the wifi calling setting.

Test: manual - Checked that the disclaimer for emergency call limitation
is shown when changing wifi calling setting to turned on.
Test: auto - Passed EmergencyCallLimitationDisclaimerTest.
Bug: 68115846

Change-Id: I881d479c1e02525ac614c66594637a5e0347d70c

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 agoRemove unnecessary notify in BT preference
jackqdyulei [Fri, 29 Mar 2019 22:00:07 +0000 (15:00 -0700)]
Remove unnecessary notify in BT preference

notifyHierarchyChanged() is used before when we have
connected/disconnect deivce in same list. So only use it in
DevicePickerFragment.java, not other normal fragments.

Also that call will rebuild whole preference list, which is heavy.

Bug: 119479725
Test: Manual
Change-Id: I06cf221588001b38634fec9f02dee8bc1e561ea8

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 agoUpdate Wi-Fi QR code scan icon and share icon
Arc Wang [Mon, 1 Apr 2019 10:00:07 +0000 (18:00 +0800)]
Update Wi-Fi QR code scan icon and share icon

Replace with new material design version

Bug: 128706512
Test: manual
Change-Id: If7f474f91d36a9997464c8a68fc41b8d7ced0307

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 agoRemoved Write to NFC dialog
Quang Luong [Fri, 29 Mar 2019 22:05:21 +0000 (15:05 -0700)]
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

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 agoPass back number of fingerprint enrolled from settings to SUW
cnchen [Thu, 21 Mar 2019 10:58:17 +0000 (18:58 +0800)]
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

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