OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoRemove the PreferenceGroup without title in WifiNetworkDetailsFragment
Arc Wang [Mon, 8 Apr 2019 11:56:45 +0000 (19:56 +0800)]
Remove the PreferenceGroup without title in WifiNetworkDetailsFragment

To remove the PreferenceGroup title space.

Bug: 129683066
Test: manual
Change-Id: I00bced8038a01c0ef7e8f4dfa0b82e36a275004e

5 years agoMerge "Don't allow CBRS subscriptions to be set as default for Calls/SMS" into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 04:05:32 +0000 (04:05 +0000)]
Merge "Don't allow CBRS subscriptions to be set as default for Calls/SMS" into qt-dev

5 years agoMerge "Use CDS display white balance getter and setter" into qt-dev
Christine Franks [Sat, 6 Apr 2019 01:25:41 +0000 (01:25 +0000)]
Merge "Use CDS display white balance getter and setter" into qt-dev

5 years agoDon't allow CBRS subscriptions to be set as default for Calls/SMS
Antony Sargent [Fri, 5 Apr 2019 16:55:12 +0000 (09:55 -0700)]
Don't allow CBRS subscriptions to be set as default for Calls/SMS

CBRS subscriptions (also known as "opportunistic" in the code base) are
data-only and it should not be possible to try to set them as the
default for Calls or SMS.

Fixes: 125855327
Test: make RunSettingsRoboTests
Change-Id: Ie20ef21ccc7b27315089f6a61cceb6e1512ec373

5 years agoMerge "Clean up tts preference layout." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 23:36:07 +0000 (23:36 +0000)]
Merge "Clean up tts preference layout." into qt-dev

5 years agoMerge "Remove mainline module feature flag checks." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 23:33:16 +0000 (23:33 +0000)]
Merge "Remove mainline module feature flag checks." into qt-dev

5 years agoMerge "Remove divider above device switcher in panel" into qt-dev
Linda Tseng [Fri, 5 Apr 2019 23:09:14 +0000 (23:09 +0000)]
Merge "Remove divider above device switcher in panel" into qt-dev

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Fri, 5 Apr 2019 22:47:28 +0000 (15:47 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 83d678bdc4 -s ours
am skip reason: subject contains skip directive

Change-Id: I273e17ee6cf94e6a6b7a3f6ed2a9b22c5a7a9992

5 years agoMerge "Update taskAffinity" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 21:39:05 +0000 (21:39 +0000)]
Merge "Update taskAffinity" into qt-dev

5 years agoUse CDS display white balance getter and setter
Christine Franks [Fri, 29 Mar 2019 17:14:55 +0000 (10:14 -0700)]
Use CDS display white balance getter and setter

Bug: 123930917
Test: make ROBOTEST_FILTER="(DisplayWhite*)" RunSettingsRoboTests -j48
Change-Id: Iafc6ff9a61b69baf03efddd52687093c55d35178
(cherry picked from commit ebacc33852a34c73646a0df120efde73206ff3d1)

5 years agoRemove mainline module feature flag checks.
Fan Zhang [Fri, 5 Apr 2019 21:31:04 +0000 (14:31 -0700)]
Remove mainline module feature flag checks.

They are turned on for a while now.

Fixes: 123648279
Test: robotests
Change-Id: Ibec7a10d49387207697635190a237807f1807628

5 years agoRemove divider above device switcher in panel
lindatseng [Fri, 5 Apr 2019 01:43:20 +0000 (18:43 -0700)]
Remove divider above device switcher in panel

Remove the divider above the media device switcher Slice per the request.

Do a little refactor in Panel View, to use DividerItemDecoration instead of adding
divider views in layout file as the recycler view items divider.

Since dividers should be shown in most cases, we are setting DividerCondition to
DIVIDER_CONDITION_BOTH and default true to allow divider.  For the slice we don't
need divider (media device switch in this case) we are setting the the target
direction of isDividerAllowed (above in this case) to false.  Since we have
DIVIDER_CONDITION_BOTH, if one of the item view set the divider not allow, the
divider won't be shown.

Test: Visual/Manual inspection
Fixes: 126205139
Change-Id: Ic857705c90819ef9375f877a44bb32987b5d4438

5 years agoClean up tts preference layout.
Fan Zhang [Fri, 5 Apr 2019 20:44:37 +0000 (13:44 -0700)]
Clean up tts preference layout.

Deleted the custom tts layout and use preference_radio directly.

Fixes: 129994473
Test: visual
Change-Id: Ifc50e0cf9f805776e0529ffd5d672283f28a1d15

5 years agoMerge "Fix sending broadcast with a qualified user in Settings" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 20:05:40 +0000 (20:05 +0000)]
Merge "Fix sending broadcast with a qualified user in Settings" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 5 Apr 2019 19:44:47 +0000 (12:44 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I27c0efa466b676aafccb399704805959704fe165

5 years agoFix sending broadcast with a qualified user in Settings
Mill Chen [Fri, 5 Apr 2019 01:42:28 +0000 (18:42 -0700)]
Fix sending broadcast with a qualified user in Settings

Fixes: 118387886
Test: rebotests
Change-Id: I9e0bdd708b7c95f785f2b11d6d7e3f7818234ada

5 years agoMerge changes Ib80d68d6,I0d57d5b2 into qt-dev
Lei Yu [Fri, 5 Apr 2019 17:11:34 +0000 (17:11 +0000)]
Merge changes Ib80d68d6,I0d57d5b2 into qt-dev

* changes:
  Init PowerWhitelistbackend to stop crash
  Create gitignore for Settings

5 years agoMerge "Add Settings icons needed for theme overlaying." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 16:38:08 +0000 (16:38 +0000)]
Merge "Add Settings icons needed for theme overlaying." into qt-dev

5 years agoMerge "Add bubble confirmation prompt" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 15:26:24 +0000 (15:26 +0000)]
Merge "Add bubble confirmation prompt" into qt-dev

5 years agoAdd bubble confirmation prompt
Julia Reynolds [Mon, 1 Apr 2019 15:51:21 +0000 (11:51 -0400)]
Add bubble confirmation prompt

@ the app level if the global level is off

Test: robotests
Bug: 129068779
Change-Id: I94acb334dc9879cd372a2a0dfa8e9508fbf1c316

5 years agoAdd Settings icons needed for theme overlaying.
Amin Shaikh [Thu, 4 Apr 2019 11:48:16 +0000 (07:48 -0400)]
Add Settings icons needed for theme overlaying.

- Refactor battery icons to remove private attributes to allow them to
be overlayed
- Add drawable icon in settings for back arrow
- Update a few GM2 icons

Bug: 128354921
Test: make; open Settings
Change-Id: I84151a4e7d787381b6c51f02bb45ce5f15fa37a2

5 years agoMerge "Update wifi p2p to direct user to enable location" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 07:59:44 +0000 (07:59 +0000)]
Merge "Update wifi p2p to direct user to enable location" into qt-dev

5 years agoMerge "Cache attention toggle in settings" into qt-dev
Kevin Chyn [Fri, 5 Apr 2019 06:33:37 +0000 (06:33 +0000)]
Merge "Cache attention toggle in settings" into qt-dev

5 years agoMerge "Match add network button width to master switch and tint it." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 05:35:05 +0000 (05:35 +0000)]
Merge "Match add network button width to master switch and tint it." into qt-dev

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 agoCache attention toggle in settings
Kevin Chyn [Fri, 5 Apr 2019 00:24:09 +0000 (17:24 -0700)]
Cache attention toggle in settings

Bug: 129912479

Test: Builds
Change-Id: I23017f37d53e162c1a1ec35570355508276f90fa

5 years agoMatch add network button width to master switch and tint it.
Andrew Sapperstein [Fri, 5 Apr 2019 00:22:10 +0000 (17:22 -0700)]
Match add network button width to master switch and tint it.

It's now tinted in colorAccent.

Created a new default 80dp minWidth for TwoTargetPreferences.

Fixes: 129007966
Test: visual inspection
Change-Id: Ie751fe685d25373c3aac001e6e0daee8e18b9314

5 years agoUpdate wifi p2p to direct user to enable location
Salvador Martinez [Tue, 2 Apr 2019 01:17:04 +0000 (18:17 -0700)]
Update wifi p2p to direct user to enable location

Location is required for Wifi Direct so if it is not enabled
we disable the preference. Additionally, this fixes some minor
update issues in Wifi Wakeup that was also affecting wifi p2p.
Basically they weren't updating when location settings changed
until you left the screen and came back. Now they do.

Test: robotests, manual
Bug: 120552223
Change-Id: Ibd386fcfbef881cae3d871152675f1cab5e4a041

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 agoUpdate taskAffinity
Mill Chen [Thu, 4 Apr 2019 22:39:27 +0000 (15:39 -0700)]
Update taskAffinity

To make sure Settings won't open unexpectedly.

Fixes: 129330530
Test: visual
Change-Id: Iaa0e0a6a03720b1a0be49d0e1f752d3a7164f4a2

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 agoInit PowerWhitelistbackend to stop crash
Lei Yu [Thu, 4 Apr 2019 19:53:55 +0000 (12:53 -0700)]
Init PowerWhitelistbackend to stop crash

Also update text to "unavailable" to reflect its current status.

Fixes: 129955147
Test: Manual
Change-Id: Ib80d68d6d2b6bc4ced4a72483859e675b7e7e61c

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 agoCreate gitignore for Settings
Lei Yu [Thu, 4 Apr 2019 19:49:15 +0000 (12:49 -0700)]
Create gitignore for Settings

Fixes: 129973953
Test: Manual
Change-Id: I0d57d5b2fe161d150605854cbe7fe62494390a3e

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