OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "docs: fixed broken link" into pi-dev am: e07aeea926
Laura Davis [Mon, 25 Jun 2018 21:47:56 +0000 (14:47 -0700)]
Merge "docs: fixed broken link" into pi-dev am: e07aeea926
am: d3f3a2354a

Change-Id: I410789175ec49489bb60ca36c7ebb87e5090ccdc

6 years agoMerge "docs: fixed broken link" into pi-dev
Laura Davis [Mon, 25 Jun 2018 21:37:54 +0000 (14:37 -0700)]
Merge "docs: fixed broken link" into pi-dev
am: e07aeea926

Change-Id: I02ad0efff278079682ff7eb63c06d0bf17be8ca1

6 years agoMerge "docs: fixed broken link" into pi-dev
Laura Davis [Mon, 25 Jun 2018 21:27:48 +0000 (21:27 +0000)]
Merge "docs: fixed broken link" into pi-dev

6 years agoMerge "Dump ZenModeControllerImpl for debugging purposes."
TreeHugger Robot [Mon, 25 Jun 2018 21:24:41 +0000 (21:24 +0000)]
Merge "Dump ZenModeControllerImpl for debugging purposes."

6 years agoMerge "Use correct validator for SELECTED_SPELL_CHECKER_SUBTYPE"
TreeHugger Robot [Mon, 25 Jun 2018 21:15:54 +0000 (21:15 +0000)]
Merge "Use correct validator for SELECTED_SPELL_CHECKER_SUBTYPE"

6 years agoMerge "docs: fixed typo in deprecation message" into pi-dev am: 0dabb070b8
Laura Davis [Mon, 25 Jun 2018 21:09:51 +0000 (14:09 -0700)]
Merge "docs: fixed typo in deprecation message" into pi-dev am: 0dabb070b8
am: 9a1acef1e7

Change-Id: I5926a7a19e08b540bf4a8a2db1cb86c2fbe2072f

6 years agoMerge "docs: fixed typo in deprecation message" into pi-dev
Laura Davis [Mon, 25 Jun 2018 21:03:32 +0000 (14:03 -0700)]
Merge "docs: fixed typo in deprecation message" into pi-dev
am: 0dabb070b8

Change-Id: I74d4d900bd4b978791a1ca5c30b6f17fb3cb700b

6 years agoMerge "Quick scrub has gradient follow user drag" into pi-dev am: 5f5c6e993f
Matthew Ng [Mon, 25 Jun 2018 21:03:00 +0000 (14:03 -0700)]
Merge "Quick scrub has gradient follow user drag" into pi-dev am: 5f5c6e993f
am: d60292d292

Change-Id: I57cf675a23fb4b0dae376859f4ceddb8f252405c

6 years agoMerge "Quick scrub has gradient follow user drag" into pi-dev
Matthew Ng [Mon, 25 Jun 2018 20:54:19 +0000 (13:54 -0700)]
Merge "Quick scrub has gradient follow user drag" into pi-dev
am: 5f5c6e993f

Change-Id: I173202bab30b6b8b5c45d1841a5070cb0d282a04

6 years agoMerge "docs: fixed typo in deprecation message" into pi-dev
Laura Davis [Mon, 25 Jun 2018 20:46:59 +0000 (20:46 +0000)]
Merge "docs: fixed typo in deprecation message" into pi-dev

6 years agoMerge "Quick scrub has gradient follow user drag" into pi-dev
TreeHugger Robot [Mon, 25 Jun 2018 20:39:46 +0000 (20:39 +0000)]
Merge "Quick scrub has gradient follow user drag" into pi-dev

6 years agoMerge "docs: fixed broken link" into pi-dev am: 0f949c4f9c
Laura Davis [Mon, 25 Jun 2018 20:29:52 +0000 (13:29 -0700)]
Merge "docs: fixed broken link" into pi-dev am: 0f949c4f9c
am: c52a161253

Change-Id: I26c4ad4c02ffcd6f7eed37d23bfa5b227a313b87

6 years agoMerge "docs: fixed broken link" into pi-dev
Laura Davis [Mon, 25 Jun 2018 20:21:41 +0000 (13:21 -0700)]
Merge "docs: fixed broken link" into pi-dev
am: 0f949c4f9c

Change-Id: I77ef449243f094477d009cb94a595e5fb8624ef0

6 years agoMerge "docs: fixed broken link" into pi-dev
Laura Davis [Mon, 25 Jun 2018 20:09:17 +0000 (20:09 +0000)]
Merge "docs: fixed broken link" into pi-dev

6 years agoMerge "Update WebView#clearClientCertPreferences docs."
TreeHugger Robot [Mon, 25 Jun 2018 19:23:24 +0000 (19:23 +0000)]
Merge "Update WebView#clearClientCertPreferences docs."

6 years agoMerge "Merge "Fix Possible Deadlock with getFeatureState" am: 6bebb8418c am: 057f582e...
Android Build Merger (Role) [Mon, 25 Jun 2018 19:05:33 +0000 (19:05 +0000)]
Merge "Merge "Fix Possible Deadlock with getFeatureState" am: 6bebb8418c am: 057f582e09 am: 9296dcff69"

6 years agoMerge "Fix Possible Deadlock with getFeatureState" am: 6bebb8418c am: 057f582e09
Brad Ebinger [Mon, 25 Jun 2018 19:05:12 +0000 (12:05 -0700)]
Merge "Fix Possible Deadlock with getFeatureState" am: 6bebb8418c am: 057f582e09
am: 9296dcff69

Change-Id: I22b387d5437ec62d8ba0d6ca869e86772fc44efb

6 years agoMerge "Request layout if visiblity (thus, size) changes"
TreeHugger Robot [Mon, 25 Jun 2018 19:02:24 +0000 (19:02 +0000)]
Merge "Request layout if visiblity (thus, size) changes"

6 years agoMerge "Fix Possible Deadlock with getFeatureState" am: 6bebb8418c
Brad Ebinger [Mon, 25 Jun 2018 18:53:41 +0000 (11:53 -0700)]
Merge "Fix Possible Deadlock with getFeatureState" am: 6bebb8418c
am: 057f582e09

Change-Id: I3cb9d6457c0348739e57802099c51b0308bbe05d

6 years agoRestore separate challenge state on error am: f10ae7e731
Pavel Grafov [Mon, 25 Jun 2018 18:53:13 +0000 (11:53 -0700)]
Restore separate challenge state on error am: f10ae7e731
am: 1ed95cb085

Change-Id: I28a6f5f4a05b64ad5a7cf2cda486e84a9a7503e7

6 years agoMerge "Minimum viable TimeZoneDetectorService"
Neil Fuller [Mon, 25 Jun 2018 18:47:39 +0000 (18:47 +0000)]
Merge "Minimum viable TimeZoneDetectorService"

6 years agoMerge "Fix Possible Deadlock with getFeatureState"
Brad Ebinger [Mon, 25 Jun 2018 18:45:32 +0000 (11:45 -0700)]
Merge "Fix Possible Deadlock with getFeatureState"
am: 6bebb8418c

Change-Id: I675c116e54d961971d4a32f87dd247cca51b5069

6 years agoRestore separate challenge state on error
Pavel Grafov [Mon, 25 Jun 2018 18:45:17 +0000 (11:45 -0700)]
Restore separate challenge state on error
am: f10ae7e731

Change-Id: I70957dae31bbe98f8286d9c96bccd002f0acdf01

6 years agoMerge "Handle tri-state location permission."
TreeHugger Robot [Mon, 25 Jun 2018 18:41:07 +0000 (18:41 +0000)]
Merge "Handle tri-state location permission."

6 years agoDump ZenModeControllerImpl for debugging purposes.
Amin Shaikh [Mon, 25 Jun 2018 17:53:35 +0000 (13:53 -0400)]
Dump ZenModeControllerImpl for debugging purposes.

Bug: 110480955
Test: manual
Change-Id: I5164da3099e682c08f90d713afb60b1e892abecd

6 years agoUse correct validator for SELECTED_SPELL_CHECKER_SUBTYPE
Yohei Yukawa [Mon, 25 Jun 2018 18:35:19 +0000 (11:35 -0700)]
Use correct validator for SELECTED_SPELL_CHECKER_SUBTYPE

This CL fixes a bug that COMPONENT_NAME_VALIDATOR is mistakenly used
for SELECTED_SPELL_CHECKER_SUBTYPE secure settings due to a comment
bug.  ANY_INTEGER_VALIDATOR should be used instead because it stores
the hashcode of SpellCheckerSubtype.

This CL also addresses the comment bug, which caused this issue.

Fix: 110363012
Test: atest FrameworksCoreTests:android.provider.SettingsBackupTest
Test: atest FrameworksCoreTests:android.provider.SettingsValidatorsTest
Test: manually verified as follows
 1. In a source device, complete the setup wizard (without restoring
    the previous settings) then run 'adb shell bmgr backupnow --all'
 2. In a destination device, restore settings by choosing the option
    from a cloud backup.
 3. Check logcat. Make sure that the following message is not shown.
      SettingsBackupAgent: Attempted restore of selected_spell_checker_subtype setting, but its value didn't pass validation, value: 0
Test: manually verified as follows
 1. In a source device
  1.1. complete the setup wizard without restoring the previous
       settings
  1.2. Open Settings -> System -> Languages & input -> Advanced
       -> Spell checker -> Languages
  1.3. Select 'French'
  1.4. adb shell settings get secure selected_spell_checker_subtype
       -> Make sure it shows '102517'
  1.5. adb shell bmgr backupnow --all
 2. In a destination device
  2.1. Restore settings by choosing the option from a cloud backup.
  2.2. adb shell settings get secure selected_spell_checker_subtype
       -> Make sure it shows '102517'
Change-Id: I560395a2ccd5bcf1bf7446123b892b23ab14f9f5

6 years agoQuick scrub has gradient follow user drag
Matthew Ng [Tue, 12 Jun 2018 23:42:11 +0000 (16:42 -0700)]
Quick scrub has gradient follow user drag

Removed the track drawable and draws a gradient translated to the
position of the drag of the user as the track's background.

Test: quickscrub
Change-Id: Iee893e5f96f4954c77307c5ff9b762a04bd7de9a
Fixes: 109882517

6 years agoMerge "Fix Possible Deadlock with getFeatureState"
Brad Ebinger [Mon, 25 Jun 2018 17:30:02 +0000 (17:30 +0000)]
Merge "Fix Possible Deadlock with getFeatureState"

6 years agoMerge "Add a metadata to control whether an external intent should be opened in the...
TreeHugger Robot [Mon, 25 Jun 2018 16:18:52 +0000 (16:18 +0000)]
Merge "Add a metadata to control whether an external intent should be opened in the personal profile when in a managed profile."

6 years agoMerge "AAPT2: Fix unrecognized CDATA"
Ryan Mitchell [Mon, 25 Jun 2018 16:10:59 +0000 (16:10 +0000)]
Merge "AAPT2: Fix unrecognized CDATA"

6 years agoRequest layout if visiblity (thus, size) changes
Evan Laird [Thu, 21 Jun 2018 18:07:10 +0000 (14:07 -0400)]
Request layout if visiblity (thus, size) changes

When wifi or mobile icons update state, they sometimes decide to show /
hide themselves or subviews. When this happens, they need to call
requestLayout() so that StatusIconContainer puts them in the right spot.

Also always center the wifi/mobile icons.

Bug: 110286625
Test: enter demo mode, show wifi and lte, hide lte, show lte -> there
should be no overlapping

Change-Id: Iad49783ac119d9994f4378f5b98f1a5b18f80c5d

6 years ago[automerger skipped] Merge "Prefer default Internet network for upstream tethering...
Erik Kline [Mon, 25 Jun 2018 13:42:52 +0000 (06:42 -0700)]
[automerger skipped] Merge "Prefer default Internet network for upstream tethering." am: 3580a6a996 am: fc1bde9261  -s ours
am: 0226df643a  -s ours

Change-Id: I1f4073a66609448766af3fc32a629f0d2f919cf4

6 years ago[automerger skipped] Merge "Prefer default Internet network for upstream tethering...
Erik Kline [Mon, 25 Jun 2018 13:33:21 +0000 (06:33 -0700)]
[automerger skipped] Merge "Prefer default Internet network for upstream tethering." am: 3580a6a996
am: fc1bde9261  -s ours

Change-Id: I965178ec99083dcd907841b4959e456f6d492516

6 years agoMerge "Prefer default Internet network for upstream tethering."
Erik Kline [Mon, 25 Jun 2018 13:24:22 +0000 (06:24 -0700)]
Merge "Prefer default Internet network for upstream tethering."
am: 3580a6a996

Change-Id: I0990d077627aed71b03e7aa40a8acc460448a774

6 years agoAdd a metadata to control whether an external intent should be opened in
arangelov [Wed, 30 May 2018 17:24:23 +0000 (18:24 +0100)]
Add a metadata to control whether an external intent should be opened in
the personal profile when in a managed profile.

This change introduces the com.android.settings.profile metadata with possible values "primary_profile_only" and "all_profiles" (the default value when not specified). If an application declares this metadata with a value of "primary_profile_only", in a work profile the ProfileSelectDialog is never shown and the application is opened straight in the personal profile. If an application specifies a value of "all_profiles" or does not specify anything, the ProfileSelectDialog is shown to the user.

Test: atest frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/TileTest.java
Bug: 79868199
Change-Id: I82860307e5745f4c7044980225114efcdcf0c90f

6 years agoMerge "Prefer default Internet network for upstream tethering."
Treehugger Robot [Mon, 25 Jun 2018 12:08:46 +0000 (12:08 +0000)]
Merge "Prefer default Internet network for upstream tethering."

6 years agoRestore separate challenge state on error
Pavel Grafov [Mon, 25 Jun 2018 11:13:38 +0000 (12:13 +0100)]
Restore separate challenge state on error

Otherwise if something goes wrong when tying the profile to the primary
user, challenge will remain in inconsistent state and the user won't
be able to unlock the profile.

Bug: 110262879
Test: manual, unified both compliant and uncompliant challenge.
Change-Id: I2bea3867541f43cbabd5cabbe8a0f61acc2602ca

6 years agoPrefer default Internet network for upstream tethering.
Erik Kline [Thu, 14 Jun 2018 08:36:40 +0000 (17:36 +0900)]
Prefer default Internet network for upstream tethering.

Rather than use the crufty config.xml list of upstream transport types,
use ConnectivityService's notion of the default network for the upstream.
In cases where a DUN network is required and the default network is
currently a mobile network, look for a DUN network (code in Tethering
is currently responsible for requesting one).

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net
    - tethered via mobile, joined captive portal network, maintained
      laptop access via mobile until captive passed (then used wifi)
    - disabled client mode wifi, disabled mobile data, plugged in
      ethernet adapter, observed connectivity via ethernet
Bug: 32163131
Bug: 62648872
Bug: 63282480
Bug: 109786760
Bug: 110118584
Bug: 110260419
Merged-In: I9cddf1fb7aa3b8d56bf048c563556244e74808c2
Merged-In: Icac3e5e20e99093ddb85aae1ca07ed7b5cf309fd
Change-Id: I925b75994e31df8046f3ef9916a2457b4210485e
(cherry picked from commit 4080a1bd15572caf149762e45c958627feceb74d)

6 years ago[automerger skipped] Merge "Conserve expansion after re-inflation" into pi-dev am...
Lucas Dupin [Sat, 23 Jun 2018 08:43:44 +0000 (01:43 -0700)]
[automerger skipped] Merge "Conserve expansion after re-inflation" into pi-dev am: 0eb2be3a67
am: bd037eaedd  -s ours

Change-Id: I4a3745dfbfb64f34215ad889916dbef9ee1a929e

6 years agoMerge "Conserve expansion after re-inflation" into pi-dev
Lucas Dupin [Sat, 23 Jun 2018 08:17:10 +0000 (01:17 -0700)]
Merge "Conserve expansion after re-inflation" into pi-dev
am: 0eb2be3a67

Change-Id: I44f868df5cafeac3bef09586403cf955bad1e581

6 years agoMerge "Conserve expansion after re-inflation" into pi-dev
TreeHugger Robot [Sat, 23 Jun 2018 08:05:06 +0000 (08:05 +0000)]
Merge "Conserve expansion after re-inflation" into pi-dev

6 years agoMerge "Introduced WindowProcessController/Listener (10/n)"
TreeHugger Robot [Sat, 23 Jun 2018 05:52:22 +0000 (05:52 +0000)]
Merge "Introduced WindowProcessController/Listener (10/n)"

6 years agoMerge "Notify new IME target before IME starts interacting"
TreeHugger Robot [Sat, 23 Jun 2018 03:03:20 +0000 (03:03 +0000)]
Merge "Notify new IME target before IME starts interacting"

6 years agoConserve expansion after re-inflation
Lucas Dupin [Thu, 21 Jun 2018 18:41:34 +0000 (11:41 -0700)]
Conserve expansion after re-inflation

We were updating most of the PhoneStatusBarView state during
re-inflation but not the expansion and its fraction.

Test: Pull down shade, run: adb shell service call overlay 4 s16 "com.android.systemui.theme.dark" i32 1 i32 0
Test: Switch to guest user, switch back
Test: Reboot, look at status bar
Change-Id: I41669fb32419ad02a11586ba248a68b47d450413
Merged-In: I41669fb32419ad02a11586ba248a68b47d450413
Fixes: 110530608
Fixes: 110147405
Fixes: 79122419

6 years agoNotify new IME target before IME starts interacting
Yohei Yukawa [Sat, 23 Jun 2018 00:33:19 +0000 (17:33 -0700)]
Notify new IME target before IME starts interacting

Previously, there was a time window between when an IME starts new
input and when the IME issues an IPC IMM#setImeWindowStatus() so that
WindowManagerService (WMS) can be notified about the new IME target
window.

With this CL, it is now guaranteed that WindowManagerService (WMS) is
always notified about the new IME target window before IME starts
interacting with that window.

Note that WMS is not using notified IME target window yet hence there
should be no user-visible behavior change.

Bug: 110531072
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: I032b91ce722a16b17518a5d88015c574d7d3e51b

6 years agoMerge "Camera: Update surface sharing format restrictions" into pi-dev am: a749cd584e
Emilian Peev [Sat, 23 Jun 2018 00:31:37 +0000 (17:31 -0700)]
Merge "Camera: Update surface sharing format restrictions" into pi-dev am: a749cd584e
am: 8544a07eac

Change-Id: I4da1d84141de7fa5974ff7594318bfa237b7850c

6 years agoMerge "Camera: Update surface sharing format restrictions" into pi-dev
Emilian Peev [Sat, 23 Jun 2018 00:22:01 +0000 (17:22 -0700)]
Merge "Camera: Update surface sharing format restrictions" into pi-dev
am: a749cd584e

Change-Id: I501835fdbc828564c0a06157c970853ed142896a

6 years agoMerge "Camera: Update surface sharing format restrictions" into pi-dev
TreeHugger Robot [Sat, 23 Jun 2018 00:11:04 +0000 (00:11 +0000)]
Merge "Camera: Update surface sharing format restrictions" into pi-dev

6 years agoMerge "Make setPrivacy not a hidden api"
TreeHugger Robot [Fri, 22 Jun 2018 23:49:02 +0000 (23:49 +0000)]
Merge "Make setPrivacy not a hidden api"

6 years agoMerge "support privilege access rule for carrier identification"
Chen Xu [Fri, 22 Jun 2018 23:48:29 +0000 (23:48 +0000)]
Merge "support privilege access rule for carrier identification"

6 years agoFix Possible Deadlock with getFeatureState
Brad Ebinger [Thu, 21 Jun 2018 17:18:21 +0000 (10:18 -0700)]
Fix Possible Deadlock with getFeatureState

Use the ImsFeature lock for concurrency in MmTelFeature
instead of declaring its own lock.

Also, fixed up some other concurrency code.

Bug: 110507525
Test: Manual, Telephony Unit Tests
Change-Id: I5a7ef1beca619873a7c228bed0e1b82843d4de63

6 years agoMerge "docs: Edited UNINSTALL_SHORTCUT permission desc." into pi-dev am: d2aadbfd93
Kevin Hufnagle [Fri, 22 Jun 2018 23:06:35 +0000 (16:06 -0700)]
Merge "docs: Edited UNINSTALL_SHORTCUT permission desc." into pi-dev am: d2aadbfd93
am: b00ca4b456

Change-Id: Ib1955875d74adf64b1a4e353c7521aa071476cda

6 years agoMerge "Split fork and specialize in zygote"
David Sehr [Fri, 22 Jun 2018 23:00:52 +0000 (23:00 +0000)]
Merge "Split fork and specialize in zygote"

6 years agoMerge "Fix uris coming into SliceManager.getPinnedSpecs"
TreeHugger Robot [Fri, 22 Jun 2018 23:00:31 +0000 (23:00 +0000)]
Merge "Fix uris coming into SliceManager.getPinnedSpecs"

6 years agoMerge "docs: Edited UNINSTALL_SHORTCUT permission desc." into pi-dev
Kevin Hufnagle [Fri, 22 Jun 2018 22:50:04 +0000 (15:50 -0700)]
Merge "docs: Edited UNINSTALL_SHORTCUT permission desc." into pi-dev
am: d2aadbfd93

Change-Id: I38378cf68c2ab2e16fdc35504b44114e6648de42

6 years agodocs: fixed typo in deprecation message
Laura Davis [Mon, 11 Jun 2018 17:33:17 +0000 (10:33 -0700)]
docs: fixed typo in deprecation message

Test: make ds-docs

Bug: 68303139
Change-Id: I7fc9f35bc118f8b661740a46f52d62beea1e67f1

6 years agoMerge "Conserve expansion after re-inflation"
TreeHugger Robot [Fri, 22 Jun 2018 22:10:21 +0000 (22:10 +0000)]
Merge "Conserve expansion after re-inflation"

6 years agoMerge "docs: Edited UNINSTALL_SHORTCUT permission desc." into pi-dev
Kevin Hufnagle [Fri, 22 Jun 2018 21:58:38 +0000 (21:58 +0000)]
Merge "docs: Edited UNINSTALL_SHORTCUT permission desc." into pi-dev

6 years agoMerge "Fixed an issue where the shelf was not rounded during the expansion"
TreeHugger Robot [Fri, 22 Jun 2018 21:43:19 +0000 (21:43 +0000)]
Merge "Fixed an issue where the shelf was not rounded during the expansion"

6 years agoMerge "Fix status icon animations"
TreeHugger Robot [Fri, 22 Jun 2018 21:28:15 +0000 (21:28 +0000)]
Merge "Fix status icon animations"

6 years agoIntroduced WindowProcessController/Listener (10/n)
Wale Ogunwale [Thu, 17 May 2018 16:35:39 +0000 (09:35 -0700)]
Introduced WindowProcessController/Listener (10/n)

One heavy dependence between the current AMS service and activities
is process management which is heavy affected by activities and their
current state. We introduce WindowProcessController and WindowProcessListener
objects as a structured way for the process changes in AM package to
be communicated to the WM package and WindowProcessListner for activity
changes in the WM package to the communicated back to the AM package.
The ProcessRecord object in AM will own the WindowProcessController object
and also implement the WindowProcessListener.

Test: Existing tests pass
Test: go/wm-smoke-auto
Bug: 80414790
Change-Id: I9e96e841b0f95e99a597cb4629fa5d2fe45760b6

6 years agoHandle tri-state location permission.
Wei Wang [Thu, 21 Jun 2018 18:29:40 +0000 (11:29 -0700)]
Handle tri-state location permission.

Use noteOp instead of checkOp as checkOp doesn't consider
background status.

Watch location permission changes caused by background status.

Restrict age of last location for foreground-only apps.

Bug: 80318398
Test: Manual
Change-Id: I3499d4150478b6f501966953f8e4a08169f3557c

6 years agoMake setPrivacy not a hidden api
Yi Jin [Sat, 16 Jun 2018 00:25:32 +0000 (17:25 -0700)]
Make setPrivacy not a hidden api

Bug: 110710413
Test: N/A
Change-Id: Iae8dda7f2295e3080c042398516838d84bd5d5be

6 years agoAAPT2: Fix unrecognized CDATA
Ryan Mitchell [Tue, 5 Jun 2018 17:15:04 +0000 (10:15 -0700)]
AAPT2: Fix unrecognized CDATA

This change adds support for resources that have CDATA blocks within
their values. The blocks should allow any character to occur without
being escaped. It also should not effect the current state of quote
processing.

Bug: 80326349
Test: Created tests in aapt2_tests
Change-Id: Ie1a00e50cffc877e2eb5f788f8d7a1bda839c0cf

6 years agoMerge "Nit: PackageManagerService"
TreeHugger Robot [Fri, 22 Jun 2018 20:29:38 +0000 (20:29 +0000)]
Merge "Nit: PackageManagerService"

6 years agoMerge "Remove sentiment reason"
TreeHugger Robot [Fri, 22 Jun 2018 20:06:45 +0000 (20:06 +0000)]
Merge "Remove sentiment reason"

6 years agoFix uris coming into SliceManager.getPinnedSpecs
Jason Monk [Fri, 22 Jun 2018 20:01:55 +0000 (16:01 -0400)]
Fix uris coming into SliceManager.getPinnedSpecs

Test: Added a test
Bug: 110699668
Change-Id: I8c4c377babba4b44484096e5456184dd364350c8

6 years agoMerge "Remove unused member in VulkanManager."
TreeHugger Robot [Fri, 22 Jun 2018 19:58:21 +0000 (19:58 +0000)]
Merge "Remove unused member in VulkanManager."

6 years agoMerge "Allow quickscrub after deadzone consumes touch" into pi-dev am: 95b7c25a58
Matthew Ng [Fri, 22 Jun 2018 19:47:09 +0000 (12:47 -0700)]
Merge "Allow quickscrub after deadzone consumes touch" into pi-dev am: 95b7c25a58
am: 1622ea15fe

Change-Id: I509cc0c6079b146da78ac607d3edb437f4812dd1

6 years agoMerge "Allow quickscrub after deadzone consumes touch" into pi-dev
Matthew Ng [Fri, 22 Jun 2018 19:36:26 +0000 (12:36 -0700)]
Merge "Allow quickscrub after deadzone consumes touch" into pi-dev
am: 95b7c25a58

Change-Id: Id2e3d7e859a47936a63ebb5875bda69fbb64c816

6 years agoConserve expansion after re-inflation
Lucas Dupin [Thu, 21 Jun 2018 18:41:34 +0000 (11:41 -0700)]
Conserve expansion after re-inflation

We were updating most of the PhoneStatusBarView state during
re-inflation but not the expansion and its fraction.

Test: Pull down shade, run: adb shell service call overlay 4 s16 "com.android.systemui.theme.dark" i32 1 i32 0
Test: Switch to guest user, switch back
Test: Reboot, look at status bar
Change-Id: I41669fb32419ad02a11586ba248a68b47d450413
Fixes: 110530608
Fixes: 110147405
Fixes: 79122419

6 years agoMerge "Allow quickscrub after deadzone consumes touch" into pi-dev
TreeHugger Robot [Fri, 22 Jun 2018 19:24:08 +0000 (19:24 +0000)]
Merge "Allow quickscrub after deadzone consumes touch" into pi-dev

6 years agoMerge "Skip updating stack config if it is detached from a display" into pi-dev am...
Andrii Kulian [Fri, 22 Jun 2018 19:00:28 +0000 (12:00 -0700)]
Merge "Skip updating stack config if it is detached from a display" into pi-dev am: 3a09ade4d1
am: e36941d4c5

Change-Id: I94b9ae9f9959d27cf420158214f282904362d473

6 years agoMerge "Skip updating stack config if it is detached from a display" into pi-dev
Andrii Kulian [Fri, 22 Jun 2018 18:48:11 +0000 (11:48 -0700)]
Merge "Skip updating stack config if it is detached from a display" into pi-dev
am: 3a09ade4d1

Change-Id: Iad7554e7b893563a23a0adb2a4174199ea55beb2

6 years agoMerge changes from topic "biometrics-face"
TreeHugger Robot [Fri, 22 Jun 2018 18:44:27 +0000 (18:44 +0000)]
Merge changes from topic "biometrics-face"

* changes:
  5/n: Move FaceService to biometrics directory
  4/n: Add face authentication framework

6 years agoMerge "SettingsBackupAgent: notify of apBand conversion" into pi-dev am: cbf554b78b
Rebecca Silberstein [Fri, 22 Jun 2018 18:34:55 +0000 (11:34 -0700)]
Merge "SettingsBackupAgent: notify of apBand conversion" into pi-dev am: cbf554b78b
am: 5f5f4788f1

Change-Id: I8a260e47661912420c20634c390aef288afaf92b

6 years agoMerge "SettingsBackupAgent: notify of apBand conversion" into pi-dev
Rebecca Silberstein [Fri, 22 Jun 2018 18:26:10 +0000 (11:26 -0700)]
Merge "SettingsBackupAgent: notify of apBand conversion" into pi-dev
am: cbf554b78b

Change-Id: I7f717d4d6d8a836fc86d67cc453a464830865508

6 years agoSplit fork and specialize in zygote
David Sehr [Fri, 22 Jun 2018 17:45:36 +0000 (10:45 -0700)]
Split fork and specialize in zygote

Separate the portions of the zygote jni library that perform forking
from specialization into system_server or app process.  This is a small
step towards separating forking into a pre-launch activity, possibly
with a pool of pre-application processes.

Bug: 68253328
Test: boot and run
Change-Id: I6ce694d9a69bf7d10cf61cd39989091ee9cabd37

6 years agoMerge "Skip updating stack config if it is detached from a display" into pi-dev
Andrii Kulian [Fri, 22 Jun 2018 18:14:25 +0000 (18:14 +0000)]
Merge "Skip updating stack config if it is detached from a display" into pi-dev

6 years agoMerge "Get WallpaperInfo for current user"
TreeHugger Robot [Fri, 22 Jun 2018 18:14:19 +0000 (18:14 +0000)]
Merge "Get WallpaperInfo for current user"

6 years agoMerge "SettingsBackupAgent: notify of apBand conversion" into pi-dev
TreeHugger Robot [Fri, 22 Jun 2018 17:52:26 +0000 (17:52 +0000)]
Merge "SettingsBackupAgent: notify of apBand conversion" into pi-dev

6 years agoMerge "Do not announce selected state for QS tiles." into pi-dev am: bd62416618
Amin Shaikh [Fri, 22 Jun 2018 17:33:17 +0000 (10:33 -0700)]
Merge "Do not announce selected state for QS tiles." into pi-dev am: bd62416618
am: e6fb6d5ae6

Change-Id: I3ab94f400cb9c38e6083075f9da2d07e5a40273c

6 years agoMerge "Do not announce selected state for QS tiles." into pi-dev
Amin Shaikh [Fri, 22 Jun 2018 17:23:46 +0000 (10:23 -0700)]
Merge "Do not announce selected state for QS tiles." into pi-dev
am: bd62416618

Change-Id: I5336f81eed377c9d3dfe5932f91fe97a3f91108a

6 years agoMerge "Do not announce selected state for QS tiles." into pi-dev
TreeHugger Robot [Fri, 22 Jun 2018 17:12:54 +0000 (17:12 +0000)]
Merge "Do not announce selected state for QS tiles." into pi-dev

6 years agoMerge "Improve backup and restore for empty sounds"
TreeHugger Robot [Fri, 22 Jun 2018 17:03:14 +0000 (17:03 +0000)]
Merge "Improve backup and restore for empty sounds"

6 years agoNit: PackageManagerService
Patrick Baumann [Wed, 13 Jun 2018 22:21:55 +0000 (15:21 -0700)]
Nit: PackageManagerService

This change makes no functional changes. Instead it removes some dead
code and makes use of a few "modern" language features to improve
readability. tl;dr: There are fewer intellij squigglies now.

Test: builds and runs
Change-Id: Ia8146afc22cc3677fab3b86734fbef3655d8ff05

6 years agoMerge "Log if we could not mk the dir when saving screenshot."
Alison Cichowlas [Fri, 22 Jun 2018 16:42:26 +0000 (16:42 +0000)]
Merge "Log if we could not mk the dir when saving screenshot."

6 years agoMerge "Remove managed profile toast" into pi-dev am: 7f4e9739e4
Julia Reynolds [Fri, 22 Jun 2018 15:54:48 +0000 (08:54 -0700)]
Merge "Remove managed profile toast" into pi-dev am: 7f4e9739e4
am: 1424138d36

Change-Id: I0ce832fff2fc869f68b900e5facc5237a6ba8f84

6 years agoRemove unused member in VulkanManager.
Greg Daniel [Fri, 22 Jun 2018 14:44:26 +0000 (10:44 -0400)]
Remove unused member in VulkanManager.

A large part of the previous change was specifically around removing
this ref counted data member, and then I just forgot to delete it...

Test: manual testing

Change-Id: Ie9a7f7495789d45a65900c08a27a9d83ad64617c

6 years agoMerge "Remove managed profile toast" into pi-dev
Julia Reynolds [Fri, 22 Jun 2018 15:29:21 +0000 (08:29 -0700)]
Merge "Remove managed profile toast" into pi-dev
am: 7f4e9739e4

Change-Id: I78e08cc1e3a1ec52cc9bf813ab794c62a73da978

6 years agoMerge "Remove managed profile toast" into pi-dev
TreeHugger Robot [Fri, 22 Jun 2018 15:19:20 +0000 (15:19 +0000)]
Merge "Remove managed profile toast" into pi-dev

6 years agoMerge "Remove legacy migration code from sync manager"
Makoto Onuki [Fri, 22 Jun 2018 15:18:28 +0000 (15:18 +0000)]
Merge "Remove legacy migration code from sync manager"

6 years agoRemove sentiment reason
Julia Reynolds [Fri, 22 Jun 2018 14:40:55 +0000 (10:40 -0400)]
Remove sentiment reason

Change-Id: I9f4426d2252d285b24401fdff5e1df21a46b8d03
Fixes: 110679864
Test: manual

6 years agoImprove backup and restore for empty sounds
Julia Reynolds [Wed, 20 Jun 2018 14:20:31 +0000 (10:20 -0400)]
Improve backup and restore for empty sounds

Test: runtest systemui-notification
Change-Id: Iab2eebb0da8163f520af95c2ad5fd8f35333a9d5
Fixes: 109777940

6 years agoMerge "Manually create and manage vulkan instance and device."
Greg Daniel [Fri, 22 Jun 2018 13:27:12 +0000 (13:27 +0000)]
Merge "Manually create and manage vulkan instance and device."

6 years agoMerge "Use framework VPN icon in VpnDialogs package"
TreeHugger Robot [Fri, 22 Jun 2018 12:00:55 +0000 (12:00 +0000)]
Merge "Use framework VPN icon in VpnDialogs package"

6 years agoMerge "MediaPlayer2: remove inheritance on MediaPlayerBase"
TreeHugger Robot [Fri, 22 Jun 2018 05:52:26 +0000 (05:52 +0000)]
Merge "MediaPlayer2: remove inheritance on MediaPlayerBase"

6 years agoMerge "Removed dead code in DcTracker" am: a0b9309ba2 am: 5ae46260e4
Jack Yu [Fri, 22 Jun 2018 03:49:21 +0000 (20:49 -0700)]
Merge "Removed dead code in DcTracker" am: a0b9309ba2 am: 5ae46260e4
am: 9fa40bd92d

Change-Id: I936ed9f443e6abb3184561e5bf7914b2a7c6a2e2

6 years agoMerge "Removed dead code in DcTracker" am: a0b9309ba2
Jack Yu [Fri, 22 Jun 2018 03:39:13 +0000 (20:39 -0700)]
Merge "Removed dead code in DcTracker" am: a0b9309ba2
am: 5ae46260e4

Change-Id: Ib664690a19a00c6739fd0bff87e343742832478e

6 years agoMerge "Removed dead code in DcTracker"
Jack Yu [Fri, 22 Jun 2018 03:28:45 +0000 (20:28 -0700)]
Merge "Removed dead code in DcTracker"
am: a0b9309ba2

Change-Id: I807835bcc1194f695e5fb30098cc82f50fef5d59