OSDN Git Service

android-x86/frameworks-base.git
8 years agoCreated netpolicy commands to manage UIDs blacklisted for network access
Felipe Leme [Tue, 1 Mar 2016 21:40:31 +0000 (13:40 -0800)]
Created netpolicy commands to manage UIDs blacklisted for network access
while on background.

These commands will be used primarily in the CTS tests:

- list restrict-background-blacklist
- add restrict-background-blacklist UID
- remove restrict-background-blacklist UID

BUG:  27432317
Change-Id: Ie1148dcabbb2481ccd39659a813fac3776f84e3b

8 years agoMerge "Allow system to bypass DISALLOW_SHARE_LOCATION restriction" into nyc-dev
Fyodor Kupolov [Tue, 1 Mar 2016 01:21:58 +0000 (01:21 +0000)]
Merge "Allow system to bypass DISALLOW_SHARE_LOCATION restriction" into nyc-dev

8 years agoMerge "Unlock Keystore/Keymaster separately for Work Challenge" into nyc-dev
Clara Bayarri [Tue, 1 Mar 2016 01:08:37 +0000 (01:08 +0000)]
Merge "Unlock Keystore/Keymaster separately for Work Challenge" into nyc-dev

8 years agoMerge "Make bugreport details dialog confirm to Material Guidelines for Dialogs....
Felipe Leme [Tue, 1 Mar 2016 00:56:34 +0000 (00:56 +0000)]
Merge "Make bugreport details dialog confirm to Material Guidelines for Dialogs." into nyc-dev

8 years agoMerge "Explicitly check for updated system apps" into nyc-dev
Dimitry Ivanov [Tue, 1 Mar 2016 00:51:37 +0000 (00:51 +0000)]
Merge "Explicitly check for updated system apps" into nyc-dev

8 years agoMake bugreport details dialog confirm to Material Guidelines for Dialogs.
Felipe Leme [Sat, 27 Feb 2016 00:48:22 +0000 (16:48 -0800)]
Make bugreport details dialog confirm to Material Guidelines for Dialogs.

Changes:
- Removed hints.
- Added TextViews for field labels.
- Added padding for inner dialog
- Adedd autoCorrect and capSentences to title and summary
- Changed strings.
- Set name to be selectAllOnFocus initially.

Also improved some logging statements.

BUG: 26324085
Change-Id: I32597a7c2839ca706dbbcf13660e976469ab8dd0

8 years agoMerge "media: switch to using MediaImage2" into nyc-dev
Lajos Molnar [Tue, 1 Mar 2016 00:40:28 +0000 (00:40 +0000)]
Merge "media: switch to using MediaImage2" into nyc-dev

8 years agoMerge "Fix issue #27385109: control activity behavior without triggering..." into...
Dianne Hackborn [Tue, 1 Mar 2016 00:35:36 +0000 (00:35 +0000)]
Merge "Fix issue #27385109: control activity behavior without triggering..." into nyc-dev

8 years agoFixed a bug where group expansion size calculation was wrong
Selim Cinek [Tue, 1 Mar 2016 00:14:25 +0000 (16:14 -0800)]
Fixed a bug where group expansion size calculation was wrong

On the lockscreen, the minheight was always based on the intrinsic
height and not actually the minHeight of the children. Because
children were userlocked, they were now reporting their small size
instead of the single line size.
This meant that the expand motion on the lockscreen wasn't following
the finger at all.

Bug: 27418617
Change-Id: I81daaf87887de1adc014cb4c6d46f4ef118061e5

8 years agoMerge "Reintroduce per-app scheduled job limits" into nyc-dev
Chris Tate [Tue, 1 Mar 2016 00:27:27 +0000 (00:27 +0000)]
Merge "Reintroduce per-app scheduled job limits" into nyc-dev

8 years agoMerge "Notification listener and ranker callbacks on binder threads." into nyc-dev
Svetoslav Ganov [Tue, 1 Mar 2016 00:27:15 +0000 (00:27 +0000)]
Merge "Notification listener and ranker callbacks on binder threads." into nyc-dev

8 years agoNotification listener and ranker callbacks on binder threads.
Svet Ganov [Thu, 18 Feb 2016 16:38:56 +0000 (08:38 -0800)]
Notification listener and ranker callbacks on binder threads.

The callbacks for the notification listener and notification
ranker were delivered on binder threads which is problematic
becuase: 1) permission checks and app ops checks would fail
unless the app developer knows to clear binder calling id and
restore it after that; 2) developers need to synchronize their
implementation as they get callbacks on different threads (
arguably callbacks should not be concurrent); 3) this doesn't
follow the pattern in the platform;

Also the code delivering callbacks was catching Throwable which
we shouldn't do in general and also masks bugs in the listener
or ranker implementation. Now that the callbacks are offloaded
to the main listener/ranker thread system code should not be
guarding against Throwable to handle exceptions propagated
over binder calls.

bug:26704777

Change-Id: I171fb41bbe25e6105dd05e4166193dbcec594f82

8 years agoExplicitly check for updated system apps
Dimitry Ivanov [Mon, 29 Feb 2016 23:40:40 +0000 (15:40 -0800)]
Explicitly check for updated system apps

Unbundled apps should not be allowed to share
linker-namespaces with default namespace; it implies
that they will not have unlimited access to private
native libs once updated.

Bug: http://b/27189432
Change-Id: I60295b9b31d700016add93537418fdcce5a77719

8 years agoMerge "Only copyLayer if valid rendertarget" into nyc-dev
John Reck [Tue, 1 Mar 2016 00:15:20 +0000 (00:15 +0000)]
Merge "Only copyLayer if valid rendertarget" into nyc-dev

8 years agoMerge "Skip boot prompt for both native and emulated FBE." into nyc-dev
Jeff Sharkey [Tue, 1 Mar 2016 00:14:18 +0000 (00:14 +0000)]
Merge "Skip boot prompt for both native and emulated FBE." into nyc-dev

8 years agoSkip boot prompt for both native and emulated FBE.
Jeff Sharkey [Tue, 1 Mar 2016 00:12:34 +0000 (17:12 -0700)]
Skip boot prompt for both native and emulated FBE.

Bug: 27412530
Change-Id: I53d39392ccab54cb79cf6cc1e51923ad7b5a3b0c

8 years agoMerge "Updates to BlockedNumberContract from API review." into nyc-dev
Abhijith Shastry [Tue, 1 Mar 2016 00:07:59 +0000 (00:07 +0000)]
Merge "Updates to BlockedNumberContract from API review." into nyc-dev

8 years agoMerge "AudioService: add support for ENCODED_SURROUND_OUTPUT" into nyc-dev
Phil Burk [Tue, 1 Mar 2016 00:06:19 +0000 (00:06 +0000)]
Merge "AudioService: add support for ENCODED_SURROUND_OUTPUT" into nyc-dev

8 years agoMerge "Need to clear identity when rebooting for FBE." into nyc-dev
Jeff Sharkey [Tue, 1 Mar 2016 00:03:28 +0000 (00:03 +0000)]
Merge "Need to clear identity when rebooting for FBE." into nyc-dev

8 years agoMerge "Parcelable classes should always be final." into nyc-dev
Jeff Sharkey [Tue, 1 Mar 2016 00:02:41 +0000 (00:02 +0000)]
Merge "Parcelable classes should always be final." into nyc-dev

8 years agoNeed to clear identity when rebooting for FBE.
Jeff Sharkey [Tue, 1 Mar 2016 00:01:26 +0000 (17:01 -0700)]
Need to clear identity when rebooting for FBE.

Bug: 27412530
Change-Id: I6d5b925a16daefd1b6906ce036faeb6244d503fb

8 years agoOnly copyLayer if valid rendertarget
John Reck [Mon, 29 Feb 2016 23:49:41 +0000 (15:49 -0800)]
Only copyLayer if valid rendertarget

Bug: 27407637

Texture layers will set a GL_NONE rendertarget
until they have managed to get the real rendertarget
from SurfaceTexture. If, however, copyLayer is called
prior to any calls to updateTexImage() (for example, if
no frames have yet been produced), this will
result in trying to use a Texture with a GL_NONE rendertarget
which is bad.

Change-Id: Ib7285d799cb94ebd44f07a89f2ef2075d79ef71f

8 years agoParcelable classes should always be final.
Jeff Sharkey [Mon, 29 Feb 2016 23:34:46 +0000 (16:34 -0700)]
Parcelable classes should always be final.

Also hide ConnectivityMetricsEvent which isn't being used yet.

Bug: 27415331
Change-Id: Iacdccddda504f3f669185f807b4f35b8dc2b0212

8 years agoFixed a bug where group children where not expandable
Selim Cinek [Mon, 29 Feb 2016 23:35:58 +0000 (15:35 -0800)]
Fixed a bug where group children where not expandable

Bug: 27417777
Change-Id: I57368f18b810bc9f6fc7c08c0f7fb038743b528d

8 years agoUpdates to BlockedNumberContract from API review.
Abhijith Shastry [Mon, 29 Feb 2016 22:32:57 +0000 (14:32 -0800)]
Updates to BlockedNumberContract from API review.

Javadoc updates are also included.

BUG: 27364137
Change-Id: Id99b5c0fadd2a62a33217b44c7f30dd2f3beb9be

8 years agoMerge "More lint checks." into nyc-dev
Jeff Sharkey [Mon, 29 Feb 2016 23:21:28 +0000 (23:21 +0000)]
Merge "More lint checks." into nyc-dev

8 years agoMore lint checks.
Jeff Sharkey [Mon, 29 Feb 2016 23:02:02 +0000 (16:02 -0700)]
More lint checks.

-- Error if Parcelable classes aren't final.
-- Warn that MIN_/MAX_ constants that should be dynamic.
-- Error if throwing raw RemoteException.
-- Warn if methods accept File without stream variants.
-- Ignore upstream ICU project.

Bug: 27410989
Change-Id: I12d843e63078dc696c1798a20e088608f1ba9ed1

8 years agoMerge "Fix glGetTransformFeedbackVarying JNI" into nyc-dev
Pablo Ceballos [Mon, 29 Feb 2016 22:58:54 +0000 (22:58 +0000)]
Merge "Fix glGetTransformFeedbackVarying JNI" into nyc-dev

8 years agoMerge "Update preconditions to be asserts..." into nyc-dev
Steve McKay [Mon, 29 Feb 2016 22:55:49 +0000 (22:55 +0000)]
Merge "Update preconditions to be asserts..." into nyc-dev

8 years agoUpdate preconditions to be asserts...
Steve McKay [Thu, 25 Feb 2016 21:34:03 +0000 (13:34 -0800)]
Update preconditions to be asserts...

Which are now supported by Jack.
Retain a few preconditions checks that enforce contract.
Disable the one assert we had...because it failed in tests.

Change-Id: I2f6cb01e1af1534be4428ce4a3ee625a163dd163

8 years agoMerge "Use SkFILEStream directly when possible" into nyc-dev
Yujie Qin [Mon, 29 Feb 2016 22:39:39 +0000 (22:39 +0000)]
Merge "Use SkFILEStream directly when possible" into nyc-dev

8 years agoMerge "Use realActivity name when comparing if intents are the same" into nyc-dev
Wale Ogunwale [Mon, 29 Feb 2016 22:38:28 +0000 (22:38 +0000)]
Merge "Use realActivity name when comparing if intents are the same" into nyc-dev

8 years agoUse realActivity name when comparing if intents are the same
Wale Ogunwale [Mon, 29 Feb 2016 22:27:32 +0000 (14:27 -0800)]
Use realActivity name when comparing if intents are the same

The TaskRecord intent (usually the intent of the root activity) component
names are based on the realActivity (the activity we are actually launching
and not the input alias) and the ActivityRecord intent is based on the input
component name which can be an alias. This leads to issues when we are trying
to compare the intent of a task and an activity to see if they resolve to
the same thing since the component names will be different in the case of
aliasing.
We know base the activity intent component name on the realActivity before
comparing with the task record intent.

Bug: 27403679
Bug: 27112965
Change-Id: I196e03bb018582cbac977fb3ad45354f00f51578

8 years agoMerge "Add dumpsys meminfo --unreachable" into nyc-dev
Colin Cross [Mon, 29 Feb 2016 22:19:38 +0000 (22:19 +0000)]
Merge "Add dumpsys meminfo --unreachable" into nyc-dev

8 years agoMerge "Fix matrix mapping of negative rects" into nyc-dev
Chris Craik [Mon, 29 Feb 2016 22:02:23 +0000 (22:02 +0000)]
Merge "Fix matrix mapping of negative rects" into nyc-dev

8 years agoMerge "Fix arc positioning" into nyc-dev
Chris Craik [Mon, 29 Feb 2016 22:02:22 +0000 (22:02 +0000)]
Merge "Fix arc positioning" into nyc-dev

8 years agoMerge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev
Yohei Yukawa [Mon, 29 Feb 2016 21:49:41 +0000 (21:49 +0000)]
Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev

8 years agoMerge "Fix dirtyMask in AnimateFunctor" into nyc-dev
John Reck [Mon, 29 Feb 2016 21:47:20 +0000 (21:47 +0000)]
Merge "Fix dirtyMask in AnimateFunctor" into nyc-dev

8 years agoMerge "Fix setBluetoothContactSharingDisabled does not persist" into nyc-dev
Tony Mak [Mon, 29 Feb 2016 21:46:14 +0000 (21:46 +0000)]
Merge "Fix setBluetoothContactSharingDisabled does not persist" into nyc-dev

8 years agoMerge "Update the animation when showing / closing inline controls" into nyc-dev
Mady Mellor [Mon, 29 Feb 2016 21:43:40 +0000 (21:43 +0000)]
Merge "Update the animation when showing / closing inline controls" into nyc-dev

8 years agoFix dirtyMask in AnimateFunctor
John Reck [Mon, 29 Feb 2016 21:40:52 +0000 (13:40 -0800)]
Fix dirtyMask in AnimateFunctor

Bug: 27313379
Change-Id: I0c0cffe7e1940914f0143714643ede539b86216f

8 years agoMerge "Reset pointer icon when view is not present" into nyc-dev
Andrii Kulian [Mon, 29 Feb 2016 21:36:07 +0000 (21:36 +0000)]
Merge "Reset pointer icon when view is not present" into nyc-dev

8 years agoRevert "InputConnectionWrapper never supports null target."
Yohei Yukawa [Mon, 29 Feb 2016 21:35:59 +0000 (13:35 -0800)]
Revert "InputConnectionWrapper never supports null target."

This reverts commit 90bd36363c5738b3f526aa1f1d44f432236300a0.

Seems that the semantics of InputConnectionWrapper#setTarget() is more
complicated than I thought.  At least the following cases have worked
fine.

  case 1:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(null, false);
    wrapper.SetTarget(ic);
    ...

  case 2:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(null, true);
    wrapper.SetTarget(ic);
    ...

  case 3:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(ic, true);
    wrapper.SetTarget(null);
    wrapper.SetTarget(ic2);
    ...

The previous code did not intended to break existing code.  Let's revert
it we decide how to deal with above cases.

Bug: 27407697
Change-Id: I8bc84d484ab0b27a02e74f11110430f70646e69a

8 years agoFix arc positioning
Chris Craik [Mon, 29 Feb 2016 21:34:43 +0000 (13:34 -0800)]
Fix arc positioning

bug:27389290

Change-Id: I479a34ea079f1fce1c308aa809a57885ffa1d004

8 years agoFix setBluetoothContactSharingDisabled does not persist
Tony Mak [Mon, 29 Feb 2016 21:32:47 +0000 (21:32 +0000)]
Fix setBluetoothContactSharingDisabled does not persist

The default value of bluetotoh contact sharing is true.
So we should save when it is false.

Bug: 27410265
Change-Id: Icaf4ceeda09eca46d160acfecc53834819b66a18

8 years agoMerge "InputConnectionWrapper never supports null target." into nyc-dev
Yohei Yukawa [Mon, 29 Feb 2016 21:13:09 +0000 (21:13 +0000)]
Merge "InputConnectionWrapper never supports null target." into nyc-dev

8 years agoFix matrix mapping of negative rects
Chris Craik [Mon, 29 Feb 2016 20:52:33 +0000 (12:52 -0800)]
Fix matrix mapping of negative rects

bug:27381362

Also rejects ops with empty clip at record time, and short circuits clip
intersection, when one is empty.

Change-Id: I842612da14ad8fd9f1ba5e9e4fd027ba4e08d365

8 years agoMerge "Frameworks/base: Refactor Paint & Canvas native allocation support" into nyc-dev
Andreas Gampe [Mon, 29 Feb 2016 21:04:13 +0000 (21:04 +0000)]
Merge "Frameworks/base: Refactor Paint & Canvas native allocation support" into nyc-dev

8 years agoInputConnectionWrapper never supports null target.
Yohei Yukawa [Mon, 29 Feb 2016 20:45:49 +0000 (12:45 -0800)]
InputConnectionWrapper never supports null target.

This CL makes it clear that InputConnectionWrapper does not support null
target.  In other words, the semantics of null InputConnection can never
be emulated by a non-null InputConnectionWrapper.

This is particularly problematic when app developers are just forwarding
the return value of super.onCreateInputConnection() to
InputConnectionWrapper or its subclass, because there are many chance
that super.onCreateInputConnection() starts returning null, e.g. when:
  A. the application is extending a Framework class, and the Framework
     class is updated by OTA.
  B. the application is extending system WebView, and the WebView is
     updated.
  C. the application is extending a 3rd party library, and the app
     developer creates a new build with a new version of the 3rd party
     library.

To make it easy to catch these kind of bugs, this CL lets the
constructor of InputMethodWrapper throw NullPointerException when target
is null.  Bugs like crbug.com/571229 should be caught by developers
more easily.

Bug: 27407697
Change-Id: I83875bea886d4784f9507c930050efc29708d9db

8 years agoFix uninstalling apps with damaged/gone APK files
Svet Ganov [Mon, 29 Feb 2016 17:52:56 +0000 (09:52 -0800)]
Fix uninstalling apps with damaged/gone APK files

bug:27394497

Change-Id: I0d0317f2d7168be4412a24d34a9f23f04c6d8601

8 years agoMerge "Fix flashlight availability." into nyc-dev
Jason Monk [Mon, 29 Feb 2016 20:41:02 +0000 (20:41 +0000)]
Merge "Fix flashlight availability." into nyc-dev

8 years agoFix issue #27385109: control activity behavior without triggering...
Dianne Hackborn [Sat, 27 Feb 2016 01:23:48 +0000 (17:23 -0800)]
Fix issue #27385109: control activity behavior without triggering...

...isUserAMonkey for testing purpose

Add an argument for the caller to specify if they are a poo flinging
monkey.

Change-Id: I0e149a8d78776abaf07517bd4ae886047b7f4252

8 years agoMerge "Fixes in QS customization" into nyc-dev
Jason Monk [Mon, 29 Feb 2016 20:29:12 +0000 (20:29 +0000)]
Merge "Fixes in QS customization" into nyc-dev

8 years agoMerge "Add new API to create an intent to manage blocked numbers." into nyc-dev
Abhijith Shastry [Mon, 29 Feb 2016 20:23:19 +0000 (20:23 +0000)]
Merge "Add new API to create an intent to manage blocked numbers." into nyc-dev

8 years agoMerge "Add new API for creating intent to manage blocked numbers." into nyc-dev
Abhijith Shastry [Mon, 29 Feb 2016 20:22:47 +0000 (20:22 +0000)]
Merge "Add new API for creating intent to manage blocked numbers." into nyc-dev

8 years agoAudioService: add support for ENCODED_SURROUND_OUTPUT
Phil Burk [Wed, 24 Feb 2016 20:19:08 +0000 (12:19 -0800)]
AudioService: add support for ENCODED_SURROUND_OUTPUT

Preference allows override of AudioPolicyManager.
Lets user force or prevent use of AC3 and DTS regardless
of what the EDID says.

Bug: 26373761
Change-Id: I21440f2b90af9a369a36b7b07724e992501bce6d
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMerge "Use asset cookie in XML block cache key" into nyc-dev
Alan Viverette [Mon, 29 Feb 2016 20:12:37 +0000 (20:12 +0000)]
Merge "Use asset cookie in XML block cache key" into nyc-dev

8 years agoFixes in QS customization
Jason Monk [Mon, 29 Feb 2016 19:29:26 +0000 (14:29 -0500)]
Fixes in QS customization

 - Revert to long-press to drag
 - X -> <-
 - Always save

Bug: 27397111
Bug: 27364013
Bug: 27396440
Change-Id: Ib19096b0ed65fb1112386735dffe9308e57c3d5a

8 years agoAdd new API to create an intent to manage blocked numbers.
Abhijith Shastry [Mon, 29 Feb 2016 19:40:24 +0000 (11:40 -0800)]
Add new API to create an intent to manage blocked numbers.

This replaces the launchManageBlockedNumbersActivity API.

BUG: 27364137

Change-Id: I5d5a20d25f0dea8b8e0e998b51f80658ff404e2c

8 years agoMerge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev
Ruben Brunk [Mon, 29 Feb 2016 19:50:35 +0000 (19:50 +0000)]
Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev

8 years agoRevert "DO NOT SUBMIT: Hide VR features for preview."
Ruben Brunk [Mon, 29 Feb 2016 19:50:15 +0000 (19:50 +0000)]
Revert "DO NOT SUBMIT: Hide VR features for preview."

This reverts commit cfa66a2a45c3cec6c338d0d83806fb33d63cfd44.

Change-Id: Ibf36092205b14c29935d1f28be5f5b5f64b1d16c

8 years agoAdd new API for creating intent to manage blocked numbers.
Abhijith Shastry [Mon, 29 Feb 2016 19:17:52 +0000 (11:17 -0800)]
Add new API for creating intent to manage blocked numbers.

The launchManageBlockedNumbersActivity API will be removed.

BUG: 27364137
Change-Id: I440aaab521f5320bbc79b79f212ed1b418ce2d14

8 years agoMerge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev
Ruben Brunk [Mon, 29 Feb 2016 19:43:53 +0000 (19:43 +0000)]
Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev

8 years agoMerge "Delay migration until after user is prepared." into nyc-dev
Jeff Sharkey [Mon, 29 Feb 2016 19:28:19 +0000 (19:28 +0000)]
Merge "Delay migration until after user is prepared." into nyc-dev

8 years agoFix flashlight availability.
Jason Monk [Mon, 29 Feb 2016 15:03:13 +0000 (10:03 -0500)]
Fix flashlight availability.

Bug: 26981482
Change-Id: I62059b3b7f18520ae8735f3f3557411991bee909

8 years agoDelay migration until after user is prepared.
Jeff Sharkey [Mon, 29 Feb 2016 19:05:44 +0000 (12:05 -0700)]
Delay migration until after user is prepared.

We don't have a vold connection early in the PackageManagerService
constructor, so we can only migrate the system user at boot.  We now
migrate other users only after they're explicitly unlocked by
UserManagerService.

Bug: 27330415
Change-Id: I29f21714acf65a598b8df496af0f7d2cb1d247c4

8 years agoMerge "Fix StackMap renaming in Java 8" into nyc-dev
Diego Perez [Mon, 29 Feb 2016 19:01:55 +0000 (19:01 +0000)]
Merge "Fix StackMap renaming in Java 8" into nyc-dev

8 years agoMerge "PIP: Implement play/pause button in menu" into nyc-dev
Dongwon Kang [Mon, 29 Feb 2016 19:00:01 +0000 (19:00 +0000)]
Merge "PIP: Implement play/pause button in menu" into nyc-dev

8 years agoPIP: Implement play/pause button in menu
Jaewan Kim [Thu, 25 Feb 2016 18:00:05 +0000 (10:00 -0800)]
PIP: Implement play/pause button in menu

Bug: 26685243
Change-Id: Id3138cc35dbef90d91767797e7f26f3c60191b1a

8 years agoFrameworks/base: Refactor Paint & Canvas native allocation support
Andreas Gampe [Fri, 26 Feb 2016 16:54:54 +0000 (08:54 -0800)]
Frameworks/base: Refactor Paint & Canvas native allocation support

Put the native allocation support into a holder class. This allows
statically initializing the classes in the boot image.

Bug: 27265238
Bug: 23130675
Change-Id: I857aebfdbaec39067a5eb58afceb49630176af98

8 years agoReset pointer icon when view is not present
Andrii Kulian [Mon, 29 Feb 2016 18:38:59 +0000 (10:38 -0800)]
Reset pointer icon when view is not present

Sometimes pointer change request is delivered after view is detached from its
ViewRootImpl. E.g. when popup is present click outside to close it.

Bug: 27292939
Change-Id: I925728af334a1e1ae53f7e530d639e50b0c37f2b

8 years agoMerge "Removed IAE from HardwarePropertiesManager." into nyc-dev
Polina Bondarenko [Mon, 29 Feb 2016 18:34:00 +0000 (18:34 +0000)]
Merge "Removed IAE from HardwarePropertiesManager." into nyc-dev

8 years agoMerge "BinderProxy native destruction resilience" into nyc-dev
Chris Tate [Mon, 29 Feb 2016 18:32:49 +0000 (18:32 +0000)]
Merge "BinderProxy native destruction resilience" into nyc-dev

8 years agoMerge "Sigh, someone is pushing 2MB through StopInfo." into nyc-dev
Jeff Sharkey [Mon, 29 Feb 2016 18:30:39 +0000 (18:30 +0000)]
Merge "Sigh, someone is pushing 2MB through StopInfo." into nyc-dev

8 years agoSigh, someone is pushing 2MB through StopInfo.
Jeff Sharkey [Mon, 29 Feb 2016 18:16:21 +0000 (11:16 -0700)]
Sigh, someone is pushing 2MB through StopInfo.

Bug: 27401092
Change-Id: Ib27a56ecc63662ce2d6210890ac65eca09fac9d6

8 years agoMerge "Fix crash when restoring SearchView." into nyc-dev
Aurimas Liutikas [Mon, 29 Feb 2016 18:21:06 +0000 (18:21 +0000)]
Merge "Fix crash when restoring SearchView." into nyc-dev

8 years agoMerge changes I70299512,I42df29b4 into nyc-dev
Jason Monk [Mon, 29 Feb 2016 18:16:37 +0000 (18:16 +0000)]
Merge changes I70299512,I42df29b4 into nyc-dev

* changes:
  Add tests for TouchAnimator
  Fix TouchAnimator callbacks

8 years agoUpdate the animation when showing / closing inline controls
Mady Mellor [Fri, 12 Feb 2016 02:28:23 +0000 (18:28 -0800)]
Update the animation when showing / closing inline controls

This CL updates the circular reveal animation to originate
from the gear and and done button in the inline controls.

Bug: 22451710
Change-Id: I050413c980a8c9e73fe2e9a789567051d3119373

8 years agoMerge "IMS Connection Capabilities Update" into mm-wireless-dev
Omkar Kolangade [Mon, 29 Feb 2016 18:10:06 +0000 (18:10 +0000)]
Merge "IMS Connection Capabilities Update" into mm-wireless-dev
am: 4aeafd8f27

* commit '4aeafd8f27852bdb684711f1df807ff0e59cb354':
  IMS Connection Capabilities Update

8 years agoUnlock Keystore/Keymaster separately for Work Challenge
Clara Bayarri [Tue, 23 Feb 2016 22:49:41 +0000 (14:49 -0800)]
Unlock Keystore/Keymaster separately for Work Challenge

The Keystore should be unlocked by the work challenge when
the work profile has its own lock, and should not be unlocked
by the device lock in this case.

Tested use cases:

When unified, both users have the password key set to the parent's
Setting a work challenge changes the work profile's password key to its
own
Unifying causes the work challenge key to be set to null first and then
when the device password is reset right after that it is reset to the
same as the parent
Unlocking when locks are unified unlocks both using the same password
key
Unlocking the device when not unified only unlocks the parent
Unlocking the work challenge only unlocks the work profile

Bug:26817206
Change-Id: I99dca279687f4f77636992e355dbdb607bbf7b6d

8 years agoMerge "IMS Connection Capabilities Update" into mm-wireless-dev
Tyler Gunn [Mon, 29 Feb 2016 18:06:25 +0000 (18:06 +0000)]
Merge "IMS Connection Capabilities Update" into mm-wireless-dev

8 years agoAdd tests for TouchAnimator
Jason Monk [Mon, 29 Feb 2016 18:01:08 +0000 (13:01 -0500)]
Add tests for TouchAnimator

Also fix existing tests

Bug: 27392084
Change-Id: I70299512e8fa3e0cb86c868b47df7703e04d6084

8 years agoFix TouchAnimator callbacks
Jason Monk [Mon, 29 Feb 2016 15:47:35 +0000 (10:47 -0500)]
Fix TouchAnimator callbacks

Bug: 27392084
Change-Id: I42df29b4c7df4f709dd2fafa90037d485e93f3bd

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 29 Feb 2016 15:34:25 +0000 (15:34 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Feb 2016 15:32:23 +0000 (07:32 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Clean up drag-n-drop." into nyc-dev
Ben Kwa [Mon, 29 Feb 2016 15:27:28 +0000 (15:27 +0000)]
Merge "Clean up drag-n-drop." into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 29 Feb 2016 15:26:46 +0000 (15:26 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Feb 2016 15:25:23 +0000 (07:25 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 29 Feb 2016 15:17:10 +0000 (15:17 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Feb 2016 15:16:29 +0000 (07:16 -0800)]
Import translations. DO NOT MERGE

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

8 years agoForce carrier network change anim onto UI thread
Jorim Jaggi [Mon, 29 Feb 2016 07:42:25 +0000 (08:42 +0100)]
Force carrier network change anim onto UI thread

Fixes a bug where RenderThread was constantly scheduling frames,
but didn't actually start the animation. Also fixes some jank
while the animation is playing.

Bug: 27396097
Change-Id: I353d60633eeef1a4f3bbfbeddb58f9703debe293

8 years agoUse SkFILEStream directly when possible
Yujie Qin [Mon, 29 Feb 2016 13:00:29 +0000 (14:00 +0100)]
Use SkFILEStream directly when possible

When decoding from a file descriptor, if the descriptor is seekable and
has no offset, use SkFILEStream directly instead of wrapping in an
SkFrontBufferedStream.
This will let the SkRawCodec take advantage of a seekable stream.
One can see 2x speed up for RAW cases.

Bug: 27097104
Change-Id: I369fbb3af1170c94ec7cd9bb35e8e0007dde9fd5

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Feb 2016 13:29:18 +0000 (08:29 -0500)]
Import translations. DO NOT MERGE

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

8 years agoFix StackMap renaming in Java 8
Diego Perez [Wed, 24 Feb 2016 15:02:36 +0000 (15:02 +0000)]
Fix StackMap renaming in Java 8

With the move to Java 8 of layoutlib, we now need to make sure that the
method stackmaps are kept up to date or the class verification step will
fail. Up until now, we were ignoring them but this caused TestDelegates
to start failing.
This updates the code to make sure that when we modify a class name, we
also update the stackmap in the calls.

Change-Id: Iddbde7454f065ddb8da5bb1ab499ec0616f9b4fe

8 years agoMerge "Use new API from PIEX" into nyc-dev
Yujie Qin [Mon, 29 Feb 2016 08:21:50 +0000 (08:21 +0000)]
Merge "Use new API from PIEX" into nyc-dev

8 years agoMerge "MediaBrowser: Fix Javadoc" into nyc-dev
Sungsoo Lim [Mon, 29 Feb 2016 05:19:52 +0000 (05:19 +0000)]
Merge "MediaBrowser: Fix Javadoc" into nyc-dev

8 years agoMediaBrowser: Fix Javadoc
Sungsoo Lim [Mon, 29 Feb 2016 04:44:15 +0000 (13:44 +0900)]
MediaBrowser: Fix Javadoc

Bug: 27384292
Change-Id: I57ddfaea0fe888665bc7ee88cd933a660c26f1a6

8 years agoMerge "Set document flag by referring MTP supported operations." into nyc-dev
Daichi Hirono [Mon, 29 Feb 2016 04:03:02 +0000 (04:03 +0000)]
Merge "Set document flag by referring MTP supported operations." into nyc-dev

8 years agoUse asset cookie in XML block cache key
Alan Viverette [Sun, 28 Feb 2016 20:16:05 +0000 (15:16 -0500)]
Use asset cookie in XML block cache key

Ensure we're using file paths from the correct package. Also cleans up
synchronization to avoid synchronizing on local variables which, while
not an issue in the current implementation, is generally unsafe.

Bug: 27313689
Change-Id: Ib8550909e7b02ea88d19ce2fc43756a16f9664ab

8 years agoMerge "Media.effect: Remove redundant package info" into nyc-dev
Eino-Ville Talvala [Sun, 28 Feb 2016 05:10:56 +0000 (05:10 +0000)]
Merge "Media.effect: Remove redundant package info" into nyc-dev