OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Add prompt to sign in at captive portal to Wi-Fi Slice" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 03:19:22 +0000 (03:19 +0000)]
Merge "Add prompt to sign in at captive portal to Wi-Fi Slice" into qt-dev

5 years agoMerge "Customized Wifi calling text" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 03:17:18 +0000 (03:17 +0000)]
Merge "Customized Wifi calling text" into qt-dev

5 years agoMerge "Update char limit for reset_esim_title." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 03:07:09 +0000 (03:07 +0000)]
Merge "Update char limit for reset_esim_title." into qt-dev

5 years agoMerge "DND should be displayed on search as slice." into qt-dev
Fan Zhang [Fri, 5 Apr 2019 02:53:12 +0000 (02:53 +0000)]
Merge "DND should be displayed on search as slice." into qt-dev

5 years agoDND should be displayed on search as slice.
Stanley Wang [Mon, 1 Apr 2019 11:20:54 +0000 (19:20 +0800)]
DND should be displayed on search as slice.

Add ZenModeSoundSettingsPreferenceController extends ZenModePreferenceController,
and update availability status to AVAILABLE.

This is cherry-picked from ag/6897872

Change-Id: I8dcb6808cc21c4f5c06548a363c998e369646487
Bug: 129320642
Test: manual & robotests

5 years agoMerge "Update adaptive sleep setting with the latest copy" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 01:16:23 +0000 (01:16 +0000)]
Merge "Update adaptive sleep setting with the latest copy" into qt-dev

5 years agoMerge changes from topic "face-profile-qt-dev" into qt-dev
Kevin Chyn [Fri, 5 Apr 2019 00:41:17 +0000 (00:41 +0000)]
Merge changes from topic "face-profile-qt-dev" into qt-dev

* changes:
  Settings should be per-profile
  Add face profile settings

5 years agoMerge "Add uri to custom slice PendingIntent." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 00:35:24 +0000 (00:35 +0000)]
Merge "Add uri to custom slice PendingIntent." into qt-dev

5 years agoMerge "Update strings" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 00:28:29 +0000 (00:28 +0000)]
Merge "Update strings" into qt-dev

5 years agoAdd uri to custom slice PendingIntent.
Fan Zhang [Thu, 4 Apr 2019 23:12:38 +0000 (16:12 -0700)]
Add uri to custom slice PendingIntent.

Discovered flashlight slice sometimes does not work, throwing exception
similar as it b/117445451. Adding a data uri fixes it.

Bug: 129981692
Test: manual
Change-Id: I16bc19027dd342f85aaabbf1a2853bb55564f64f

5 years agoSettings should be per-profile
Kevin Chyn [Thu, 4 Apr 2019 02:47:31 +0000 (19:47 -0700)]
Settings should be per-profile

Also, don't show keyguard option for work profile

Fixes: 129905061

Test: Builds
Change-Id: I18f573f39ee4e54a3385cc65079bb794633cc560

5 years agoUse Settings instead of DeviceConfig to relax device ID dev option
Michael Groover [Wed, 3 Apr 2019 22:03:42 +0000 (15:03 -0700)]
Use Settings instead of DeviceConfig to relax device ID dev option

The 'Disable device identifier restrictions' developer option
currently uses DeviceConfig to set whether the new access
restrictions should be disabled. However this API now requires
the WRITE_DEVICE_CONFIG permission and should only be used from
the server side. This change modifies the developer option to use the
Settings to relax the device identifier check, and the option will
be hidden if the new restrictions have been disabled from the server.

Bug: 129888611
Test: Manually verified device ID check was relaxed with option
      enabled. Also verified option is not displayed if DeiviceConfig
      option is set.

Change-Id: Id8759f2219e702c1f93a638d45ac99bce685383b
(cherry picked from commit 60c80bb2953892f8bd423a0b2b1d83ca4741c222)

5 years agoAdd face profile settings
Kevin Chyn [Wed, 3 Apr 2019 21:51:17 +0000 (14:51 -0700)]
Add face profile settings

Fixes: 110907543

Test: Builds

Change-Id: I9761f289bb250c5d9f5b5e75cf682d164c591050

5 years agoUpdate strings
Fan Zhang [Wed, 3 Apr 2019 22:46:59 +0000 (15:46 -0700)]
Update strings

Fixes: 129885706
Fixes: 129855545
Test: visual
Change-Id: I655655033c019de4365de9fe208c8c362134dfe3

5 years agoUpdate adaptive sleep setting with the latest copy
Alex Salo [Tue, 2 Apr 2019 21:24:07 +0000 (14:24 -0700)]
Update adaptive sleep setting with the latest copy

Bug: 129352433
Change-Id: I3c9594f9ed49208ef1d7bbc33e8083a0c733b1f8
Test: manually confirmed it works and looks correct
(cherry picked from commit fdeb07c05bf44e428ecbd5c315627735cb7afc05)

5 years agoCustomized Wifi calling text
jackqdyulei [Wed, 3 Apr 2019 22:43:28 +0000 (15:43 -0700)]
Customized Wifi calling text

This only fixed in old page from aosp/777974. We need to migrate
it to new preference controller

Fixes: 117257109
Test: Manual
Change-Id: I257be10d7cc1fc4a91ee0df404dd69b4d2ee8ae2
(cherry picked from commit acacaf44d3e5c8d27c6b16a910e5dba83ca82526)

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
(cherry picked from commit dd9f92280bac5c86c6a3ac3fbebcd5d5ff510f13)

5 years agoUpdate char limit for reset_esim_title.
Andrew Sapperstein [Tue, 2 Apr 2019 19:25:51 +0000 (12:25 -0700)]
Update char limit for reset_esim_title.

Fixes: 129711512
Test: verified manually with larger string.
Change-Id: I802ed901ad65d79dbe761929467607f5e783be9e

5 years ago[automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte...
Rich Cannings [Thu, 4 Apr 2019 07:17:57 +0000 (00:17 -0700)]
[automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev
am: 5d9189fab2 -s ours
am skip reason: subject contains skip directive

Change-Id: Id431f40576a5375d541b4b41d2880ac0c9ac7519

5 years ago[automerger skipped] DO NOT MERGE Refactor passwords/pins/patterns to byte[]
Rich Cannings [Thu, 4 Apr 2019 06:56:43 +0000 (23:56 -0700)]
[automerger skipped] DO NOT MERGE Refactor passwords/pins/patterns to byte[]
am: 34042bbf1d -s ours
am skip reason: subject contains skip directive

Change-Id: I903bcc9500ea4732fdacd9f7c77538ba8390f34d

5 years ago[automerger skipped] Merge "Clean up a few names of Telephony intent extra." am:...
Xiangyu/Malcolm Chen [Thu, 4 Apr 2019 00:15:19 +0000 (17:15 -0700)]
[automerger skipped] Merge "Clean up a few names of Telephony intent extra." am: 6bb737c5b9 am: 681bf8a664
am: 37683154b4 -s ours
am skip reason: change_id I5d47b132abb722282bd10b9fbb362fb1f1d32f11 with SHA1 f2fca31c51 is in history

Change-Id: I8d45b26d7863190ddf51a8e8a5e86b4acfbde816

5 years agoMerge master@5406228 into git_qt-dev-plus-aosp.
Bill Rassieur [Wed, 3 Apr 2019 23:59:32 +0000 (16:59 -0700)]
Merge master@5406228 into git_qt-dev-plus-aosp.
am: d09106b207

Change-Id: I9de6ed0dae680c55f3f1396cb8fbc95c6a77f9a3

5 years agoMerge "Clean up a few names of Telephony intent extra." am: 6bb737c5b9
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:50:20 +0000 (16:50 -0700)]
Merge "Clean up a few names of Telephony intent extra." am: 6bb737c5b9
am: 681bf8a664

Change-Id: I8576bf49c27620f873c501d3bf837ec0b0b3e679

5 years agoMerge "Set/Get features with new interface"
Kevin Chyn [Wed, 3 Apr 2019 23:46:14 +0000 (23:46 +0000)]
Merge "Set/Get features with new interface"

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:25:05 +0000 (16:25 -0700)]
Merge "Clean up a few names of Telephony intent extra."
am: 6bb737c5b9

Change-Id: I1a2232458ab8fd4a89c1ada1e5195bf346e31074

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Wed, 3 Apr 2019 23:06:47 +0000 (23:06 +0000)]
Merge "Clean up a few names of Telephony intent extra."

5 years agoMerge "Move telephony method to worker thread"
Lei Yu [Wed, 3 Apr 2019 22:45:28 +0000 (22:45 +0000)]
Merge "Move telephony method to worker thread"

5 years agoMove telephony method to worker thread
jackqdyulei [Wed, 3 Apr 2019 00:27:41 +0000 (17:27 -0700)]
Move telephony method to worker thread

Get bug complaining it blocks UI even though it works fine some devices.
This CL moves methods to worker thread and keep progressbar
shown at least for 1 second, to avoid janky UI.

Fixes: 129329645
Test: RunSettingsRoboTests
Change-Id: Iee51949b7f6dfe2ede0fc4e6cd0f7b96d7199081

5 years agoMerge "SDK API doesSwitchModemConfigTriggerReboot"
Chen Xu [Wed, 3 Apr 2019 22:17:46 +0000 (22:17 +0000)]
Merge "SDK API doesSwitchModemConfigTriggerReboot"

5 years agoMerge "Add tests for ContextualCardManager."
TreeHugger Robot [Wed, 3 Apr 2019 22:07:38 +0000 (22:07 +0000)]
Merge "Add tests for ContextualCardManager."

5 years agoSet/Get features with new interface
Kevin Chyn [Wed, 3 Apr 2019 03:01:05 +0000 (20:01 -0700)]
Set/Get features with new interface

Bug: 127382095

Test: Builds
Change-Id: Ideb252989a49eec88b8ee7f3ce6ea4f9d85bb3bc

5 years agoMerge "Add tests for ContextualCardsAdapter."
TreeHugger Robot [Wed, 3 Apr 2019 21:17:45 +0000 (21:17 +0000)]
Merge "Add tests for ContextualCardsAdapter."

5 years agoMerge "Add a flashlight handler activity to support indexability."
TreeHugger Robot [Wed, 3 Apr 2019 20:48:23 +0000 (20:48 +0000)]
Merge "Add a flashlight handler activity to support indexability."

5 years agoMerge "Disable "Battery dialog" for default apps"
TreeHugger Robot [Wed, 3 Apr 2019 20:41:21 +0000 (20:41 +0000)]
Merge "Disable "Battery dialog" for default apps"

5 years agoMerge "Convert xml based API allowDynamicSummaryInSlice to java"
TreeHugger Robot [Wed, 3 Apr 2019 19:42:25 +0000 (19:42 +0000)]
Merge "Convert xml based API allowDynamicSummaryInSlice to java"

5 years agoAdd a flashlight handler activity to support indexability.
Fan Zhang [Tue, 2 Apr 2019 23:41:01 +0000 (16:41 -0700)]
Add a flashlight handler activity to support indexability.

Fixes: 128465925
Fixes: 123711093
Test: reindex
Change-Id: Ie082e65ee070f6143c4c65db3f70615b16af0e52

5 years agoSDK API doesSwitchModemConfigTriggerReboot
chen xu [Wed, 3 Apr 2019 17:31:19 +0000 (10:31 -0700)]
SDK API doesSwitchModemConfigTriggerReboot

Bug: 129424775
Change-Id: I95045f8e2c572a9ee7e8f402568e72ac02a2d1be

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 agoAdd tests for ContextualCardsAdapter.
Yi-Ling Chuang [Wed, 3 Apr 2019 09:28:50 +0000 (17:28 +0800)]
Add tests for ContextualCardsAdapter.

Fixes: 114307549
Test: robotests
Change-Id: I6ce023bf97c9f7b3c709bda2aa991a349c7aa825

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 agoAdd tests for ContextualCardManager.
Yi-Ling Chuang [Tue, 22 Jan 2019 04:12:08 +0000 (12:12 +0800)]
Add tests for ContextualCardManager.

Bug: 114307549
Test: robotests

Change-Id: Iac9450ed21011cb6e8186fbe686ff4d03547ba5e

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 agoClean up a few names of Telephony intent extra.
Malcolm Chen [Sat, 23 Mar 2019 00:59:00 +0000 (17:59 -0700)]
Clean up a few names of Telephony intent extra.

Bug: 128645056
Test: build
Change-Id: I5d47b132abb722282bd10b9fbb362fb1f1d32f11
Merged-In: I5d47b132abb722282bd10b9fbb362fb1f1d32f11

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 agoDisable "Battery dialog" for default apps
jackqdyulei [Fri, 29 Mar 2019 18:37:47 +0000 (11:37 -0700)]
Disable "Battery dialog" for default apps

If it is default active app(i.e. Phone, SMS), disable battery
optimzation dialog so user can't optimize it.

Fixes: 118910079
Test: RunSettingsLibRoboTests
Change-Id: I7223913c1e6ef68d84adfc2c54d133661a529202

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 agoConvert xml based API allowDynamicSummaryInSlice to java
Fan Zhang [Fri, 29 Mar 2019 22:43:46 +0000 (15:43 -0700)]
Convert xml based API allowDynamicSummaryInSlice to java

- Add boolean useDynamicSliceSummary() in Sliceable interface. This is
  the switch equivalent to android:allowDynamicSummaryInSlice in xml. It
  moves the setter closer to regular Sliceable APIs, thus less easily to
  miss.
- Coverted all android:allowDynamicSummaryInSlice to use the java API.
  - Except 2 prefs in my_device_info. They incorrectly set this to true
  previously (controller is not sliceable, no point setting
  dynamicSliceSummary to true. They just won't do anything)

Fixes: 128446156
Test: robolectric
Change-Id: Ic57acd590dec3e87dcf4592df137321d14b854d9

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