OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoFix crash on AppInfo screen
tmfang [Sat, 9 Mar 2019 05:53:02 +0000 (13:53 +0800)]
Fix crash on AppInfo screen

We start a search page with a request code which is same as
"uninstall" request code. The root cause is we handle same
reuqest code for different event.

We redefine an unique request code for "search" feature.

Fixes: 124775813
Test: Click search and back to App info screen.
Change-Id: I8ab21c30b605bcb65b6d4bd9fceb749a65a49f80

5 years agoMerge "Log contextual card event to CURRENT user"
TreeHugger Robot [Mon, 18 Mar 2019 05:56:25 +0000 (05:56 +0000)]
Merge "Log contextual card event to CURRENT user"

5 years agoMerge "Use short format to avoid truncated problem"
TreeHugger Robot [Mon, 18 Mar 2019 04:49:14 +0000 (04:49 +0000)]
Merge "Use short format to avoid truncated problem"

5 years agoLog contextual card event to CURRENT user
Raff Tsai [Mon, 18 Mar 2019 04:29:39 +0000 (12:29 +0800)]
Log contextual card event to CURRENT user

Fixes: 128804262
Test: Robolectric. Manual
Change-Id: I6e7cffe0773572025beb3ab7964cc18da49681c2

5 years agoFix color lint check error
tmfang [Mon, 18 Mar 2019 03:43:28 +0000 (11:43 +0800)]
Fix color lint check error

Test: We can upload CL.
Change-Id: Iabe1d918a98167048b86dae1b61d450fb2e8bd97

5 years agoMerge "Choose a pref key less likely to conflict"
TreeHugger Robot [Sat, 16 Mar 2019 02:54:25 +0000 (02:54 +0000)]
Merge "Choose a pref key less likely to conflict"

5 years ago[automerger skipped] Merge "Base implementation of WFC disclaimer UI" am: 7e2c23aa0d...
Hall Liu [Sat, 16 Mar 2019 00:41:47 +0000 (17:41 -0700)]
[automerger skipped] Merge "Base implementation of WFC disclaimer UI" am: 7e2c23aa0d am: 257e6f71ee
am: 770e610a77 -s ours
am skip reason: change_id I789f530d3e16baa6e56feaa4269f6696976f747e with SHA1 9fae73915c is in history

Change-Id: I19290040bf66d86354f83aa7854ee549cf54d50a

5 years agoMerge "Base implementation of WFC disclaimer UI" am: 7e2c23aa0d
Hall Liu [Sat, 16 Mar 2019 00:37:37 +0000 (17:37 -0700)]
Merge "Base implementation of WFC disclaimer UI" am: 7e2c23aa0d
am: 257e6f71ee

Change-Id: Iceb8fffc425756e19b1a2bf16469b0cb69a444da

5 years agoMerge "Base implementation of WFC disclaimer UI"
Hall Liu [Sat, 16 Mar 2019 00:33:26 +0000 (17:33 -0700)]
Merge "Base implementation of WFC disclaimer UI"
am: 7e2c23aa0d

Change-Id: Ib89de5bf801b6669795e7c49010136a0e966324a

5 years agoMerge "Base implementation of WFC disclaimer UI"
Hall Liu [Sat, 16 Mar 2019 00:23:23 +0000 (00:23 +0000)]
Merge "Base implementation of WFC disclaimer UI"

5 years agoBase implementation of WFC disclaimer UI
manabu, shimoda [Wed, 8 Nov 2017 02:32:31 +0000 (11:32 +0900)]
Base implementation of WFC disclaimer UI

Test: manual - Check that no error occurred when changing the wifi
calling settings to turn on.
Test: auto - Passed WifiCallingSettingsForSubTest,
WifiCallingDisclaimerFragmentTest and DisclaimerItemListAdapterTest.
Bug: 67872298

Change-Id: I789f530d3e16baa6e56feaa4269f6696976f747e
Merged-In: I789f530d3e16baa6e56feaa4269f6696976f747e

5 years agoMerge "Base implementation of WFC disclaimer UI"
Hall Liu [Fri, 15 Mar 2019 22:57:06 +0000 (22:57 +0000)]
Merge "Base implementation of WFC disclaimer UI"

5 years agoMerge "Fix channel configurability check"
TreeHugger Robot [Fri, 15 Mar 2019 21:57:23 +0000 (21:57 +0000)]
Merge "Fix channel configurability check"

5 years agoMerge "Update design of channel pages."
TreeHugger Robot [Fri, 15 Mar 2019 21:47:51 +0000 (21:47 +0000)]
Merge "Update design of channel pages."

5 years agoMerge "Fix for affordances to add a mobile subscription"
TreeHugger Robot [Fri, 15 Mar 2019 21:47:32 +0000 (21:47 +0000)]
Merge "Fix for affordances to add a mobile subscription"

5 years agoMerge "Tie ContextualWifiSlice to UI instead of garbage collector"
TreeHugger Robot [Fri, 15 Mar 2019 21:41:29 +0000 (21:41 +0000)]
Merge "Tie ContextualWifiSlice to UI instead of garbage collector"

5 years agoMerge "Only show zen rule gear if intent is valid"
TreeHugger Robot [Fri, 15 Mar 2019 21:39:42 +0000 (21:39 +0000)]
Merge "Only show zen rule gear if intent is valid"

5 years agoMerge changes I85ca2b69,Ibd7a47cb,I79522aab
TreeHugger Robot [Fri, 15 Mar 2019 21:36:41 +0000 (21:36 +0000)]
Merge changes I85ca2b69,Ibd7a47cb,I79522aab

* changes:
  Update strings for scanning settings
  Display empty message if no recent location access
  Add comment to help translator with plural forms

5 years agoMerge "Moved transport to IntDef"
Jack Yu [Fri, 15 Mar 2019 21:16:41 +0000 (21:16 +0000)]
Merge "Moved transport to IntDef"

5 years agoMerge "Update switchbar color for accessibilty"
Fan Zhang [Fri, 15 Mar 2019 19:47:19 +0000 (19:47 +0000)]
Merge "Update switchbar color for accessibilty"

5 years agoUpdate switchbar color for accessibilty
Fan Zhang [Fri, 15 Mar 2019 19:40:18 +0000 (12:40 -0700)]
Update switchbar color for accessibilty

Fixes: 127878068
Test: visual
Change-Id: Ice36a11c4fe126a80db6e5a504e8867e81344173

5 years agoUpdate strings for scanning settings
Lifu Tang [Fri, 15 Mar 2019 19:22:13 +0000 (12:22 -0700)]
Update strings for scanning settings

Bug: 128323721
Test: build, flash, and test manually
Change-Id: I85ca2b69e61bdc839b9df1010c74d945990d5549

5 years agoDisplay empty message if no recent location access
Lifu Tang [Fri, 15 Mar 2019 18:40:44 +0000 (11:40 -0700)]
Display empty message if no recent location access

Bug: 120873123
Test: build, flash, and test manually
Change-Id: Ibd7a47cb814fe16ecb1c017865ab28862e17ddcc

5 years agoChoose a pref key less likely to conflict
Julia Reynolds [Fri, 15 Mar 2019 18:15:55 +0000 (14:15 -0400)]
Choose a pref key less likely to conflict

Test: manual
Fixes: 127498706
Change-Id: I254cef727df137abac5810f19e63449a7f582876

5 years agoFix for affordances to add a mobile subscription
Antony Sargent [Thu, 14 Mar 2019 19:58:56 +0000 (12:58 -0700)]
Fix for affordances to add a mobile subscription

This changes the behavior for when we show an affordance to add a mobile
subscription via the eSIM manager (if eSIM is supported).  On the
Network & internet page, the behavior we now want for the "Mobile
network" pref has several possibilities as detailed below.

No existing subscriptions:
- Summary is "Add a network"
- Tapping on pref leads to the add subscription flow

One existing subscription:
- Summary is the name of the subscription (usually the carrier name)
- Tapping left-hand side of the pref leads to mobile network details
- A "+" button is shown on right of pref, and tapping "+" leads to the
  add subscription flow

2 or more existing subscriptions:
- Summary is "<count> SIMs"
- Tapping left-hand side of the pref leads to a new page with the list
  of subscriptions
- A "+" button is shown on right of pref, and tapping "+" leads to the
  add subscription flow

The existing code controlling the "Mobile network" pref (in
MobileNetworkSummaryController.java) already had behavior similar to
this, but needed to be updated to no longer rely on whether we're in
DSDS mode.

Also, the page with the list of subscriptions that you can go to in the
"2 or more existing subscriptions" case mentioned above has an "Add
more" link at the bottom which leads to the same eSIM manager flow, but
it was always showing this link even if the device doesn't support
eSIM. This CL also fixes that problem.

Bug: 127870567
Test: make RunSettingsRoboTests
Change-Id: Ie8cca47ac81f8992fa6ecf1940bdfed411fd333b

5 years agoFix channel configurability check
Julia Reynolds [Fri, 15 Mar 2019 14:31:46 +0000 (10:31 -0400)]
Fix channel configurability check

Test: atest
Fixes: 128669244
Change-Id: Ib4bc666262426ea1fb8fc034a361c93bdd5afb36

5 years agoMerge "Turn on remote volume slider"
Lei Yu [Fri, 15 Mar 2019 17:06:33 +0000 (17:06 +0000)]
Merge "Turn on remote volume slider"

5 years agoMerge "Remove parameter from uri when get slice"
TreeHugger Robot [Fri, 15 Mar 2019 16:19:14 +0000 (16:19 +0000)]
Merge "Remove parameter from uri when get slice"

5 years agoMerge "Update api usage for rename"
TreeHugger Robot [Fri, 15 Mar 2019 16:15:40 +0000 (16:15 +0000)]
Merge "Update api usage for rename"

5 years agoUpdate design of channel pages.
Julia Reynolds [Thu, 7 Mar 2019 15:44:01 +0000 (10:44 -0500)]
Update design of channel pages.

Test: atest
Bug: 127796543
Change-Id: I4fabeafe2602c341554959303e67bc69c8817a8f

5 years agoRemove parameter from uri when get slice
hughchen [Fri, 15 Mar 2019 07:14:16 +0000 (15:14 +0800)]
Remove parameter from uri when get slice

Slice may added parameter in their uri.
When get slice through uri, removed parameter from uri to get correct slice.

Bug: 128651940
Test: make -j42 RunSettingsRoboTests
Change-Id: Id3cb7b91026384ce4e22c157a2908a5e18bc7993

5 years agoMerge "Update icon"
Kevin Chyn [Fri, 15 Mar 2019 04:43:27 +0000 (04:43 +0000)]
Merge "Update icon"

5 years agoMerge "Update toggle logic"
Kevin Chyn [Fri, 15 Mar 2019 04:22:58 +0000 (04:22 +0000)]
Merge "Update toggle logic"

5 years agoMerge "Add links to app location permission page"
TreeHugger Robot [Fri, 15 Mar 2019 03:52:46 +0000 (03:52 +0000)]
Merge "Add links to app location permission page"

5 years agoMoved transport to IntDef
Jack Yu [Fri, 15 Mar 2019 03:18:42 +0000 (20:18 -0700)]
Moved transport to IntDef

Moved out from the sub class per API review feedback.

Test: Build
Bug: 128607082

Change-Id: I4c476b61b472a9ce706ffe9e52da47e26b0b6dcf

5 years agoMerge "Move SMS raw db deletion to phone process." am: 479ec92c27 am: f784db5cae
Amit Mahajan [Fri, 15 Mar 2019 01:55:13 +0000 (18:55 -0700)]
Merge "Move SMS raw db deletion to phone process." am: 479ec92c27 am: f784db5cae
am: 1285b12980

Change-Id: I349002ff9a72b08056a8af47361de4914afb2b3d

5 years agoMerge "Move SMS raw db deletion to phone process." am: 479ec92c27
Amit Mahajan [Fri, 15 Mar 2019 01:49:59 +0000 (18:49 -0700)]
Merge "Move SMS raw db deletion to phone process." am: 479ec92c27
am: f784db5cae

Change-Id: Ib90080a6fad7ad8914390df8e4aa92749669f1a9

5 years agoMerge "Move SMS raw db deletion to phone process."
Amit Mahajan [Fri, 15 Mar 2019 01:45:50 +0000 (18:45 -0700)]
Merge "Move SMS raw db deletion to phone process."
am: 479ec92c27

Change-Id: I38689f5f833825eae230706b536c4ad1ded847bd

5 years agoUpdate icon
Kevin Chyn [Fri, 15 Mar 2019 00:13:17 +0000 (17:13 -0700)]
Update icon

Bug: 111548033
Test: Builds
Change-Id: I68fd1f0b24a46b762baa1acb1087313ddaaf815b

5 years agoUpdate toggle logic
Kevin Chyn [Fri, 15 Mar 2019 01:25:29 +0000 (18:25 -0700)]
Update toggle logic

Bug: 111548033

Test: Builds
Change-Id: I591297940b48cffe61ca0279ff835ccacd2a625f

5 years agoMerge "Move SMS raw db deletion to phone process."
Treehugger Robot [Fri, 15 Mar 2019 01:25:28 +0000 (01:25 +0000)]
Merge "Move SMS raw db deletion to phone process."

5 years agoMerge "Make Panel accept TitleItem for first row"
TreeHugger Robot [Fri, 15 Mar 2019 01:20:19 +0000 (01:20 +0000)]
Merge "Make Panel accept TitleItem for first row"

5 years agoAdd links to app location permission page
Lifu Tang [Thu, 14 Mar 2019 22:55:52 +0000 (15:55 -0700)]
Add links to app location permission page

Bug: 121271387
Test: build, flash, and test manually
Change-Id: I188b7113c2421c66b03e8330f141f514991450fe

5 years agoTurn on remote volume slider
jackqdyulei [Wed, 13 Mar 2019 20:21:34 +0000 (13:21 -0700)]
Turn on remote volume slider

Since now media API support multiple clients.

Fixes: 126199571
Test: Manual
Change-Id: I8d01ca3a0d46eb8a4450002ddf9911a7fda7dd5b

5 years agoBase implementation of WFC disclaimer UI
manabu, shimoda [Wed, 8 Nov 2017 02:32:31 +0000 (11:32 +0900)]
Base implementation of WFC disclaimer UI

Test: manual - Check that no error occurred when changing the wifi
calling settings to turn on.
Test: auto - Passed WifiCallingSettingsForSubTest,
WifiCallingDisclaimerFragmentTest and DisclaimerItemListAdapterTest.
Bug: 67872298

Change-Id: I789f530d3e16baa6e56feaa4269f6696976f747e

5 years agoMerge "Use CustomSliceRegistry directly when possible."
TreeHugger Robot [Thu, 14 Mar 2019 21:48:23 +0000 (21:48 +0000)]
Merge "Use CustomSliceRegistry directly when possible."

5 years agoTie ContextualWifiSlice to UI instead of garbage collector
Fan Zhang [Thu, 14 Mar 2019 21:18:45 +0000 (14:18 -0700)]
Tie ContextualWifiSlice to UI instead of garbage collector

- Introduce a static long in SliceFeatureProvider that updates once
  every "session". A session is when user is in an UI (screen rotation,
  going to subpage, etc does not break the continuation of session).

- Use session token in ContextualWifiSlice to determine when to refresh,
  instead of relying on WeakHashMap from CustomSliceManager.
  WeakHashMap can be cleaned up at any time by gc so it doesn't match
  what we want on the UI.

- Also as a side fix, merged CustomSliceManager into
  SliceFeatureProvider.

Fixes: 123937830
Test: robo
Change-Id: I199bceceb208b99a32f3f08e624787b5a03e73a9

5 years agoMerge "Do not show Provisioning items for IMS if it is not enabled."
Brad Ebinger [Thu, 14 Mar 2019 21:23:55 +0000 (21:23 +0000)]
Merge "Do not show Provisioning items for IMS if it is not enabled."

5 years agoAdd comment to help translator with plural forms
Lifu Tang [Thu, 14 Mar 2019 20:09:09 +0000 (13:09 -0700)]
Add comment to help translator with plural forms

Test: build and flash
Change-Id: I79522aab32db60fd244991191a2e3bac03fb3ee0

5 years agoUse CustomSliceRegistry directly when possible.
Fan Zhang [Wed, 13 Mar 2019 22:58:18 +0000 (15:58 -0700)]
Use CustomSliceRegistry directly when possible.

This is one step closer to (un)make CustomSliceManager an singleton.

Bug: 123937830
Test: manual
Change-Id: I844d0fb798c73e2af1945ecb667ba73fac9edf72

5 years agoMerge "Change feature flag to correct flag"
Oscar Shu [Thu, 14 Mar 2019 20:12:41 +0000 (20:12 +0000)]
Merge "Change feature flag to correct flag"

5 years agoMerge "Reduce scope for some methods in SliceFeatureProvider"
TreeHugger Robot [Thu, 14 Mar 2019 19:15:49 +0000 (19:15 +0000)]
Merge "Reduce scope for some methods in SliceFeatureProvider"

5 years agoMake Panel accept TitleItem for first row
jackqdyulei [Thu, 14 Mar 2019 17:58:35 +0000 (10:58 -0700)]
Make Panel accept TitleItem for first row

Fixes: 128611750
Test: Manual
Change-Id: If1604f293d9fa7d538750a07cdbb729f5cc099dc

5 years agoMerge "Disable avatar and contextual cards on low ram devices."
TreeHugger Robot [Thu, 14 Mar 2019 16:59:59 +0000 (16:59 +0000)]
Merge "Disable avatar and contextual cards on low ram devices."

5 years agoMerge "[Passpointv2] Implement DataUsage header for Wi-Fi detail fragment"
Cosmo Hsieh [Thu, 14 Mar 2019 10:10:54 +0000 (10:10 +0000)]
Merge "[Passpointv2] Implement DataUsage header for Wi-Fi detail fragment"

5 years ago[Passpointv2] Implement DataUsage header for Wi-Fi detail fragment
cosmohsieh [Thu, 7 Mar 2019 03:51:39 +0000 (11:51 +0800)]
[Passpointv2] Implement DataUsage header for Wi-Fi detail fragment

Change header to a data usage chart of the specified Wi-Fi network.

Bug: 124700353
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings
Change-Id: Ide08ffd5e97ced5fe54707562690155414598dac

5 years agoMove SMS raw db deletion to phone process.
Amit Mahajan [Thu, 14 Mar 2019 00:32:39 +0000 (17:32 -0700)]
Move SMS raw db deletion to phone process.

Test: manual
Bug: 127929687
Change-Id: Ib23efc647fbd4b3007197932b9493393dc5b4d5b

5 years agoChange feature flag to correct flag
xshu [Wed, 13 Mar 2019 23:37:25 +0000 (16:37 -0700)]
Change feature flag to correct flag

Sorry, I provided the wrong flag that was supposed to be fore p2p MAC
randomization. Changing to the correct flag now.

Bug: 127817791
Test: compile
Change-Id: I46828e17411372c5e347b4fd17d853fe95f024a4

5 years agoReduce scope for some methods in SliceFeatureProvider
Fan Zhang [Wed, 13 Mar 2019 22:19:51 +0000 (15:19 -0700)]
Reduce scope for some methods in SliceFeatureProvider

Bug: 123937830
Test: rebuild
Change-Id: I62db60e8313fc94324b476642fe27a215b76b33d

5 years agoMerge "Rename accessibility services to apps."
TreeHugger Robot [Wed, 13 Mar 2019 22:15:29 +0000 (22:15 +0000)]
Merge "Rename accessibility services to apps."

5 years agoMerge "Fix robotests"
Fan Zhang [Wed, 13 Mar 2019 21:57:09 +0000 (21:57 +0000)]
Merge "Fix robotests"

5 years agoMerge "Fix dynamic pref summary for IMEI."
TreeHugger Robot [Wed, 13 Mar 2019 21:40:30 +0000 (21:40 +0000)]
Merge "Fix dynamic pref summary for IMEI."

5 years agoMerge "Refactor CustomSliceManager."
Fan Zhang [Wed, 13 Mar 2019 21:32:51 +0000 (21:32 +0000)]
Merge "Refactor CustomSliceManager."

5 years agoFix robotests
Fan Zhang [Wed, 13 Mar 2019 21:26:26 +0000 (14:26 -0700)]
Fix robotests

Fixes: 128536554
Test: rerun robotests
Change-Id: Ife81f9d161fc416a63a9b2f04ce2ae4f9a1e74db

5 years agoDisable avatar and contextual cards on low ram devices.
Fan Zhang [Wed, 13 Mar 2019 20:07:52 +0000 (13:07 -0700)]
Disable avatar and contextual cards on low ram devices.

Fixes: 124127763
Test: robotest & manually inspected hprof
Change-Id: I8d328b782a9b1871b76edf433d2378d06face14a

5 years agoMerge "Align layouts between single and two target preferences."
TreeHugger Robot [Wed, 13 Mar 2019 19:45:25 +0000 (19:45 +0000)]
Merge "Align layouts between single and two target preferences."

5 years agoRename accessibility services to apps.
Joel Galenson [Wed, 13 Mar 2019 19:36:58 +0000 (12:36 -0700)]
Rename accessibility services to apps.

Fixes: 127657530
Test: View strings.
Change-Id: I56ab9b5f12808e5af0d9fe2afa64629805c02f1c

5 years agoFix dynamic pref summary for IMEI.
Fan Zhang [Wed, 13 Mar 2019 19:21:20 +0000 (12:21 -0700)]
Fix dynamic pref summary for IMEI.

Fixes: 128468762
Test: reindex
Change-Id: I8c7cb385a877b656515872507b2c64d14bae638d

5 years agoDisable Moblie Data Slice in AP mode
Matthew Fritze [Thu, 28 Feb 2019 18:42:56 +0000 (10:42 -0800)]
Disable Moblie Data Slice in AP mode

When airplane mode is enabled, users should not be able to
change the value of mobile data. Thus, when airplane mode is enabled,
replace the Slice with a no-op slice explaining why it cannot be
changed.

Fixes: 119411534
Fixes: 126726036
Test: robotests
Change-Id: I991fe05ad8f18004f77fbf1c87403de602d3a267

5 years agoMerge "[Multi-user] Show Backup only if Backup is activated"
Chandan Nath [Wed, 13 Mar 2019 11:09:21 +0000 (11:09 +0000)]
Merge "[Multi-user] Show Backup only if Backup is activated"

5 years ago[automerger skipped] Merge "Schematize Crypto state system property" am: 6c38df5eff...
Kiyoung Kim [Wed, 13 Mar 2019 05:31:41 +0000 (22:31 -0700)]
[automerger skipped] Merge "Schematize Crypto state system property" am: 6c38df5eff am: 7dc288a899
am: 8b8bf4c39e -s ours
am skip reason: change_id I957a8e37a88f7bb6d5007a36c02952d3539580fe with SHA1 4d7bd6d85e is in history

Change-Id: I4df0425e2b933347ad52ec50f67db55428be5185

5 years agoMerge "Schematize Crypto state system property" am: 6c38df5eff
Kiyoung Kim [Wed, 13 Mar 2019 05:09:21 +0000 (22:09 -0700)]
Merge "Schematize Crypto state system property" am: 6c38df5eff
am: 7dc288a899

Change-Id: I865d37316469126cf1cd1bf93bd7427882042c3d

5 years agoMerge "Schematize Crypto state system property"
Kiyoung Kim [Wed, 13 Mar 2019 04:34:09 +0000 (21:34 -0700)]
Merge "Schematize Crypto state system property"
am: 6c38df5eff

Change-Id: I3ef29bc153839fd18b1144c8128ddf4dbc1e4f60

5 years agoMerge "Remove unneeded airplane mode strings"
Salvador Martinez [Wed, 13 Mar 2019 02:25:39 +0000 (02:25 +0000)]
Merge "Remove unneeded airplane mode strings"

5 years agoMerge "Schematize Crypto state system property"
Treehugger Robot [Wed, 13 Mar 2019 01:30:58 +0000 (01:30 +0000)]
Merge "Schematize Crypto state system property"

5 years agoMerge "Suppress search from one of the build number prefs."
TreeHugger Robot [Wed, 13 Mar 2019 01:10:04 +0000 (01:10 +0000)]
Merge "Suppress search from one of the build number prefs."

5 years agoMerge "Update battery string"
TreeHugger Robot [Wed, 13 Mar 2019 00:32:38 +0000 (00:32 +0000)]
Merge "Update battery string"

5 years agoMerge "Revert battery info string to be about percentage"
TreeHugger Robot [Wed, 13 Mar 2019 00:16:47 +0000 (00:16 +0000)]
Merge "Revert battery info string to be about percentage"

5 years agoMerge "Move dark theme above advanced"
TreeHugger Robot [Wed, 13 Mar 2019 00:01:07 +0000 (00:01 +0000)]
Merge "Move dark theme above advanced"

5 years agoMerge "Fix robotests"
Fan Zhang [Tue, 12 Mar 2019 23:51:32 +0000 (23:51 +0000)]
Merge "Fix robotests"

5 years agoFix robotests
Fan Zhang [Tue, 12 Mar 2019 18:00:09 +0000 (11:00 -0700)]
Fix robotests

This is related to settings_network_and_internet_v2 flag turn on. Some
tests were assuming old flag behavior.

Fixes: 128356137
Test: robotests
Change-Id: I4eca49f24ad5a10a0fb40f2c02a2d139ba4cb1a4

5 years agoRefactor CustomSliceManager.
Fan Zhang [Tue, 12 Mar 2019 22:46:12 +0000 (15:46 -0700)]
Refactor CustomSliceManager.

- Make everything that can be static, static.
- Also removed a unused slice for battery info.

Next step - going to make CustomSliceManager into a regular class
instead of getting it from FeatureProvider. This way it's no longer an
application level singleton, then we can do things like attaching
lifecycle to it. It will be easier to deal with "session" based use case
after the refactor

Bug: 123937830
Test: manual
Change-Id: I384761a6894fa907f72a3610437835c4dd4d1944

5 years agoRemove unneeded airplane mode strings
Salvador Martinez [Tue, 12 Mar 2019 19:59:29 +0000 (12:59 -0700)]
Remove unneeded airplane mode strings

Wifi tether doesn't care about airplane more anymore so we don't
need these.

Test: robotests pass
Bug: 111681176
Change-Id: Icf2cc8c944dc9e2c6f7bdf11478a2772292ea913

5 years ago[automerger skipped] Merge "Add description for Wi-Fi calling mode" am: 13e02af2ad...
Hall Liu [Tue, 12 Mar 2019 23:15:34 +0000 (16:15 -0700)]
[automerger skipped] Merge "Add description for Wi-Fi calling mode" am: 13e02af2ad am: a10d7031c3
am: 6e28351779 -s ours
am skip reason: change_id If9792b0a35c59c1260176b4b2c62107861de73b5 with SHA1 c449048ac1 is in history

Change-Id: Ibfeb4b2bf490ce272de8559e9f08c70d4322c73b

5 years agoSuppress search from one of the build number prefs.
Fan Zhang [Tue, 12 Mar 2019 19:50:20 +0000 (12:50 -0700)]
Suppress search from one of the build number prefs.

And make the search-enabled one copyable.

Fixes: 127962713
Test: search
Change-Id: I0867ea8a376e3aac5e94cd70245833b516bb154d

5 years agoMerge "Add description for Wi-Fi calling mode" am: 13e02af2ad
Hall Liu [Tue, 12 Mar 2019 22:52:22 +0000 (15:52 -0700)]
Merge "Add description for Wi-Fi calling mode" am: 13e02af2ad
am: a10d7031c3

Change-Id: I18deb6cc090f077ed6d49decdadf7d642075ec5a

5 years agoMerge "Hide network & internet top level entry for demo users."
TreeHugger Robot [Tue, 12 Mar 2019 22:10:39 +0000 (22:10 +0000)]
Merge "Hide network & internet top level entry for demo users."

5 years agoRevert battery info string to be about percentage
Salvador Martinez [Mon, 11 Mar 2019 22:15:45 +0000 (15:15 -0700)]
Revert battery info string to be about percentage

This was originally going to do something new, but we decided
it should just control percentage in the status bar after all.

Test: robotests pass
Bug: 127518748
Change-Id: I073a19c27de43cba35031f073c2e606b483a69fd

5 years agoUpdate battery string
jackqdyulei [Tue, 12 Mar 2019 21:24:35 +0000 (14:24 -0700)]
Update battery string

Fixes: 128318092
Test: Build
Change-Id: Ib38a3f84c6029e84b2a189fb5cffc0ea9cac33d6

5 years agoMerge "Add description for Wi-Fi calling mode"
Hall Liu [Tue, 12 Mar 2019 21:06:12 +0000 (14:06 -0700)]
Merge "Add description for Wi-Fi calling mode"
am: 13e02af2ad

Change-Id: Iff0a3e6f814a8fbd7b3910589c5e712cd9dc9b26

5 years agoMerge "Add description for Wi-Fi calling mode"
Hall Liu [Tue, 12 Mar 2019 20:49:21 +0000 (20:49 +0000)]
Merge "Add description for Wi-Fi calling mode"

5 years agoHide network & internet top level entry for demo users.
Fan Zhang [Tue, 12 Mar 2019 18:13:03 +0000 (11:13 -0700)]
Hide network & internet top level entry for demo users.

Fixes: 113705941
Test: robotest
Change-Id: I72fdc4c7221963ae61e037c709b5158c207bd3e4

5 years agoMerge "Remove airplane mode restriction on hotspot"
Salvador Martinez [Tue, 12 Mar 2019 18:27:36 +0000 (18:27 +0000)]
Merge "Remove airplane mode restriction on hotspot"

5 years agoMerge "Update screen lock complexity permission to password complexity"
TreeHugger Robot [Tue, 12 Mar 2019 16:22:11 +0000 (16:22 +0000)]
Merge "Update screen lock complexity permission to password complexity"

5 years ago[Multi-user] Show Backup only if Backup is activated
Chandan Nath [Tue, 12 Mar 2019 10:52:53 +0000 (10:52 +0000)]
[Multi-user] Show Backup only if Backup is activated

This almost reverts the change to SettingsActivity#doUpdateTilesList in ag/6140694
except that instead of setting enabled to true, we set it to whether
backup is activated for this user.

Bug: 124114084

Test: 1a) Set up secondary user
1b) See that there is no Backup option in Settings Homepage - System
1c) adb shell bmgr --user 10 activate true
1d) Backup option is now present
1e) adb shell bmgr --user 10 activate false
1f) Backup option isnt there again

Change-Id: I3f17aabee92bedc91386444c2f0aede696d0fd13

5 years agoSound + Output Switcher on Sound Setting
timhypeng [Mon, 4 Mar 2019 08:32:47 +0000 (16:32 +0800)]
Sound + Output Switcher on Sound Setting

1. Show "play media to" item when Previously Connected device is available
2. Click "Play media to" to launch output slice
3. Update test case

Bug: 126475101
Test: make -j50 RunSettingsRoboTests
Change-Id: Id8afd1a2407acb78c11e81d2420ae8c16130a321

5 years agoMerge "Update output switcher behavior and UI design"
TreeHugger Robot [Tue, 12 Mar 2019 02:50:02 +0000 (02:50 +0000)]
Merge "Update output switcher behavior and UI design"

5 years agoAdd description for Wi-Fi calling mode
Kazuya Ohshiro [Mon, 29 Aug 2016 09:29:35 +0000 (18:29 +0900)]
Add description for Wi-Fi calling mode

Replace the view of dialog with custom view that adds description
as summary.

Test: manual
Bug: 34793636
Change-Id: If9792b0a35c59c1260176b4b2c62107861de73b5
Merged-In: If9792b0a35c59c1260176b4b2c62107861de73b5

5 years agoMerge "Add description for Wi-Fi calling mode"
Hall Liu [Tue, 12 Mar 2019 01:40:43 +0000 (01:40 +0000)]
Merge "Add description for Wi-Fi calling mode"

5 years agoMerge "Revert "Disable Moblie Data Slice in AP mode""
TreeHugger Robot [Tue, 12 Mar 2019 01:37:54 +0000 (01:37 +0000)]
Merge "Revert "Disable Moblie Data Slice in AP mode""