OSDN Git Service

android-x86/frameworks-base.git
8 years agoRemoved bugreport intents from protected list.
Felipe Leme [Mon, 22 Feb 2016 19:04:03 +0000 (11:04 -0800)]
Removed bugreport intents from protected list.

These intents are send by Shell, which is not a protected uid, and
already required the android.permission.DUMP permission, hence they are
protected by permission.

BUG: 27287868
Change-Id: Ie7cfe20a119e8abe989186ca2e0ae16454b4cf22

8 years agoMerge "Revert "Add defaultPeriodic to every authority"" into nyc-dev
Shreyas Basarge [Mon, 22 Feb 2016 16:48:13 +0000 (16:48 +0000)]
Merge "Revert "Add defaultPeriodic to every authority"" into nyc-dev

8 years agoMerge "Migrate PeriodicSyncs from old format" into nyc-dev
Shreyas Basarge [Mon, 22 Feb 2016 16:48:01 +0000 (16:48 +0000)]
Merge "Migrate PeriodicSyncs from old format" into nyc-dev

8 years agoMerge "Fix rounding error in SeekBar tickmark drawing" into nyc-dev
Chris Banes [Mon, 22 Feb 2016 16:26:56 +0000 (16:26 +0000)]
Merge "Fix rounding error in SeekBar tickmark drawing" into nyc-dev

8 years agoDO NOT MERGE: Fix Canvas memory leak
Diego Perez [Mon, 22 Feb 2016 16:19:12 +0000 (16:19 +0000)]
DO NOT MERGE: Fix Canvas memory leak
am: b75a0426d8

* commit 'b75a0426d8c2339f2d552f96cc4dfcd86deb3447':
  DO NOT MERGE: Fix Canvas memory leak

8 years agoFix rounding error in SeekBar tickmark drawing
Chris Banes [Mon, 22 Feb 2016 16:11:10 +0000 (16:11 +0000)]
Fix rounding error in SeekBar tickmark drawing

There are instances where an int calculation would result
in a loss of precision and rounding error. Fixed by
using a float instead.

Change-Id: I595872f00552a7fd717a1754c1d8f5a50d776621

8 years agoMerge "Fix Canvas memory leak" into nyc-dev
Diego Perez [Mon, 22 Feb 2016 16:06:59 +0000 (16:06 +0000)]
Merge "Fix Canvas memory leak" into nyc-dev

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

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

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

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

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

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

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

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

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

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

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

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

8 years agoFix Canvas memory leak
Diego Perez [Mon, 1 Feb 2016 11:48:16 +0000 (11:48 +0000)]
Fix Canvas memory leak

Every RenderSession would call the AttachInfo.setAttachInfo but wouldn't
issue a View.dispatchDetachedFromWindow.
This caused some Canvas to be slowly leaked in the DelegateManager in
every session.

Change-Id: Iec418a86f5c5e55c2a2860ef945268c51c0e8173

8 years agoMerge "Move background data notif to data saver status icon" into nyc-dev
Jason Monk [Mon, 22 Feb 2016 14:57:32 +0000 (14:57 +0000)]
Merge "Move background data notif to data saver status icon" into nyc-dev

8 years agoMove background data notif to data saver status icon
Jason Monk [Fri, 22 Jan 2016 21:45:21 +0000 (16:45 -0500)]
Move background data notif to data saver status icon

Bug: 26796370
Change-Id: Ibf53c3affa63100b603e362b58ca6d2958791321

8 years agoDO NOT MERGE: Fix Canvas memory leak
Diego Perez [Mon, 1 Feb 2016 11:48:16 +0000 (11:48 +0000)]
DO NOT MERGE: Fix Canvas memory leak

Every RenderSession would call the AttachInfo.setAttachInfo but wouldn't
issue a View.dispatchDetachedFromWindow.
This caused some Canvas to be slowly leaked in the DelegateManager in
every session.

Change-Id: Ib0392303e6d00a4fe5494ae484f28135b1fe6b28

8 years agoMerge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev
Benjamin Franz [Mon, 22 Feb 2016 14:07:34 +0000 (14:07 +0000)]
Merge "Use UserAccounts handed into accountExistsCacheLocked" into nyc-dev

8 years agoUse UserAccounts handed into accountExistsCacheLocked
Benjamin Franz [Mon, 22 Feb 2016 13:41:53 +0000 (13:41 +0000)]
Use UserAccounts handed into accountExistsCacheLocked

Use the object we get handed rather than obtaining the one for the
calling user. We're previously clearing the caller, so the calling user
might not be the same as the one we used to obtain accounts object.

Bug: 27285299
Change-Id: Ie384bca83779593f6569bccea3c2851083ace31d

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 22 Feb 2016 13:30:35 +0000 (13:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Updated removeActiveAdmin documentation" into nyc-dev
Esteban Talavera [Mon, 22 Feb 2016 13:25:14 +0000 (13:25 +0000)]
Merge "Updated removeActiveAdmin documentation" into nyc-dev

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

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

8 years agoMerge "Add stubs needed to enable javac to compile lambdas" into nyc-dev
Neil Fuller [Mon, 22 Feb 2016 11:55:29 +0000 (11:55 +0000)]
Merge "Add stubs needed to enable javac to compile lambdas" into nyc-dev

8 years agoMerge "Change the location of profile files." into nyc-dev
Calin Juravle [Mon, 22 Feb 2016 11:41:59 +0000 (11:41 +0000)]
Merge "Change the location of profile files." into nyc-dev

8 years agoMerge "Added hardwareproperties SystemService" into nyc-dev
Polina Bondarenko [Mon, 22 Feb 2016 09:27:20 +0000 (09:27 +0000)]
Merge "Added hardwareproperties SystemService" into nyc-dev

8 years agoDelete all NetworkUtils DHCP-related code.
Erik Kline [Mon, 22 Feb 2016 09:16:16 +0000 (09:16 +0000)]
Delete all NetworkUtils DHCP-related code.
am: c3b52bc466

* commit 'c3b52bc46604cb18d74fbe13dda15f4679222107':
  Delete all NetworkUtils DHCP-related code.

8 years agoresolve merge conflicts of b242549166 to nyc-dev
Erik Kline [Mon, 22 Feb 2016 06:42:07 +0000 (15:42 +0900)]
resolve merge conflicts of b242549166 to nyc-dev

Change-Id: I42d4cac95a209fdfae5769d75d90f004a94d60a4

8 years agoDelete all NetworkUtils DHCP-related code.
Erik Kline [Thu, 18 Feb 2016 11:06:02 +0000 (20:06 +0900)]
Delete all NetworkUtils DHCP-related code.

Bug: 26991160
Change-Id: I2c74e0161f43f65c1b6a85dc9f294b64c8f1ae6e

8 years agoGive bluetooth sufficient capabilities to run DhcpClient
Erik Kline [Thu, 18 Feb 2016 12:59:31 +0000 (21:59 +0900)]
Give bluetooth sufficient capabilities to run DhcpClient

Specifically:
    CAP_NET_RAW
    CAP_NET_BIND_SERVICE

Bug: 26991160
Change-Id: I2afddc9efa3b613d974afb0ea33703948203d99a

8 years agoAdd WaitForProvisioningCallback
Erik Kline [Mon, 22 Feb 2016 04:29:37 +0000 (04:29 +0000)]
Add WaitForProvisioningCallback
am: 111d55658b

* commit '111d55658bce1bcc3eb61b4aeaa4d8a256165b02':
  Add WaitForProvisioningCallback

8 years agoSupport setting TCP buffer sizes and HTTP Proxy config
Erik Kline [Mon, 22 Feb 2016 04:11:28 +0000 (04:11 +0000)]
Support setting TCP buffer sizes and HTTP Proxy config
am: d0e843b8ef

* commit 'd0e843b8ef4218ba8f69a8a53b3eeaf21e667deb':
  Support setting TCP buffer sizes and HTTP Proxy config

8 years agoAdd WaitForProvisioningCallback
Erik Kline [Fri, 19 Feb 2016 06:48:22 +0000 (15:48 +0900)]
Add WaitForProvisioningCallback

This centralizes code that is shared by both bluetooth and ethernet
transport layers.

Bug: 26991160
Change-Id: I8e2dd8580c29c86394119768e3a5529850b4b859

8 years agoSupport setting TCP buffer sizes and HTTP Proxy config
Erik Kline [Wed, 17 Feb 2016 13:53:03 +0000 (22:53 +0900)]
Support setting TCP buffer sizes and HTTP Proxy config

This allows IpManager to send callback recipients a more satisfying
LinkProperties.

Bug: 26991160
Change-Id: I2eb60dc633e5be38dad9410a1096d0095ddf57a0

8 years agoMerge "MediaSession: Add new methods for preparing media content" into nyc-dev
Donghyun Cho [Mon, 22 Feb 2016 03:38:54 +0000 (03:38 +0000)]
Merge "MediaSession: Add new methods for preparing media content" into nyc-dev

8 years agoMerge "Update object info when writing a file." into nyc-dev
Daichi Hirono [Mon, 22 Feb 2016 03:07:30 +0000 (03:07 +0000)]
Merge "Update object info when writing a file." into nyc-dev

8 years agoMerge "Fixed bug with stack bounds getting out of alignment with screen rotation...
Wale Ogunwale [Sun, 21 Feb 2016 22:59:09 +0000 (22:59 +0000)]
Merge "Fixed bug with stack bounds getting out of alignment with screen rotation" into nyc-dev

8 years agoFixed bug with stack bounds getting out of alignment with screen rotation
Wale Ogunwale [Sun, 21 Feb 2016 22:18:51 +0000 (14:18 -0800)]
Fixed bug with stack bounds getting out of alignment with screen rotation

Before updating the stack bounds due to rotation change, we need to make
sure both the configuration and the current display info. the stack is
using have been updated for the current rotation. Previously we were
updating is after configuration change, but the rotation might have changed
again by the time we get the configuraiton changed call and
TaskSack.updateDisplayInfo not called yet.

Bug: 26744649
Change-Id: Idfd30e78dc9c2fb521ff1957f043c3b1696a2a31

8 years agoFix edit/page indicator area layout
Jason Monk [Sun, 21 Feb 2016 15:57:10 +0000 (10:57 -0500)]
Fix edit/page indicator area layout

Bug: 27201532
Change-Id: Ie03e6aeeb9d607f1fba370a4f1bd23a2ffb9b485

8 years agoApply minimal task dimension to all task bounds change.
Wale Ogunwale [Thu, 18 Feb 2016 03:03:58 +0000 (19:03 -0800)]
Apply minimal task dimension to all task bounds change.

We only used to apply the minimal dimension on resizeTask in
ActivityStackSuperior which is mostly used for freeform and
missed resizes that went through other channels like resizeStack
which is used for split-screen.
We now apply it on TaskRecord.updateOverrideConfiguration which
all task bounds changes go through.

Bug: 27220870
Change-Id: I856948c371f5f5f144e61029ced4a467f7ebe33a

8 years agoNo overlay when permissions shown - framework
Svet Ganov [Tue, 16 Feb 2016 19:47:00 +0000 (11:47 -0800)]
No overlay when permissions shown - framework

bug:26973205

Change-Id: I88395e47649191bb7db6dd8723c49e741ef4f1e4

8 years agoDon't set the text on QS Tiles unless we need to
Jason Monk [Sat, 20 Feb 2016 14:44:46 +0000 (09:44 -0500)]
Don't set the text on QS Tiles unless we need to

Avoid causing layout passes.

Bug: 27278616
Change-Id: I5104a756b44154f6b66f2c74aee17caf29acf628

8 years agoMerge changes Icb8e2097,I9a2a16f9 into nyc-dev
Jason Monk [Sat, 20 Feb 2016 16:53:02 +0000 (16:53 +0000)]
Merge changes Icb8e2097,I9a2a16f9 into nyc-dev

* changes:
  Optimization for TouchAnimator
  QS Animations - first pass, still not spec

8 years agoOptimization for TouchAnimator
Jason Monk [Sat, 20 Feb 2016 13:43:27 +0000 (08:43 -0500)]
Optimization for TouchAnimator

Bug: 27278616
Change-Id: Icb8e20977a0f8cdbc6ace25707e8f95e34efc356

8 years agoQS Animations - first pass, still not spec
Jason Monk [Fri, 19 Feb 2016 13:11:55 +0000 (08:11 -0500)]
QS Animations - first pass, still not spec

Bug: 27201532

Change-Id: I9a2a16f9d769db1f40ae733ad55a07ede4780698

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 07:29:49 +0000 (07:29 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd am: 20c518816a am: 7f35fa7365
am: 08f781bd82  -s ours

* commit '08f781bd8215d452cd2761f69889a69d1a736ea7':
  NPE fix for SyncStorageEngine read authority

8 years agoMerge "TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode" into nyc-dev
Jiabin Huang [Sat, 20 Feb 2016 07:01:28 +0000 (07:01 +0000)]
Merge "TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode" into nyc-dev

8 years agoTIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode
Jiabin [Fri, 19 Feb 2016 06:13:50 +0000 (15:13 +0900)]
TIF: optimize android.media.tv.Tvcontract.Programs.Genres#decode

test result:
 Decode function takes about 0.25 seconds with 1350 channels in Live Channels.
 The original one takes about 0.37 seconds in the same test case.

Bug: 23307587
Change-Id: I3a1fefe0b3e6c1986c8f515259658f2e3e23011f

8 years agoMerge "Finalized GPS=>GNSS changes with documents" into nyc-dev
Lifu Tang [Sat, 20 Feb 2016 04:58:15 +0000 (04:58 +0000)]
Merge "Finalized GPS=>GNSS changes with documents" into nyc-dev

8 years agoMerge "Remove internal locking from JobStatus." into nyc-dev
Dianne Hackborn [Sat, 20 Feb 2016 02:49:46 +0000 (02:49 +0000)]
Merge "Remove internal locking from JobStatus." into nyc-dev

8 years agoRemove internal locking from JobStatus.
Dianne Hackborn [Tue, 16 Feb 2016 18:30:33 +0000 (10:30 -0800)]
Remove internal locking from JobStatus.

Now all state of JobStatus is implicitly protected by the lock
of whoever is using it -- in this case the global lock for the
JobSchedulerService.  This allows us to remove all of the atomic
variables and just replace those with a simple bit field.

The required constraints for a job are now statically defined
once a JobStatus is created, and don't change.  (They wouldn't
change before, but now this is absolutely specified to be the
case.)  This required tweaking the constructors a bit so that
the earliest and latest run times are computed as part of the
core class initialization.

Also clarified methods on StateController that are called with
the lock held, and took advantage of that in the various
controllers to not now redundantly re-acquire the lock.

Change-Id: I595c5e7d1bff1bd2ff906d612581af82878a25ee

8 years agoMerge "Cancel fling animation when starting to drag" into nyc-dev
Jorim Jaggi [Sat, 20 Feb 2016 02:24:17 +0000 (02:24 +0000)]
Merge "Cancel fling animation when starting to drag" into nyc-dev

8 years agoMerge "Fixed permissions so Shell can call netpolicy methods." into nyc-dev
Felipe Leme [Sat, 20 Feb 2016 02:24:12 +0000 (02:24 +0000)]
Merge "Fixed permissions so Shell can call netpolicy methods." into nyc-dev

8 years agoCancel fling animation when starting to drag
Jorim Jaggi [Sat, 20 Feb 2016 00:38:49 +0000 (16:38 -0800)]
Cancel fling animation when starting to drag

Makes sure we don't end up in a weird state because
at the end of the fling animation, mDockSide gets
reset.

Bug: 27269044
Change-Id: I779b8ee9be9a35553c7f822421d1f02ca802111c

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 02:22:00 +0000 (02:22 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd am: 20c518816a
am: 7f35fa7365

* commit '7f35fa7365b24f13f7553c452dc68f99fc7304ae':
  NPE fix for SyncStorageEngine read authority

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 02:14:27 +0000 (02:14 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df am: 20339172bd
am: 20c518816a

* commit '20c518816a0946dff67a3b99b929bc30c9b0ad6c':
  NPE fix for SyncStorageEngine read authority

8 years agoMerge "Implement lenient background check option." into nyc-dev
Dianne Hackborn [Sat, 20 Feb 2016 02:12:37 +0000 (02:12 +0000)]
Merge "Implement lenient background check option." into nyc-dev

8 years agoImprove maximizing dock/clip reveal animation
Jorim Jaggi [Fri, 19 Feb 2016 02:57:07 +0000 (18:57 -0800)]
Improve maximizing dock/clip reveal animation

There was a very visible hole at the end of the transition when both
the docked stack expands and the other app is doing a clip reveal
animation, but only if the app had to travel a far distance to
meet it's target rectangle.

To fix this, we interpolate between two animation curves for maximizing
divider: One is the original curve, and the other one is an adjusted
one which simulate if the divider would start at the edge of the app
surface that plays the clip reveal animation. At the start of the
animation, we use the original curve, but then about in the middle of
the animation we interpolated towards the adjusted curve, so the divider
meets the edge of the app surface that plays the clip reveal animation,
eliminating that gap while still preserving the overall motion.

Bug: 27154882
Change-Id: I37716588f88ddc643ed6176c2ccd56ca174e8919

8 years agoMerge "Simplify job scheduler service locking." into nyc-dev
Dianne Hackborn [Sat, 20 Feb 2016 02:08:17 +0000 (02:08 +0000)]
Merge "Simplify job scheduler service locking." into nyc-dev

8 years agoMerge "Support for webview drag and drop" into nyc-dev
Hui Shu [Sat, 20 Feb 2016 02:08:10 +0000 (02:08 +0000)]
Merge "Support for webview drag and drop" into nyc-dev

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 02:05:16 +0000 (02:05 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b am: 4aa78554df
am: 20339172bd

* commit '20339172bddac09730bf46f5eb289db4c299d64d':
  NPE fix for SyncStorageEngine read authority

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 02:01:11 +0000 (02:01 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009 am: 242bdb6d5b
am: 4aa78554df

* commit '4aa78554dfa1ff4cdb91ba560e3097d8febbe5c9':
  NPE fix for SyncStorageEngine read authority

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 01:53:57 +0000 (01:53 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d am: 5e4e02b009
am: 242bdb6d5b

* commit '242bdb6d5bec6e42b7caf42fd08ded0accc70fb8':
  NPE fix for SyncStorageEngine read authority

8 years agoMerge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev
Siyamed Sinir [Sat, 20 Feb 2016 01:52:37 +0000 (01:52 +0000)]
Merge "JavaDoc for ReplacementSpan getSize & draw functions." into nyc-dev

8 years agoSupport for webview drag and drop
Hui Shu [Thu, 4 Feb 2016 23:00:19 +0000 (15:00 -0800)]
Support for webview drag and drop

WebView needs to override onDragEvent to accept drops from other apps.

BUG: 27039417
Change-Id: Ie81c5ac325091cf78440785e04afcc01ddcbaab3

8 years agoFixed permissions so Shell can call netpolicy methods.
Felipe Leme [Fri, 19 Feb 2016 22:43:51 +0000 (14:43 -0800)]
Fixed permissions so Shell can call netpolicy methods.

BUG: 27127112
Change-Id: I5548aba70a1c25be139462fbabe9a854fa96d2a6

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 01:45:01 +0000 (01:45 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1 am: 6fc321a66d
am: 5e4e02b009

* commit '5e4e02b00999db4513f43d5ddfdd2c71212cc503':
  NPE fix for SyncStorageEngine read authority

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c...
Shreyas Basarge [Sat, 20 Feb 2016 01:37:34 +0000 (01:37 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17 am: eec587edf1
am: 6fc321a66d

* commit '6fc321a66d74401e00b2203817f75e29a0426ab7':
  NPE fix for SyncStorageEngine read authority

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17
Shreyas Basarge [Sat, 20 Feb 2016 01:27:25 +0000 (01:27 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05 am: 58048c1f17
am: eec587edf1

* commit 'eec587edf1fb4e7bc5f38695f478f191dee1e2d4':
  NPE fix for SyncStorageEngine read authority

8 years agoMerge "Clear binder id before creating pending intent as the system." into nyc-dev
Svetoslav Ganov [Sat, 20 Feb 2016 01:26:37 +0000 (01:26 +0000)]
Merge "Clear binder id before creating pending intent as the system." into nyc-dev

8 years agoClear binder id before creating pending intent as the system.
Svet Ganov [Sat, 20 Feb 2016 01:24:55 +0000 (17:24 -0800)]
Clear binder id before creating pending intent as the system.

bug:19349693

Change-Id: I989441ac32b89d313ec7a006373faa90f58fc89d

8 years agoMerge "Add preloading wallpaper to the getWallpaper call." into nyc-dev
Vadim Tryshev [Sat, 20 Feb 2016 01:07:54 +0000 (01:07 +0000)]
Merge "Add preloading wallpaper to the getWallpaper call." into nyc-dev

8 years agoMerge "Fix QS Open on single finger scroll" into nyc-dev
Jason Monk [Sat, 20 Feb 2016 01:07:33 +0000 (01:07 +0000)]
Merge "Fix QS Open on single finger scroll" into nyc-dev

8 years agoAdd preloading wallpaper to the getWallpaper call.
Vadim Tryshev [Sat, 20 Feb 2016 01:02:15 +0000 (17:02 -0800)]
Add preloading wallpaper to the getWallpaper call.

Otherwise, there is no way to get a wallpaper for
the user that was never loaded.

Bug: 25185253
Change-Id: I88df266f6af7ca78ebc30d78e82e1df3ab09a3c5

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05
Shreyas Basarge [Sat, 20 Feb 2016 01:01:10 +0000 (01:01 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7 am: 339c4f2b05
am: 58048c1f17

* commit '58048c1f17d54166c6a048af2365d17dd32f4d57':
  NPE fix for SyncStorageEngine read authority

8 years agoFinalized GPS=>GNSS changes with documents
Lifu Tang [Wed, 17 Feb 2016 02:07:00 +0000 (18:07 -0800)]
Finalized GPS=>GNSS changes with documents

Bug: 27098594
Change-Id: I24529e60d8eb9b48b644cf01e5efc684e6f04839

8 years agoImplement lenient background check option.
Dianne Hackborn [Wed, 17 Feb 2016 02:26:35 +0000 (18:26 -0800)]
Implement lenient background check option.

Which really means, make background check much more
strict, with an option to revert to the more lenient
behavior.

In this strict version, an app can't have services
started or receive broadcasts at any point when it is
not foreground.  Also, it doesn't matter the importance
of a caller trying to start a service, it only depends
on the state of the app whose service is being started.

A new activity shell command allows you to control
whether to use the strict or lenient behavior.

Change-Id: I7f5a50b52881b5c8f9d8b6c8c622d3652a769fd7

8 years agoSimplify job scheduler service locking.
Dianne Hackborn [Tue, 16 Feb 2016 18:30:33 +0000 (10:30 -0800)]
Simplify job scheduler service locking.

Unify all locks to just one lock protecting the entire service.
There is really no need for more complicated locking -- there is
nothing in the code that can take a long time to complete.  And
having a single lock will allow various parts of the code to be
much simpler and easier to maintain.

This is just the first step of the change, switching all of the
locking to use one lock.  With this done, we can now start
simplifying the code.  For example, JobStatus no longer needs
to do any locking (or have atomic variables and such), it can
just rely on its callers holding the global service lock.

Change-Id: I502916ed7f2994b601750c67a59a96b1a4e95c6d

8 years agoNPE fix for SyncStorageEngine read authority am: a962d9eba7
Shreyas Basarge [Sat, 20 Feb 2016 00:47:41 +0000 (00:47 +0000)]
NPE fix for SyncStorageEngine read authority am: a962d9eba7
am: 339c4f2b05

* commit '339c4f2b055d40acea280a2d4b6c83c17f86a8b5':
  NPE fix for SyncStorageEngine read authority

8 years agoNPE fix for SyncStorageEngine read authority
Shreyas Basarge [Sat, 20 Feb 2016 00:41:03 +0000 (00:41 +0000)]
NPE fix for SyncStorageEngine read authority
am: a962d9eba7

* commit 'a962d9eba7a8f741ed149964126fb08fe4fd7128':
  NPE fix for SyncStorageEngine read authority

8 years agoMerge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev
Yohei Yukawa [Sat, 20 Feb 2016 00:33:20 +0000 (00:33 +0000)]
Merge "Remove unused InputMethodInfo#isEncryptionAware()." into nyc-dev

8 years agoMerge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev
Svetoslav Ganov [Sat, 20 Feb 2016 00:32:56 +0000 (00:32 +0000)]
Merge "Discard prefetched disconnected predecessors of a virtual node." into nyc-dev

8 years agoFix QS Open on single finger scroll
Jason Monk [Sat, 20 Feb 2016 00:32:13 +0000 (19:32 -0500)]
Fix QS Open on single finger scroll

The QSPanel had 0 height when shade was collapsed which messed up
the immediate expand logic.

Bug: 27197894
Change-Id: I623eb5d3b945a83b3410fa5dc52c4f96dd6700cb

8 years agoDiscard prefetched disconnected predecessors of a virtual node.
Svet Ganov [Sat, 20 Feb 2016 00:29:24 +0000 (16:29 -0800)]
Discard prefetched disconnected predecessors of a virtual node.

bug:18247269

Change-Id: I24f1ed1e9aa44fbb847722833fe68a1eef7e92c5

8 years agoMerge "Support drawing circles with drawArc in new pipeline" into nyc-dev
Chris Craik [Sat, 20 Feb 2016 00:18:13 +0000 (00:18 +0000)]
Merge "Support drawing circles with drawArc in new pipeline" into nyc-dev

8 years agoRemove unused InputMethodInfo#isEncryptionAware().
Yohei Yukawa [Fri, 19 Feb 2016 23:04:27 +0000 (15:04 -0800)]
Remove unused InputMethodInfo#isEncryptionAware().

This logically reverts a previous CL [1], which added
InputMethodInfo#isEncryptionAware() for File-Based Encryption (FBE)
support, since it turns out that the method in question is unnecessary
to make InputMethodManagerService encryption-aware.

  [1]: Icf921fe3661eccf4a589b08b616d05decc561356
       69811a98f161a04af8e8ec9978c3a5efe1ea0f29

Bug: 26279466
Change-Id: Ia4884bf5922ad453d4b9e5e3c6f0d17b36dc205d

8 years agoMerge "Cleanup cached state in TestUtils::runOnRenderThread" into nyc-dev
Chris Craik [Sat, 20 Feb 2016 00:13:28 +0000 (00:13 +0000)]
Merge "Cleanup cached state in TestUtils::runOnRenderThread" into nyc-dev

8 years agoSupport drawing circles with drawArc in new pipeline
Chris Craik [Fri, 19 Feb 2016 23:20:35 +0000 (15:20 -0800)]
Support drawing circles with drawArc in new pipeline

bug:26764636

Change-Id: I37d2384fa5e6c1074bb8de85821d58c15659b762

8 years agoMerge "Add Wallpaper.getBitmapAsUser()" into nyc-dev
Vadim Tryshev [Sat, 20 Feb 2016 00:11:40 +0000 (00:11 +0000)]
Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev

8 years agoMerge "Ensure invalidate is called after start()/reverse()" into nyc-dev
Doris Liu [Sat, 20 Feb 2016 00:04:56 +0000 (00:04 +0000)]
Merge "Ensure invalidate is called after start()/reverse()" into nyc-dev

8 years agoMerge "Fix minor bugs:" into nyc-dev
Arunesh Mishra [Fri, 19 Feb 2016 23:57:58 +0000 (23:57 +0000)]
Merge "Fix minor bugs:" into nyc-dev

8 years agoCleanup cached state in TestUtils::runOnRenderThread
Chris Craik [Fri, 19 Feb 2016 23:57:45 +0000 (15:57 -0800)]
Cleanup cached state in TestUtils::runOnRenderThread

Change-Id: I097217c80db5c509d97ef050633946110fccbc80

8 years agoMigrate PeriodicSyncs from old format
Shreyas Basarge [Fri, 19 Feb 2016 23:51:40 +0000 (23:51 +0000)]
Migrate PeriodicSyncs from old format

Periodic syncs that were stored in a file
in earlier versions should be read and
added to JobScheduler when device boots.

Bug: 27261455
Change-Id: I626ce468afc35e5c3c6defd583a0963cc71fc58a

8 years agoMerge "Relax protected broadcast check to allow shell." into nyc-dev
Jeff Sharkey [Fri, 19 Feb 2016 23:52:19 +0000 (23:52 +0000)]
Merge "Relax protected broadcast check to allow shell." into nyc-dev

8 years agoRelax protected broadcast check to allow shell.
Jeff Sharkey [Fri, 19 Feb 2016 23:49:26 +0000 (16:49 -0700)]
Relax protected broadcast check to allow shell.

The shell is often used for developer testing, so we shouldn't
require all of its broadcasts to be protected.

Bug: 27273532
Change-Id: Ic6f262dd11223dee5655614aad30365d51e180c5

8 years agoNPE fix for SyncStorageEngine read authority
Shreyas Basarge [Thu, 18 Feb 2016 11:56:05 +0000 (11:56 +0000)]
NPE fix for SyncStorageEngine read authority

Add a null check after an authority is read
from disk.

Bug: 26513719
Change-Id: I18f01828141110e776cc96f3b3be3d80125e70c1

8 years agoMerge "Clean-up WindowState if exit animation is done before app finishes" into nyc-dev
Wale Ogunwale [Fri, 19 Feb 2016 23:35:39 +0000 (23:35 +0000)]
Merge "Clean-up WindowState if exit animation is done before app finishes" into nyc-dev

8 years agoMerge "NPE Fix in SyncStorageEngine" into nyc-dev
Shreyas Basarge [Fri, 19 Feb 2016 23:31:21 +0000 (23:31 +0000)]
Merge "NPE Fix in SyncStorageEngine" into nyc-dev

8 years agoMerge "Fix a set of random warnings in frameworks/base/" into nyc-dev
Aurimas Liutikas [Fri, 19 Feb 2016 23:20:04 +0000 (23:20 +0000)]
Merge "Fix a set of random warnings in frameworks/base/" into nyc-dev