OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Make a passthrough drawable for ic_settings_print."
Fan Zhang [Fri, 1 Feb 2019 19:55:52 +0000 (19:55 +0000)]
Merge "Make a passthrough drawable for ic_settings_print."

5 years agoMake a passthrough drawable for ic_settings_print.
Fan Zhang [Fri, 1 Feb 2019 19:41:53 +0000 (11:41 -0800)]
Make a passthrough drawable for ic_settings_print.

Bug: 123711718
Test: visual
Change-Id: I6be16f501522167ea0af58c9eed1c491c3c4525d

5 years agoMerge "Game Driver: Fix EnableForAllApps switch and test"
TreeHugger Robot [Fri, 1 Feb 2019 19:14:03 +0000 (19:14 +0000)]
Merge "Game Driver: Fix EnableForAllApps switch and test"

5 years agoMerge "Add dark theme keywords"
Lucas Dupin [Fri, 1 Feb 2019 18:48:44 +0000 (18:48 +0000)]
Merge "Add dark theme keywords"

5 years agoMerge "Add a metrics for avatar"
TreeHugger Robot [Fri, 1 Feb 2019 18:25:11 +0000 (18:25 +0000)]
Merge "Add a metrics for avatar"

5 years agoMerge "Flags instead of booleans for countPermissionApps"
TreeHugger Robot [Fri, 1 Feb 2019 18:21:33 +0000 (18:21 +0000)]
Merge "Flags instead of booleans for countPermissionApps"

5 years agoMerge "Update call to use new method name."
TreeHugger Robot [Fri, 1 Feb 2019 15:50:51 +0000 (15:50 +0000)]
Merge "Update call to use new method name."

5 years agoMerge "Add dialog for changing display name for mobile network"
TreeHugger Robot [Fri, 1 Feb 2019 04:58:45 +0000 (04:58 +0000)]
Merge "Add dialog for changing display name for mobile network"

5 years agoGame Driver: Fix EnableForAllApps switch and test
Yiwei Zhang [Fri, 1 Feb 2019 02:25:00 +0000 (18:25 -0800)]
Game Driver: Fix EnableForAllApps switch and test

Bug: 123707483
Bug: 119221883
Test: Build, flash, boot and make RunSettingsRoboTests
Change-Id: Iffbe3355b37763d4fa71b96271c1ba448fb6cdc5

5 years agoMerge "Updated arguments for AccessPoint.getSummary calls"
Quang Luong [Fri, 1 Feb 2019 03:43:56 +0000 (03:43 +0000)]
Merge "Updated arguments for AccessPoint.getSummary calls"

5 years agoMerge "Add current user handle to tile intent in account detail page."
TreeHugger Robot [Fri, 1 Feb 2019 02:31:10 +0000 (02:31 +0000)]
Merge "Add current user handle to tile intent in account detail page."

5 years agoAdd a metrics for avatar
Sunny Shao [Wed, 30 Jan 2019 08:06:41 +0000 (16:06 +0800)]
Add a metrics for avatar

Add a metrics log when user click search bar avatar

Change-Id: I389d469cc3fe335ee934d72d642251a6f4fd038b
Fixes: 123560980
Test: compilation

5 years agoMerge "Fix a NPE from incorrect assumption of operation pecedence."
TreeHugger Robot [Fri, 1 Feb 2019 02:19:35 +0000 (02:19 +0000)]
Merge "Fix a NPE from incorrect assumption of operation pecedence."

5 years agoMerge "Remove unused dependency"
TreeHugger Robot [Fri, 1 Feb 2019 01:25:19 +0000 (01:25 +0000)]
Merge "Remove unused dependency"

5 years agoAdd dark theme keywords
Lucas Dupin [Wed, 30 Jan 2019 06:08:25 +0000 (22:08 -0800)]
Add dark theme keywords

Test: make
Change-Id: I0a5bb5e42f419dd6baa80ae06822fb64f6a29cb0
Fixes: 123599254

5 years agoFlags instead of booleans for countPermissionApps
Philip P. Moltmann [Thu, 31 Jan 2019 22:22:24 +0000 (14:22 -0800)]
Flags instead of booleans for countPermissionApps

Test: Checked that the api retunred the results
Bug: 123697839
Change-Id: Iadb1c4307933635e6114d3d32a2a2b1ed87949f4

5 years agoFix a NPE from incorrect assumption of operation pecedence.
Fan Zhang [Thu, 31 Jan 2019 21:48:40 +0000 (13:48 -0800)]
Fix a NPE from incorrect assumption of operation pecedence.

Change-Id: I13d01c39bd3afcfbc7b680b96e0c7eb341fbc584
Fixes: 123709444
Test: robotest

5 years agoMerge "Ignore failing tests"
Fan Zhang [Thu, 31 Jan 2019 21:14:08 +0000 (21:14 +0000)]
Merge "Ignore failing tests"

5 years agoIgnore failing tests
Fan Zhang [Thu, 31 Jan 2019 21:12:56 +0000 (13:12 -0800)]
Ignore failing tests

Bug: 123707483
Test: robotest
Change-Id: Ie18ec3b25b905566e8a8afe90f3a7688cf1141f6

5 years agoUpdated arguments for AccessPoint.getSummary calls
Quang Luong [Wed, 30 Jan 2019 22:04:47 +0000 (14:04 -0800)]
Updated arguments for AccessPoint.getSummary calls

Changed the arguments for getSummary to reflect the changes in
settingslib

Bug: 118705403
Test: none
Change-Id: I2bd02e608a900865ff90dd78463a164fca39c905

5 years agoAdd dialog for changing display name for mobile network
Antony Sargent [Wed, 30 Jan 2019 00:54:03 +0000 (16:54 -0800)]
Add dialog for changing display name for mobile network

This CL adds a pencil/edit icon at the top of the mobile network details
page. When clicked, it brings up a dialog that allows the user to set
the display name used for that mobile network - this is most useful in
multi-SIM situations. This dialog also displays the mobile network
operator name and phone number which can help the user keep straight
which one they are renaming.

Bug: 122670283
Test: make RunSettingsRoboTests
Change-Id: Ifd63cfb66ce743bd5ba8a06b52229f06ed56b7bd

5 years agoMerge "Allow multiple trust agents"
Vishwath Mohan [Thu, 31 Jan 2019 20:21:40 +0000 (20:21 +0000)]
Merge "Allow multiple trust agents"

5 years agoAllow multiple trust agents
Vishwath Mohan [Tue, 29 Jan 2019 16:26:40 +0000 (08:26 -0800)]
Allow multiple trust agents

This CL is essentially a one-line change that sets the
ONLY_ONE_TRUST_AGENT boolean to false.

Bug: 111431046
Test: Tested manually that this works correctly

Change-Id: Ia8f06235467e3223ef1e441a62d941a64a2d7c93

5 years agoAdd current user handle to tile intent in account detail page.
Doris Ling [Mon, 28 Jan 2019 21:37:31 +0000 (13:37 -0800)]
Add current user handle to tile intent in account detail page.

- the account detail settings page is launched with the correct user
handle when there is work profile to indicate which profile the account
belongs to. When we process the dynamic tile, for the page, we should
add this info to the tile intent, so that it can be launched with the
correct profile.
- when we launch the tile intent, check whether there's user handle
specified. If so, launch the intent directly without prompting for
profile selection.

Change-Id: I91f8c666a826909006b1f53907b3441825322c10
Fixes: 119657694
Test: make RunSettingsRoboTests

5 years agoMerge "Remove dead code from settings"
TreeHugger Robot [Thu, 31 Jan 2019 19:18:17 +0000 (19:18 +0000)]
Merge "Remove dead code from settings"

5 years agoMerge "Connect to network while clicking open or saved networks on slice"
TreeHugger Robot [Thu, 31 Jan 2019 19:14:05 +0000 (19:14 +0000)]
Merge "Connect to network while clicking open or saved networks on slice"

5 years agoRemove unused dependency
Alex Salo [Thu, 31 Jan 2019 01:58:47 +0000 (17:58 -0800)]
Remove unused dependency

Test: not needed
Bug: 111939367
Change-Id: Id6040240e6221fe6311b7985f3763c04989be7d2

5 years agoMerge "Use ColorDisplayManager for night display settings"
Christine Franks [Thu, 31 Jan 2019 17:45:45 +0000 (17:45 +0000)]
Merge "Use ColorDisplayManager for night display settings"

5 years agoUpdate call to use new method name.
Joel Galenson [Thu, 31 Jan 2019 16:19:21 +0000 (08:19 -0800)]
Update call to use new method name.

Test: See correct shadow behavior when scrolling app info.
Change-Id: Ib6452f5caa42600330b934c50c30a42f303710ae

5 years agoUpdate proguard
Beverly [Mon, 28 Jan 2019 21:48:06 +0000 (16:48 -0500)]
Update proguard

Test: manual
Bug: 118388808
Bug: 123532083
Change-Id: Ie3140755817989f567b2ea0674ebe601062aae21

5 years agoMerge "Update title for the link to more special app access."
TreeHugger Robot [Thu, 31 Jan 2019 12:34:59 +0000 (12:34 +0000)]
Merge "Update title for the link to more special app access."

5 years agoMerge "If the ramping ringer adaptive volume is enabled then do not show this setting...
TreeHugger Robot [Thu, 31 Jan 2019 06:18:30 +0000 (06:18 +0000)]
Merge "If the ramping ringer adaptive volume is enabled then do not show this setting. It will be injected from settings intelligence with additional user options"

5 years agoMerge "Consolidate wake-screen settings page"
TreeHugger Robot [Thu, 31 Jan 2019 05:30:10 +0000 (05:30 +0000)]
Merge "Consolidate wake-screen settings page"

5 years agoMerge "Change summary of "Privacy" in homepage"
TreeHugger Robot [Thu, 31 Jan 2019 05:18:25 +0000 (05:18 +0000)]
Merge "Change summary of "Privacy" in homepage"

5 years agoMerge "Add enable/disable DSDS setting switch"
Pengquan Meng [Thu, 31 Jan 2019 03:51:49 +0000 (03:51 +0000)]
Merge "Add enable/disable DSDS setting switch"

5 years agoIf the ramping ringer adaptive volume is enabled then do not show
Tajinder Gadh [Wed, 30 Jan 2019 20:48:13 +0000 (12:48 -0800)]
If the ramping ringer adaptive volume is enabled then do not show
this setting. It will be injected from settings intelligence with
additional user options

Test: Build locally and validated
Change-Id: I6f79eea460e86d643d92c04e8ea126b99b9bed8b

5 years agoChange summary of "Privacy" in homepage
tmfang [Thu, 31 Jan 2019 03:27:27 +0000 (11:27 +0800)]
Change summary of "Privacy" in homepage

Test: visual
Change-Id: I79fd96f42cc6ed698d516bb80c14db098b80273a
Fixes: 123537345

5 years agoMerge "Deprecate EXCLUSIVE category from contextual_card_list.proto"
Yanting Yang [Thu, 31 Jan 2019 02:56:41 +0000 (02:56 +0000)]
Merge "Deprecate EXCLUSIVE category from contextual_card_list.proto"

5 years agoRemove dead code from settings
Soonil Nagarkar [Fri, 25 Jan 2019 01:52:19 +0000 (17:52 -0800)]
Remove dead code from settings

Test: manually
Change-Id: I1ef0bb2a20c6c6f020dd051407dda2de87f174ea

5 years agoAdd enable/disable DSDS setting switch
Pengquan Meng [Tue, 29 Jan 2019 03:12:18 +0000 (19:12 -0800)]
Add enable/disable DSDS setting switch

This add a switch settings in the Phone Information screen to allow the
user enable/disable the DSDS mode.

Bug: 123088078
Test: build & manual test
Change-Id: Ia3722fb26ce8825820ee96550a1d523da35c7a71

5 years agoMerge "Add feature flag check for mainline module version."
TreeHugger Robot [Thu, 31 Jan 2019 00:38:07 +0000 (00:38 +0000)]
Merge "Add feature flag check for mainline module version."

5 years agoUpdate title for the link to more special app access.
Hai Zhang [Wed, 30 Jan 2019 23:20:10 +0000 (15:20 -0800)]
Update title for the link to more special app access.

This change updates the title for the link to more special app access
to be "See more".

Bug: 110557011
Bug: 123538149
Test: manual
Change-Id: I17c7aa347f4e584a28ca8f2de8b9f75ee5e3c1b4

5 years agoConsolidate wake-screen settings page
Lucas Dupin [Sat, 19 Jan 2019 00:17:44 +0000 (16:17 -0800)]
Consolidate wake-screen settings page

UX decided to have a single settings page instead of two

Test: manual
Bug: 111414690
Change-Id: I8e0eee3ea00b1eb9cbe534cc60bfccec43cf8e31

5 years agoMerge "Use role for App info default phone shortcut."
TreeHugger Robot [Wed, 30 Jan 2019 22:23:40 +0000 (22:23 +0000)]
Merge "Use role for App info default phone shortcut."

5 years agoAdd feature flag check for mainline module version.
Doris Ling [Wed, 30 Jan 2019 20:52:23 +0000 (12:52 -0800)]
Add feature flag check for mainline module version.

- in about phone settings, only show the mainline module version if the
feature is enabled.

Bug: 122615240
Test: make RunSettingsRoboTests
Change-Id: If872859755dade7e601a47eb387d10c3b247d06e

5 years agoMerge "Revert "Add live caption preference in accessibility page.""
Fan Zhang [Wed, 30 Jan 2019 20:14:22 +0000 (20:14 +0000)]
Merge "Revert "Add live caption preference in accessibility page.""

5 years agoMerge "Add Secure NFC functionality"
Ruchi Kandoi [Wed, 30 Jan 2019 18:58:50 +0000 (18:58 +0000)]
Merge "Add Secure NFC functionality"

5 years agoMerge "Add referrer when launching search intent."
TreeHugger Robot [Wed, 30 Jan 2019 18:57:28 +0000 (18:57 +0000)]
Merge "Add referrer when launching search intent."

5 years agoRevert "Add live caption preference in accessibility page."
Fan Zhang [Wed, 30 Jan 2019 18:10:17 +0000 (18:10 +0000)]
Revert "Add live caption preference in accessibility page."

This reverts commit d64901494fb4bd2f195d8c6da7258f107207eebf.

Reason for revert: b/123636344

Change-Id: If6307935ba3613cb24f5bab2234febef83c6f7d2

5 years agoMerge "[Multi-user] Change Backup Settings page to support multi-user."
Chandan Nath [Wed, 30 Jan 2019 14:03:38 +0000 (14:03 +0000)]
Merge "[Multi-user] Change Backup Settings page to support multi-user."

5 years agoMerge "Add silent status bar icon setting"
Julia Reynolds [Wed, 30 Jan 2019 13:41:08 +0000 (13:41 +0000)]
Merge "Add silent status bar icon setting"

5 years agoMerge "Fix crash if timezone is changed and "Don't keep activities" mode is on"
TreeHugger Robot [Wed, 30 Jan 2019 10:59:36 +0000 (10:59 +0000)]
Merge "Fix crash if timezone is changed and "Don't keep activities" mode is on"

5 years agoMerge "Revert "Wifi MAC Randomization: Developer Options""
Oscar Shu [Wed, 30 Jan 2019 10:55:34 +0000 (10:55 +0000)]
Merge "Revert "Wifi MAC Randomization: Developer Options""

5 years agoDeprecate EXCLUSIVE category from contextual_card_list.proto
Yanting Yang [Wed, 30 Jan 2019 10:52:33 +0000 (18:52 +0800)]
Deprecate EXCLUSIVE category from contextual_card_list.proto

Bug: 120485678
Test: visual, robotests
Change-Id: Ic287aeeed0743787d3e577c7086e9847b5c33157

5 years agoConnect to network while clicking open or saved networks on slice
Jason Chiu [Tue, 29 Jan 2019 09:13:28 +0000 (17:13 +0800)]
Connect to network while clicking open or saved networks on slice

Test: make RunSettingsRoboTests -j
Fixes: 121342770
Change-Id: I0ffb925628dd271d054f990b9b176eb10372e6a3

5 years agoMerge "Remove empty space in Usage access"
TreeHugger Robot [Wed, 30 Jan 2019 07:04:25 +0000 (07:04 +0000)]
Merge "Remove empty space in Usage access"

5 years agoMerge "Wi-Fi DPP code refine"
TreeHugger Robot [Wed, 30 Jan 2019 05:00:38 +0000 (05:00 +0000)]
Merge "Wi-Fi DPP code refine"

5 years agoMerge "ConfirmDeviceCredential should default to setRequireConfirmation(true)"
TreeHugger Robot [Wed, 30 Jan 2019 04:49:37 +0000 (04:49 +0000)]
Merge "ConfirmDeviceCredential should default to setRequireConfirmation(true)"

5 years agoMerge "Use settingslib ActionBarShadowController"
TreeHugger Robot [Wed, 30 Jan 2019 04:29:44 +0000 (04:29 +0000)]
Merge "Use settingslib ActionBarShadowController"

5 years agoMerge "Schematize Crypto system properties"
TreeHugger Robot [Wed, 30 Jan 2019 03:51:31 +0000 (03:51 +0000)]
Merge "Schematize Crypto system properties"

5 years agoMerge "Use API to get necessary value when activity init"
Les Lee [Wed, 30 Jan 2019 03:42:55 +0000 (03:42 +0000)]
Merge "Use API to get necessary value when activity init"

5 years agoMerge "Remove cardview wrapper on condition collapse button."
TreeHugger Robot [Wed, 30 Jan 2019 03:37:42 +0000 (03:37 +0000)]
Merge "Remove cardview wrapper on condition collapse button."

5 years agoMerge "Remove dead code."
TreeHugger Robot [Wed, 30 Jan 2019 03:22:09 +0000 (03:22 +0000)]
Merge "Remove dead code."

5 years agoMerge "AccessPoint: App attribution for suggestion/specifier"
Roshan Pius [Wed, 30 Jan 2019 03:03:20 +0000 (03:03 +0000)]
Merge "AccessPoint: App attribution for suggestion/specifier"

5 years agoConfirmDeviceCredential should default to setRequireConfirmation(true)
Kevin Chyn [Wed, 30 Jan 2019 01:33:57 +0000 (17:33 -0800)]
ConfirmDeviceCredential should default to setRequireConfirmation(true)

If the value is unset, we should maintain the same default behavior
as BiometricPrompt, which is to dfeault to requiring confirmation.

Fixes: 123598496

Test: manual
Change-Id: Icaf27d184e0aea5eee077b8ec14bca27fd0ddad3

5 years agoMerge "Set Wi-Fi DPP fragment icons."
Arc Wang [Wed, 30 Jan 2019 02:29:35 +0000 (02:29 +0000)]
Merge "Set Wi-Fi DPP fragment icons."

5 years agoMerge "Fix dsandler's email address."
Daniel Sandler [Wed, 30 Jan 2019 02:09:54 +0000 (02:09 +0000)]
Merge "Fix dsandler's email address."

5 years agoAdd silent status bar icon setting
Julia Reynolds [Tue, 29 Jan 2019 17:12:39 +0000 (12:12 -0500)]
Add silent status bar icon setting

Test: atest
Bug: 123419917
Change-Id: I40fe580b76589c45a70365c09a966a76b5bc882b

5 years agoRemove cardview wrapper on condition collapse button.
Fan Zhang [Wed, 30 Jan 2019 00:33:53 +0000 (16:33 -0800)]
Remove cardview wrapper on condition collapse button.

The cardview is adding a strange background color in dark mode

Change-Id: Id205fbd5209e15597157d86d225f8c6c97a2ec5a
Fixes: 123411225
Test: visual

5 years agoAdd Secure NFC functionality
Ruchi Kandoi [Thu, 17 Jan 2019 23:31:02 +0000 (15:31 -0800)]
Add Secure NFC functionality

Secure NFC will permit NFC acitvity only when screen
is unlocked.

Bug: 117253725
Test: Manual; Toggle switch; check if HCE works with screen off
Change-Id: I9977d85065fc7ebca3ed4991ffa52fef0590cf90

5 years agoRemove dead code.
Fan Zhang [Wed, 30 Jan 2019 00:00:19 +0000 (16:00 -0800)]
Remove dead code.

Bug: n/a
Test: rebuild
Change-Id: I71f8d9d99bbff1186e8df518ec8d27db3447ffbe

5 years agoUse settingslib ActionBarShadowController
Fan Zhang [Tue, 29 Jan 2019 23:39:32 +0000 (15:39 -0800)]
Use settingslib ActionBarShadowController

Change-Id: Ib70a0ca307bb98e576f2c3deb8f7aea88e59b10e
Fixes: 123311100
Test: robotests

5 years agoMerge "Fix padding problem between search bar and homepage cards"
TreeHugger Robot [Tue, 29 Jan 2019 23:00:18 +0000 (23:00 +0000)]
Merge "Fix padding problem between search bar and homepage cards"

5 years agoAdd referrer when launching search intent.
Fan Zhang [Tue, 29 Jan 2019 21:52:12 +0000 (13:52 -0800)]
Add referrer when launching search intent.

Bug: 123294739
Test: robotests
Change-Id: I600abf1d764e828d52f3b8d35ad24cdc94dfba01

5 years agoMerge "Add a plus button to the mobile pref on Network & internet page"
TreeHugger Robot [Tue, 29 Jan 2019 22:08:33 +0000 (22:08 +0000)]
Merge "Add a plus button to the mobile pref on Network & internet page"

5 years agoAdd a plus button to the mobile pref on Network & internet page
Antony Sargent [Tue, 29 Jan 2019 00:10:58 +0000 (16:10 -0800)]
Add a plus button to the mobile pref on Network & internet page

On the Network & internet page, we have a "Mobile network" pref that in
single-SIM mode leads to a detail page for the current SIM. In multi-SIM
mode it has more complicated behavior (leading either to details about
the current subscription if there is only one, or a list of
subscriptions if more than one).

One of the things we wanted to add was a shortcut to add another eSIM
subscription. So this CL adds a plus button control on the right of the
preference which leads to a flow to add another mobile subscription via
the eSIM manager.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: I38e0031e3bd603e93c45dcb4557750e7bc1b8b5a

5 years agoFix dsandler's email address.
Dan Sandler [Tue, 29 Jan 2019 19:41:54 +0000 (14:41 -0500)]
Fix dsandler's email address.

Test: dsandler can give OWNERS approval again
Change-Id: I8a59453ec95b98ce74703bbe003c9039e2a96f22

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 29 Jan 2019 16:50:23 +0000 (16:50 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Sort notification channel in NotificationChannelSlice"
Yanting Yang [Tue, 29 Jan 2019 16:44:12 +0000 (16:44 +0000)]
Merge "Sort notification channel in NotificationChannelSlice"

5 years agoFix crash if timezone is changed and "Don't keep activities" mode is on
Nikita Iashchenko [Mon, 28 Jan 2019 21:16:31 +0000 (21:16 +0000)]
Fix crash if timezone is changed and "Don't keep activities" mode is on

The issues is that TimeZoneData is being loaded with LoaderManager on
every fragment's onCreate(). At the same time this fragment has
onActivityResult() handler that accesses TimeZoneData and relies on the
fact that it has been already initialized prior this call. So when you
enable "Don't keep activities" mode, the TimeZoneSettings fragment [1]
that holds TimeZoneData is immediately destroyed after launching time zone
picker fragment [2] (which result [1] waits for), and when android calls
onActivityResult() for [1] (after time zone has been picked in [2]),
Android has to recreate [1] from scratch. So you get onCreate() called and
immidiately after that onActivityResult() called, and at this point we get
the crash, because the loader hasn't finished yet and onActivityResult()
tries to access uninitialized mTimeZoneData.

This CL fixes this crash issue by postponing
mTimeZoneData.lookupCountryTimeZones call until mTimeZoneData is loaded
by loader. It is done through saving data intent in onActivityResult()
and calling onZonePickerRequestResult() when time zone data is loaded.

Bug: 112351583
Test: m Settings droid successfully builds, manual testing with "Don't
keep activities" mode enabled

Change-Id: Id30d36dc17a0de96ba871f9d0f4a2686479d0eeb

5 years agoMerge "Enable overlays on background thread."
TreeHugger Robot [Tue, 29 Jan 2019 14:58:37 +0000 (14:58 +0000)]
Merge "Enable overlays on background thread."

5 years agoSort notification channel in NotificationChannelSlice
Yanting Yang [Wed, 23 Jan 2019 14:15:51 +0000 (22:15 +0800)]
Sort notification channel in NotificationChannelSlice

According request to sort the notification channel by average
weekly sent count in descending.

Bug: 119831690
Test: visual, robotests
Change-Id: I96786b077a37dcbc53606f8d98998e01e15b674d

5 years agoRemove empty space in Usage access
tmfang [Tue, 29 Jan 2019 06:50:46 +0000 (14:50 +0800)]
Remove empty space in Usage access

When there is no need to show filter component,
we don't need to set an extra padding top.

Test: robotest, visual
Change-Id: Ieaa65ed9785a06f0737aefaf102d0c857002bbdd
Fixes: 123037802

5 years agoMerge "Game Driver: rename GUP to Game Driver"
TreeHugger Robot [Tue, 29 Jan 2019 10:51:26 +0000 (10:51 +0000)]
Merge "Game Driver: rename GUP to Game Driver"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 29 Jan 2019 09:39:27 +0000 (01:39 -0800)]
Import translations. DO NOT MERGE

Change-Id: I7a79b6977d8215bcbc7257daaaabfb570862ebbd
Auto-generated-cl: translation import

5 years agoWi-Fi DPP code refine
Arc Wang [Fri, 25 Jan 2019 06:12:03 +0000 (14:12 +0800)]
Wi-Fi DPP code refine

1. call Activity#setResult only for RESULT_OK case
2. refine @VisibleForTesting usage
     remove redundant assignment otherwise = PRIVATE
     set all @VisibleForTesting annotated methods package scope
3. rename WifiQrCode#SECURITY_WPA to WifiQrCode#SECURITY_WPA_PSK

Bug: 120645817
Test: atest WifiQrCodeTest
      atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest WifiDppQrCodeScannerFragmentTest
      atest WifiNetworkListFragmentTest
      atest WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: Id5de7eadc73185716422fc0d197f82bdd025ce45

5 years agoSet Wi-Fi DPP fragment icons.
Arc Wang [Thu, 24 Jan 2019 07:19:23 +0000 (15:19 +0800)]
Set Wi-Fi DPP fragment icons.

1. set fragment icon for WifiDppChooseSavedWifiNetworkFragment
2. set fragment icon of success for WifiDppAddDeviceFragment

All Wi-Fi DPP fragment icons are VectorDrawable of instinct size
24dp draw on a 48dp canvas. Except for ic_devices_check_circle_green,
it's a LayerDrawable of different size. I dynamically change ImageView
layout width & height between these 2 different kind of drawable.

Bug: 122982132
Test: manual test
Change-Id: Idab8cd8b0798363e447da00dc6bc68a86498b8be

5 years agoUse API to get necessary value when activity init
lesl [Wed, 2 Jan 2019 10:26:46 +0000 (18:26 +0800)]
Use API to get necessary value when activity init

Framework change intent design from sticky to non-sticky due to
location sensitive data protect. Use APIs to get information when
activity resume.

Intents from sticy to non-sticy:
WifiP2pManager#WIFI_P2P_CONNECTION_CHANGED_ACTION
WifiP2pManager#WIFI_P2P_THIS_DEVICE_CHANGED_ACTION

Bug: 77228252
Test: Manually test Wi-Fi Direct settings
Change-Id: I115515d6832c5c5f290ef9f757ca94afa4e9f1bd

5 years agoMerge "Improve UX of Deferred Setup"
Yanting Yang [Tue, 29 Jan 2019 07:51:33 +0000 (07:51 +0000)]
Merge "Improve UX of Deferred Setup"

5 years agoImprove UX of Deferred Setup
Yanting Yang [Fri, 18 Jan 2019 15:39:15 +0000 (23:39 +0800)]
Improve UX of Deferred Setup

Change-Id: I3d0735ef1196b04abaef454529664a8daea53967
Bug: 120485678
Test: visual, robotests

5 years agoMerge "Game Driver: Add footer to the dashboard"
TreeHugger Robot [Tue, 29 Jan 2019 07:06:26 +0000 (07:06 +0000)]
Merge "Game Driver: Add footer to the dashboard"

5 years agoMerge "Game Driver: Add SwitchBar to control GUP feature"
TreeHugger Robot [Tue, 29 Jan 2019 06:32:34 +0000 (06:32 +0000)]
Merge "Game Driver: Add SwitchBar to control GUP feature"

5 years agoMerge "Update to use new ConnectivityManager API." am: 70b1830e7e am: 7c47743851
Pavel Grafov [Tue, 29 Jan 2019 06:14:17 +0000 (22:14 -0800)]
Merge "Update to use new ConnectivityManager API." am: 70b1830e7e am: 7c47743851
am: 3184142cbe

Change-Id: I6bc7277d0f1db1576b369443719c449fc8eeed75

5 years agoMerge "Use the UiDevice.setOrientation methods to simulate orienting the device"
Johnson Lu [Tue, 29 Jan 2019 05:56:55 +0000 (05:56 +0000)]
Merge "Use the UiDevice.setOrientation methods to simulate orienting the device"

5 years agoFix padding problem between search bar and homepage cards
Sunny Shao [Mon, 28 Jan 2019 09:46:35 +0000 (17:46 +0800)]
Fix padding problem between search bar and homepage cards

Get the statusbar height dynamically to fix this problem in notch mode.

Change-Id: I4ca0427fc2556f1fb5f868118c5207fdfa035c59
Fixes: 123215804
Test: robotest

5 years agoMerge "Update to use new ConnectivityManager API." am: 70b1830e7e
Pavel Grafov [Tue, 29 Jan 2019 05:34:50 +0000 (21:34 -0800)]
Merge "Update to use new ConnectivityManager API." am: 70b1830e7e
am: 7c47743851

Change-Id: I41b4f42c88895dd26a65fe0c92b71dbe1e7a3c08

5 years agoMerge "Update to use new ConnectivityManager API."
Pavel Grafov [Tue, 29 Jan 2019 04:28:09 +0000 (20:28 -0800)]
Merge "Update to use new ConnectivityManager API."
am: 70b1830e7e

Change-Id: Ide228930858fc8eccfac060858b0da86725f229a

5 years agoGame Driver: rename GUP to Game Driver
Yiwei Zhang [Thu, 24 Jan 2019 22:04:58 +0000 (14:04 -0800)]
Game Driver: rename GUP to Game Driver

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ia7b9e3978ad96436a66843e6b5d1bd1e15f367c9

5 years agoGame Driver: Add footer to the dashboard
Yiwei Zhang [Wed, 23 Jan 2019 20:40:42 +0000 (12:40 -0800)]
Game Driver: Add footer to the dashboard

This change adds a footer to the current dashboard to show some
descriptions when the whole module is turned off.

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: I9788d4c64b06deb099a43e8db7eecab20a85f494

5 years agoGame Driver: Add SwitchBar to control GUP feature
Yiwei Zhang [Sat, 19 Jan 2019 08:45:20 +0000 (16:45 +0800)]
Game Driver: Add SwitchBar to control GUP feature

Uncheck the global switch will hide the preference controllers and force
all apps to use system graphics driver. This change also add a content
observer to notify all the preference controllers of settings global
changes.

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ice9ded17c759791a3728c552f79881e2215ac081