OSDN Git Service

android-x86/frameworks-base.git
8 years agoRemove InputContentInfo#requestPermission()
Yohei Yukawa [Thu, 30 Jun 2016 16:32:54 +0000 (09:32 -0700)]
Remove InputContentInfo#requestPermission()

It turns out that requiring editor authors to call
InputContentInfo#requestPermission() as needed is just confusing and can
cause compatibility issues, because if an editor author forgot to call
that method then there would be no way for IME developers to prevent
permission denial except for relaxing the default permission of the
ContentProvider just because of such an application. This is not what we
want to see.

My conclusion is that the system should automatically call
InputContentInfo#requestPermission() (or do any equivalent operation)
when InputConnection#INPUT_CONTENT_GRANT_READ_URI_PERMISSION is
specified, like we have done in Context#startActivity().

With this CL, the system automatically grants a temporary URI permission
to the target application when the IME calls
InputConnection#commitContent() with
InputConnection#INPUT_CONTENT_GRANT_READ_URI_PERMISSION, and the
temporary permission will be revoked by any of the following events:
 - InputContentInfo#releasePermission() is explicitly called by the
   target application.
 - The target application returned false in
   InputConnection#commitContent().
 - All the InputContentInfo instances copied from the original one are
   GC-ed.

Bug: 29450031
Bug: 29892936
Change-Id: I37fb744e4d3d1c59177fb0a9be4ef5c325c9a39f

8 years agoMerge "Add a few trace points for animation loading." into nyc-mr1-dev
Chong Zhang [Wed, 29 Jun 2016 01:03:26 +0000 (01:03 +0000)]
Merge "Add a few trace points for animation loading." into nyc-mr1-dev

8 years agoMerge \"Relax security constraint around getAuthenticatorId().\" into nyc-dev
Jim Miller [Wed, 29 Jun 2016 00:45:08 +0000 (00:45 +0000)]
Merge \"Relax security constraint around getAuthenticatorId().\" into nyc-dev
am: 60c04126c9

Change-Id: I28a3559159340d663693976cc58dc34f3c730f6c

8 years agoMerge "Relax security constraint around getAuthenticatorId()." into nyc-dev
Jim Miller [Wed, 29 Jun 2016 00:37:41 +0000 (00:37 +0000)]
Merge "Relax security constraint around getAuthenticatorId()." into nyc-dev

8 years agoMerge changes I9b4e55c2,I429562a0 into nyc-mr1-dev
Hugo Benichi [Wed, 29 Jun 2016 00:15:48 +0000 (00:15 +0000)]
Merge changes I9b4e55c2,I429562a0 into nyc-mr1-dev

* changes:
  Add tests for MetricsLoggerService
  Tests for IpConnectivityMetricsLog

8 years agoRelax security constraint around getAuthenticatorId().
Jim Miller [Tue, 28 Jun 2016 23:43:57 +0000 (16:43 -0700)]
Relax security constraint around getAuthenticatorId().

Fixes bug 28603656

Change-Id: I54216d4b9a3ab23f9d5bfe0f40f2dd27e723c21e

8 years agoProtect REFRESH_BATCHED_SCAN broadcast
Ajay Panicker [Tue, 28 Jun 2016 23:12:37 +0000 (16:12 -0700)]
Protect REFRESH_BATCHED_SCAN broadcast

Bug: 29754520
Change-Id: Id3f43d36db2c5f026a5d3a94e7370051d2e23e37

8 years agoAdd a few trace points for animation loading.
Chong Zhang [Tue, 28 Jun 2016 22:25:07 +0000 (15:25 -0700)]
Add a few trace points for animation loading.

Also make sure focusMayChange is set as before commit 8c5d42.
We only want to skip the applyAnimationLocked if animation is
already set, make sure the rest are equivalent.

bug: 29405575

Change-Id: I8342b82d9e6e02fab002e16ffcde4a7479bf6867

8 years agoMerge \"media: document VP9 CSD for MediaCodec\" into nyc-dev
Lajos Molnar [Tue, 28 Jun 2016 22:32:01 +0000 (22:32 +0000)]
Merge \"media: document VP9 CSD for MediaCodec\" into nyc-dev
am: 1fe8871f04

Change-Id: I5f95ce25ee8099c556f04245291da8345df42584

8 years agoMerge "media: document VP9 CSD for MediaCodec" into nyc-dev
Lajos Molnar [Tue, 28 Jun 2016 22:27:52 +0000 (22:27 +0000)]
Merge "media: document VP9 CSD for MediaCodec" into nyc-dev

8 years agoMerge \"media: document rotation and scaling issues for MediaCodec\" into nyc-dev
Lajos Molnar [Tue, 28 Jun 2016 22:26:44 +0000 (22:26 +0000)]
Merge \"media: document rotation and scaling issues for MediaCodec\" into nyc-dev
am: af9d9f9b3e

Change-Id: Ie9d890df1b77c8fd79766e5ea329e5f8db4a94eb

8 years agoMerge \"media: document format keys for MediaExtractor/CodecCapabilities\" into nyc-dev
Lajos Molnar [Tue, 28 Jun 2016 22:26:42 +0000 (22:26 +0000)]
Merge \"media: document format keys for MediaExtractor/CodecCapabilities\" into nyc-dev
am: 556e012979

Change-Id: I248fbd3da8dd0376d724ca8aee7f8e71bfb260b0

8 years agoMerge "media: document rotation and scaling issues for MediaCodec" into nyc-dev
Lajos Molnar [Tue, 28 Jun 2016 22:21:01 +0000 (22:21 +0000)]
Merge "media: document rotation and scaling issues for MediaCodec" into nyc-dev

8 years agoMerge "media: document format keys for MediaExtractor/CodecCapabilities" into nyc-dev
Lajos Molnar [Tue, 28 Jun 2016 22:19:29 +0000 (22:19 +0000)]
Merge "media: document format keys for MediaExtractor/CodecCapabilities" into nyc-dev

8 years agoMerge \"Fix popup context menu appearing brokenly.\" into nyc-dev
Oren Blasberg [Tue, 28 Jun 2016 21:20:02 +0000 (21:20 +0000)]
Merge \"Fix popup context menu appearing brokenly.\" into nyc-dev
am: 29ea814354

Change-Id: I1fdc4c75bf763a3e0c1411230e5a0cdc21ad882a

8 years agoMerge "Fix popup context menu appearing brokenly." into nyc-dev
Oren Blasberg [Tue, 28 Jun 2016 21:12:26 +0000 (21:12 +0000)]
Merge "Fix popup context menu appearing brokenly." into nyc-dev

8 years agoMerge "Merge \"Remove redundant setPendingIntentWhitelistDuration() calls.\" into...
Android Build Merger (Role) [Tue, 28 Jun 2016 20:49:12 +0000 (20:49 +0000)]
Merge "Merge \"Remove redundant setPendingIntentWhitelistDuration() calls.\" into nyc-dev am: c1374208e3" into nyc-mr1-dev

8 years agoMerge \"Remove redundant setPendingIntentWhitelistDuration() calls.\" into nyc-dev
Felipe Leme [Tue, 28 Jun 2016 20:48:51 +0000 (20:48 +0000)]
Merge \"Remove redundant setPendingIntentWhitelistDuration() calls.\" into nyc-dev
am: c1374208e3

Change-Id: Ie02a847ac513f89c1c430af0e3f559cf0bc2039d

8 years agoMerge "Define deprecated fields in IntDef's" into nyc-mr1-dev
TreeHugger Robot [Tue, 28 Jun 2016 20:48:36 +0000 (20:48 +0000)]
Merge "Define deprecated fields in IntDef's" into nyc-mr1-dev

8 years agoMerge "Remove redundant setPendingIntentWhitelistDuration() calls." into nyc-dev
TreeHugger Robot [Tue, 28 Jun 2016 20:45:37 +0000 (20:45 +0000)]
Merge "Remove redundant setPendingIntentWhitelistDuration() calls." into nyc-dev

8 years agoMerge "Show notification while PRE_BOOT receivers run." into nyc-mr1-dev
TreeHugger Robot [Tue, 28 Jun 2016 20:18:58 +0000 (20:18 +0000)]
Merge "Show notification while PRE_BOOT receivers run." into nyc-mr1-dev

8 years agoFix popup context menu appearing brokenly.
Oren Blasberg [Tue, 28 Jun 2016 18:07:42 +0000 (11:07 -0700)]
Fix popup context menu appearing brokenly.

Add missing attribute to the base Theme to ensure the context menu
does not appear completely invisibly.

Bug: 29796385
Change-Id: I4f50579622e97656e09a5ddb6e13313f84efc972

8 years agoMerge \"Fixed whitelistManager set on unbindServiceLocked()\" into nyc-dev
Felipe Leme [Tue, 28 Jun 2016 19:22:23 +0000 (19:22 +0000)]
Merge \"Fixed whitelistManager set on unbindServiceLocked()\" into nyc-dev
am: 8d78c33c9b

Change-Id: I0339e6ae9261b1ebdd7bbed54540ca253b1b6fd9

8 years agoMerge \"Default minSdkVersion to \'1\'\" into nyc-dev
Todd Kennedy [Tue, 28 Jun 2016 19:16:40 +0000 (19:16 +0000)]
Merge \"Default minSdkVersion to \'1\'\" into nyc-dev
am: a98e3e3ede

Change-Id: I8d2b7205f80b3cae5dce04839890df6aafa8449e

8 years agoMerge "Fixed whitelistManager set on unbindServiceLocked()" into nyc-dev
TreeHugger Robot [Tue, 28 Jun 2016 19:15:33 +0000 (19:15 +0000)]
Merge "Fixed whitelistManager set on unbindServiceLocked()" into nyc-dev

8 years agoDefine deprecated fields in IntDef's
Todd Kennedy [Tue, 28 Jun 2016 19:14:11 +0000 (12:14 -0700)]
Define deprecated fields in IntDef's

Tools need all of the valid constants to handle legacy apps; even
though we want developers to use the new constant names.

Bug: 29824931
Change-Id: I5f8055d50d1d3f32cfbed7459d8a497cfbd3661e

8 years agoMerge "Default minSdkVersion to '1'" into nyc-dev
TreeHugger Robot [Tue, 28 Jun 2016 19:12:48 +0000 (19:12 +0000)]
Merge "Default minSdkVersion to '1'" into nyc-dev

8 years agoMerge "media: document format keys for MediaExtractor/CodecCapabilities" into nyc...
TreeHugger Robot [Tue, 28 Jun 2016 18:54:23 +0000 (18:54 +0000)]
Merge "media: document format keys for MediaExtractor/CodecCapabilities" into nyc-mr1-dev

8 years agoShow notification while PRE_BOOT receivers run.
Jeff Sharkey [Tue, 28 Jun 2016 18:33:12 +0000 (12:33 -0600)]
Show notification while PRE_BOOT receivers run.

Awhile back, we switched to running PRE_BOOT receivers after the user
is unlocked.  Since these receivers include providers like Contacts
and MediaStore that can take a long time to upgrade, it may result in
apps like Dialer or Photos appearing to hang, so we need to help the
user understand that the system is still upgrading in the background.

Bug: 28164677
Change-Id: I18448534b6067f8508b1ffb2d43c106c02c265a0

8 years agoRemove redundant setPendingIntentWhitelistDuration() calls.
Felipe Leme [Tue, 28 Jun 2016 18:29:54 +0000 (11:29 -0700)]
Remove redundant setPendingIntentWhitelistDuration() calls.

Since all pending intents are stored on a Set in the Notication object,
there is no need to individually check for specific pending intents.

BUG: 29480440
Change-Id: I27a18bb535a9a4bb6cb4e76bdc189e6c315a684a

8 years agoMerge "Clip GradientDrawable's saveLayer" into nyc-mr1-dev
TreeHugger Robot [Tue, 28 Jun 2016 18:24:22 +0000 (18:24 +0000)]
Merge "Clip GradientDrawable's saveLayer" into nyc-mr1-dev

8 years agoMerge "Always reload print services" into nyc-mr1-dev
Philip P. Moltmann [Tue, 28 Jun 2016 18:15:37 +0000 (18:15 +0000)]
Merge "Always reload print services" into nyc-mr1-dev

8 years agoFixed whitelistManager set on unbindServiceLocked()
Felipe Leme [Tue, 28 Jun 2016 17:38:59 +0000 (10:38 -0700)]
Fixed whitelistManager set on unbindServiceLocked()

It must call updateWhitelistManagerLocked() because the app might have
other services with the whitelistManager set, in which case the process
record should not have whitelistManager reset.

Fixes: 29480440

Change-Id: I268278c646aaa89a352f02178b294c02c3c11d35

8 years agomedia: document rotation and scaling issues for MediaCodec
Lajos Molnar [Fri, 24 Jun 2016 01:07:58 +0000 (18:07 -0700)]
media: document rotation and scaling issues for MediaCodec

Bug: 23709311
Bug: 28512795
Change-Id: Iddebd13b4cd4c50bca8736d3aca71571ad16633a

8 years agoMerge "Fix savelayer rounding" into nyc-mr1-dev
Chris Craik [Tue, 28 Jun 2016 17:33:26 +0000 (17:33 +0000)]
Merge "Fix savelayer rounding" into nyc-mr1-dev

8 years agoDefault minSdkVersion to '1'
Todd Kennedy [Tue, 28 Jun 2016 17:31:05 +0000 (10:31 -0700)]
Default minSdkVersion to '1'

Exception when targetSdkVersion is a letter API [eg 'N']. While this
is technically not according to the external docs, it's the behaviour
with prior platforms.

Bug: 29817839
Change-Id: I8382909dbe62de7b2ddfb7995ce11d5c2f43372e

8 years agoMerge \"Add a flag to enable instrumentation of the framework classes.\" into nyc-dev
Allen Hair [Tue, 28 Jun 2016 17:30:21 +0000 (17:30 +0000)]
Merge \"Add a flag to enable instrumentation of the framework classes.\" into nyc-dev
am: 15783f0073

Change-Id: I9439934c0fff5c0e23fe0000252c8781f0540a81

8 years agoMerge "Add a flag to enable instrumentation of the framework classes." into nyc-dev
Allen Hair [Tue, 28 Jun 2016 17:23:54 +0000 (17:23 +0000)]
Merge "Add a flag to enable instrumentation of the framework classes." into nyc-dev

8 years agomedia: document format keys for MediaExtractor/CodecCapabilities
Lajos Molnar [Thu, 23 Jun 2016 23:52:29 +0000 (16:52 -0700)]
media: document format keys for MediaExtractor/CodecCapabilities

Bug: 29618892
Change-Id: I78049997c153fe00fbcf4475eeefdc937de284dd

8 years agoFix savelayer rounding
Chris Craik [Mon, 27 Jun 2016 23:30:27 +0000 (16:30 -0700)]
Fix savelayer rounding

bug:29456451

Change-Id: I8022163d2c004510da5db74efdca27582484224d

8 years agoClip GradientDrawable's saveLayer
Chris Craik [Tue, 28 Jun 2016 16:33:04 +0000 (09:33 -0700)]
Clip GradientDrawable's saveLayer

bug:29456451

Avoid using very expensive unclipped saveLayer codepath.

Change-Id: Ib96a46169faa89eda6889b16813a7941ab402779

8 years agoMerge \"resolve merge conflicts of ac5b340 to nyc-dev\" into nyc-dev
Daniel Yu [Tue, 28 Jun 2016 16:28:24 +0000 (16:28 +0000)]
Merge \"resolve merge conflicts of ac5b340 to nyc-dev\" into nyc-dev
am: 6ec78a6458

Change-Id: Ie77c87f366c21acb05afcf5d03ddc6d75e9b950a

8 years agoMerge "resolve merge conflicts of ac5b340 to nyc-dev" into nyc-dev
Dan Yu [Tue, 28 Jun 2016 16:21:56 +0000 (16:21 +0000)]
Merge "resolve merge conflicts of ac5b340 to nyc-dev" into nyc-dev

8 years agoMerge "Syncronize renderPage vs. onServiceDisconnected" into nyc-mr1-dev
Philip P. Moltmann [Tue, 28 Jun 2016 16:14:30 +0000 (16:14 +0000)]
Merge "Syncronize renderPage vs. onServiceDisconnected" into nyc-mr1-dev

8 years agoMerge "media: document VP9 CSD for MediaCodec" into nyc-mr1-dev
TreeHugger Robot [Tue, 28 Jun 2016 15:56:41 +0000 (15:56 +0000)]
Merge "media: document VP9 CSD for MediaCodec" into nyc-mr1-dev

8 years agoMerge \"SyncOperation float cast fix\" into nyc-dev
Shreyas Basarge [Tue, 28 Jun 2016 15:43:00 +0000 (15:43 +0000)]
Merge \"SyncOperation float cast fix\" into nyc-dev
am: 5f72b129c4

Change-Id: I50ab6249e81ff7523a82f26bd39b52bb362f4ae4

8 years agoMerge "SyncOperation float cast fix" into nyc-dev
Shreyas Basarge [Tue, 28 Jun 2016 15:38:05 +0000 (15:38 +0000)]
Merge "SyncOperation float cast fix" into nyc-dev

8 years agomedia: document VP9 CSD for MediaCodec
Lajos Molnar [Fri, 24 Jun 2016 00:52:48 +0000 (17:52 -0700)]
media: document VP9 CSD for MediaCodec

Also document that concatenated CSD is only supported for AVC.

Bug: 10672559
Change-Id: I54867655068802ef35f92a6341f8b5bb068555ee

8 years agoPurr.
Dan Sandler [Tue, 28 Jun 2016 07:07:24 +0000 (07:07 +0000)]
Purr.
am: 610f6ede25

Change-Id: I252d53781fbe151b21909617ecb92ab9f2e9187a

8 years agoOne final tweak to the platlogo.
Dan Sandler [Tue, 28 Jun 2016 07:07:22 +0000 (07:07 +0000)]
One final tweak to the platlogo.
am: 4b7e415803

Change-Id: Ibbe66c569c0be5fc1801d8af9b5810ac997854d8

8 years agoFix SuperNotCalledException.
Dan Sandler [Tue, 28 Jun 2016 07:07:20 +0000 (07:07 +0000)]
Fix SuperNotCalledException.
am: 04f8cc2bb3

Change-Id: I52977c00a41ec0db599b67cdc2617f1c602667a6

8 years agoPurr.
Dan Sandler [Tue, 28 Jun 2016 05:25:08 +0000 (01:25 -0400)]
Purr.

Bug: 27376882
Change-Id: I071d00c9a7847b8ff9b263ffd17581079b78a432

8 years agoOne final tweak to the platlogo.
Dan Sandler [Tue, 28 Jun 2016 02:02:12 +0000 (22:02 -0400)]
One final tweak to the platlogo.

Bug: 27376882
Change-Id: Ie60600018204f48593975b947d6fc10f4dd8a69f

8 years agoFix SuperNotCalledException.
Dan Sandler [Tue, 28 Jun 2016 01:33:27 +0000 (21:33 -0400)]
Fix SuperNotCalledException.

Q. Dan, how did you make such a basic newbie mistake?
A. new phone who dis

Bug: 29779845
Change-Id: Iecba53effcf6252df228afd2cc80df43b2afaa59

8 years agoAdd tests for MetricsLoggerService
Hugo Benichi [Mon, 6 Jun 2016 02:31:41 +0000 (11:31 +0900)]
Add tests for MetricsLoggerService

Bug: 29035129
Change-Id: I9b4e55c20f4ed3a2a642419369a5d95efbbcb54d

8 years agoTests for IpConnectivityMetricsLog
Hugo Benichi [Mon, 30 May 2016 05:42:29 +0000 (14:42 +0900)]
Tests for IpConnectivityMetricsLog

Bug: 28204408
Bug: 29035129
Change-Id: I429562a00904188947b11da9928ec5c01296ff97

8 years agoMerge "Add disable add call during video call extra and carrier config key" into...
Hall Liu [Tue, 28 Jun 2016 02:29:04 +0000 (02:29 +0000)]
Merge "Add disable add call during video call extra and carrier config key" into nyc-mr1-dev

8 years agoMerge "Fix SurfaceViewPositionListener race bugs" into nyc-mr1-dev
TreeHugger Robot [Tue, 28 Jun 2016 01:26:42 +0000 (01:26 +0000)]
Merge "Fix SurfaceViewPositionListener race bugs" into nyc-mr1-dev

8 years agoMerge "Add tron logging for retail demo session counters" into nyc-mr1-dev
Amith Yamasani [Tue, 28 Jun 2016 01:03:16 +0000 (01:03 +0000)]
Merge "Add tron logging for retail demo session counters" into nyc-mr1-dev

8 years agoMerge \"Mark app pending intents in notification extras\" into nyc-dev
Svet Ganov [Tue, 28 Jun 2016 00:46:55 +0000 (00:46 +0000)]
Merge \"Mark app pending intents in notification extras\" into nyc-dev
am: b2cd9c95bf

Change-Id: Idb515255f224c23d60a513713d9e4f93decd7a9c

8 years agoMerge "Mark app pending intents in notification extras" into nyc-dev
Svetoslav Ganov [Tue, 28 Jun 2016 00:42:23 +0000 (00:42 +0000)]
Merge "Mark app pending intents in notification extras" into nyc-dev

8 years agoMark app pending intents in notification extras
Svet Ganov [Fri, 24 Jun 2016 02:55:24 +0000 (19:55 -0700)]
Mark app pending intents in notification extras

We need to make every peniding intent that went in the notification
system to allow special handling of such intents when fired by a
notification listener. If a pending intent from a notification
is sent from a notification listener, we white-list the source app
to run in data saver mode for a short period of time. The problem is
that actions and the notificaion can have extras which bundles may
contain pending intents but the system cannot look into the bundles
as they may contain custom parcelable objects. To address this we
keep a list of all pending intents in the notification allowing
the system to access them without touching the bundle. Currently
the pending intents are written to the parcel twice, once in the
bundle and once as the explicit list. We can come up with a scheme
to optimize this but since pending itents are just a binder pointer
it is not worth the excecise.

bug:29480440

Change-Id: I7328a47017ca226117adf7054900836619f5679b

8 years agoAdd a flag to enable instrumentation of the framework classes.
Allen Hair [Tue, 28 Jun 2016 00:01:50 +0000 (17:01 -0700)]
Add a flag to enable instrumentation of the framework classes.

Bug: 29777843
Change-Id: I0f3639ad1303a9b2cc612f99cde427dedff4874f

8 years agoAdd disable add call during video call extra and carrier config key
Hall Liu [Thu, 16 Jun 2016 00:55:00 +0000 (17:55 -0700)]
Add disable add call during video call extra and carrier config key

Bug: 29047863

Change-Id: I977041ec72968bdccc69a706e27dd4b5ec336ba7

8 years agoMerge \"Fix bug where process whitelist manager state would not be correct.\" into...
Dianne Hackborn [Mon, 27 Jun 2016 23:56:58 +0000 (23:56 +0000)]
Merge \"Fix bug where process whitelist manager state would not be correct.\" into nyc-dev
am: a39d380651

Change-Id: Ideb81a07d14e1fff71593cec822f3120c4f523f6

8 years agoMerge "Fix bug where process whitelist manager state would not be correct." into...
Dianne Hackborn [Mon, 27 Jun 2016 23:52:00 +0000 (23:52 +0000)]
Merge "Fix bug where process whitelist manager state would not be correct." into nyc-dev

8 years agoMerge "Frameworks/base: Add new flow to OtaDexoptService" into nyc-mr1-dev
TreeHugger Robot [Mon, 27 Jun 2016 23:50:36 +0000 (23:50 +0000)]
Merge "Frameworks/base: Add new flow to OtaDexoptService" into nyc-mr1-dev

8 years agoMerge \"Add extra waiting when switching users\" into nyc-dev
Pavlin Radoslavov [Mon, 27 Jun 2016 23:46:27 +0000 (23:46 +0000)]
Merge \"Add extra waiting when switching users\" into nyc-dev
am: 4d6be6b308

Change-Id: Ibf3fc8f0176e2d02fe3548146928c9b66986e428

8 years agoMerge "Add extra waiting when switching users" into nyc-dev
Andre Eisenbach [Mon, 27 Jun 2016 23:42:15 +0000 (23:42 +0000)]
Merge "Add extra waiting when switching users" into nyc-dev

8 years agoAlways reload print services
Philip P. Moltmann [Mon, 27 Jun 2016 23:20:08 +0000 (16:20 -0700)]
Always reload print services

We want to reload print service if anything relevant changed. E.g. this can
be the label. Which label is loaded depends on the the resolve info and
the package manager. Hence short of reverse engineering what fields are
used to determine how this is done it is very hard to say how we figure
out the label.

Hence the only option we have is to reload the print services every time
a print services is added, removed or changed.

Change-Id: Iff5a05dd1cad923da42c360a88559a2cc61c95aa
Fixes: 29765394

8 years agoMerge \"Fix #29737133 : content-trigger jobs not running properly\" into nyc-dev
Christopher Tate [Mon, 27 Jun 2016 23:24:01 +0000 (23:24 +0000)]
Merge \"Fix #29737133 : content-trigger jobs not running properly\" into nyc-dev
am: f480698298

Change-Id: I957ae07c46573f0e6a066cc1cb0a27b8bafe5811

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Mon, 27 Jun 2016 23:19:28 +0000 (23:19 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoMerge "Fix #29737133 : content-trigger jobs not running properly" into nyc-dev
Chris Tate [Mon, 27 Jun 2016 23:18:30 +0000 (23:18 +0000)]
Merge "Fix #29737133 : content-trigger jobs not running properly" into nyc-dev

8 years agoFix #29737133 : content-trigger jobs not running properly
Christopher Tate [Mon, 27 Jun 2016 23:12:41 +0000 (16:12 -0700)]
Fix #29737133 : content-trigger jobs not running properly

When removing the ContentObserver wrapper from our internal
bookkeeping we were using the wrong key.  That led to future
re-registrations thinking they were reusing a currently-
registered observers, but instead never getting onChange()
notifications.

Change-Id: Id3111db057ae63194049d7d48d45b75be6bb0000

8 years agoMerge "Fix AttributeCache" into nyc-mr1-dev
TreeHugger Robot [Mon, 27 Jun 2016 23:11:32 +0000 (23:11 +0000)]
Merge "Fix AttributeCache" into nyc-mr1-dev

8 years agoAdd extra waiting when switching users
Pavlin Radoslavov [Mon, 27 Jun 2016 22:25:18 +0000 (15:25 -0700)]
Add extra waiting when switching users

If disabling Bluetooth times out, wait for an additional amount of time
to ensure the process is shut down completely before attempting to restart.

Bug: 29738770
Change-Id: I43dec35a1e03d12cb07863babea97d55baa32528

8 years agoFix bug where process whitelist manager state would not be correct.
Dianne Hackborn [Mon, 27 Jun 2016 22:07:18 +0000 (15:07 -0700)]
Fix bug where process whitelist manager state would not be correct.

We can't update this in updateOomAdjLocked(), because we very
deliberately only iterate through services in there as needed.
The correct thing to do is update the process as services/connections
are associated with it, so do that.

Now basically all of the logic for tracking the state is in
ActiveServices, as we bind and unbind services and add and removing
them from process records.  It's a little messy because we don't
have a central place for removing them from process records, which
should be cleaned up in the future.

Part of fixes for issue #29480440

Change-Id: Iac96f002a5b4e3b0277df244ff7b90f59a6e8440

8 years agoMerge \"Add missing roundOut for layer damage\" into nyc-dev
John Reck [Mon, 27 Jun 2016 22:28:41 +0000 (22:28 +0000)]
Merge \"Add missing roundOut for layer damage\" into nyc-dev
am: 48cde353eb

Change-Id: I99532e6b7992452523c4fb0716a7161c06b92950

8 years agoMerge "Add missing roundOut for layer damage" into nyc-dev
John Reck [Mon, 27 Jun 2016 22:22:40 +0000 (22:22 +0000)]
Merge "Add missing roundOut for layer damage" into nyc-dev

8 years agoAdd missing roundOut for layer damage
John Reck [Mon, 27 Jun 2016 22:13:54 +0000 (15:13 -0700)]
Add missing roundOut for layer damage

fixes: 29771171

This is a regression from HWUI_NEW_OPS, a roundOut
was missing in the new path that was in the old one

Change-Id: Ibf223d550bb5525781864dd9b7f7cd6d73adb98b

8 years agoMerge "Allow system apps to have disabled QS tiles." into nyc-mr1-dev
William Harmon [Mon, 27 Jun 2016 22:15:45 +0000 (22:15 +0000)]
Merge "Allow system apps to have disabled QS tiles." into nyc-mr1-dev

8 years agoAllow system apps to have disabled QS tiles.
Will Harmon [Sat, 25 Jun 2016 00:02:34 +0000 (17:02 -0700)]
Allow system apps to have disabled QS tiles.

Otherwise the tile can get removed on bootup if the tile is disabled by
default.

Fixes: 29509725

Change-Id: Icc6b63b6cf9b9cdca367c79c3175896c87041e05

8 years agoFrameworks/base: Add new flow to OtaDexoptService
Andreas Gampe [Fri, 24 Jun 2016 03:27:12 +0000 (20:27 -0700)]
Frameworks/base: Add new flow to OtaDexoptService

Add functionality to capture/intercept installd communication, and
use this to return the full communication for dexopt. These parameters
can be used to drive otapreopt_chroot directly.

Keep the old direct invocation alive until devices have transitioned
to a service that exposes this API.

In preparation for renaming of A/B OTA artifacts to include target
slot names.

Bug: 25612095
Bug: 28069686
Change-Id: I14728ee1266f3882cada8f08dd21891ed5f7a0cb

8 years agoRound unclipped saveLayers
Chris Craik [Mon, 27 Jun 2016 21:45:03 +0000 (21:45 +0000)]
Round unclipped saveLayers
am: 45e83338e5

Change-Id: Ifc598495cb8ad99b9f1534c1d783c3e4f483f1c5

8 years agoMerge "Add onConferenceSupportedChanged callback, carrier config." into nyc-mr1-dev
Tyler Gunn [Mon, 27 Jun 2016 21:35:48 +0000 (21:35 +0000)]
Merge "Add onConferenceSupportedChanged callback, carrier config." into nyc-mr1-dev

8 years agoSyncronize renderPage vs. onServiceDisconnected
Philip P. Moltmann [Mon, 27 Jun 2016 18:41:29 +0000 (11:41 -0700)]
Syncronize renderPage vs. onServiceDisconnected

An async renderPage request might be in progress while the service is
getting disconnected.

Fixes: 29639740
Change-Id: I8a33e5fba96dd76ecb1e14d0e3a26334eb8965a5

8 years agoRound unclipped saveLayers
Chris Craik [Fri, 24 Jun 2016 20:53:37 +0000 (13:53 -0700)]
Round unclipped saveLayers

fixes: 29456451

Change-Id: I2be8b47c46936e75071ad0819a718f72b96cbd2b
(cherry picked from commit d5a90114128f4d3d528f1a0e93651496c968f940)

8 years agoMerge \"Resume only activities in focused stack\" into nyc-dev
Andrii Kulian [Mon, 27 Jun 2016 21:02:56 +0000 (21:02 +0000)]
Merge \"Resume only activities in focused stack\" into nyc-dev
am: 06b1d786e9

Change-Id: I699695002213bdc0482d6b44447a5c26a27445d1

8 years agoMerge \"Fix smooth panel deceleration\" into nyc-dev
Jorim Jaggi [Mon, 27 Jun 2016 20:54:29 +0000 (20:54 +0000)]
Merge \"Fix smooth panel deceleration\" into nyc-dev
am: e858432241

Change-Id: I2520d88620d5f3f12cab60a9422db8a41e40bec8

8 years agoMerge "Resume only activities in focused stack" into nyc-dev
Andrii Kulian [Mon, 27 Jun 2016 20:50:01 +0000 (20:50 +0000)]
Merge "Resume only activities in focused stack" into nyc-dev

8 years agoMerge "Fix smooth panel deceleration" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 20:44:55 +0000 (20:44 +0000)]
Merge "Fix smooth panel deceleration" into nyc-dev

8 years agoFix SurfaceViewPositionListener race bugs
John Reck [Mon, 27 Jun 2016 20:27:23 +0000 (13:27 -0700)]
Fix SurfaceViewPositionListener race bugs

Bug: 29628138

1: Make windowPositionLost synchronous as that's
what the Java side was expecting

2: Make the listener ref counted as otherwise
there's a race condition with the GC, which could
end up with use-after-frees

3: Ensure that all position updates are invoked
prior to frame completion

Change-Id: Iedbc017f611ba2878a49b4586612f79249ca2fe3

8 years agoMerge "Merge \"Fix mistranslation from the NDK changelog.\" into nyc-dev am: 95fbc2de...
Android Build Merger (Role) [Mon, 27 Jun 2016 20:21:25 +0000 (20:21 +0000)]
Merge "Merge \"Fix mistranslation from the NDK changelog.\" into nyc-dev am: 95fbc2de1b" into nyc-mr1-dev

8 years agoMerge \"Fix mistranslation from the NDK changelog.\" into nyc-dev
Dan Albert [Mon, 27 Jun 2016 20:21:01 +0000 (20:21 +0000)]
Merge \"Fix mistranslation from the NDK changelog.\" into nyc-dev
am: 95fbc2de1b

Change-Id: I612b9e58060b46af2b1dce7f6d0faf91d9674d8c

8 years agoMerge "Use a flag to grant a temporary URI permission." into nyc-mr1-dev
Yohei Yukawa [Mon, 27 Jun 2016 20:18:50 +0000 (20:18 +0000)]
Merge "Use a flag to grant a temporary URI permission." into nyc-mr1-dev

8 years agoMerge "Fix mistranslation from the NDK changelog." into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 20:13:52 +0000 (20:13 +0000)]
Merge "Fix mistranslation from the NDK changelog." into nyc-dev

8 years agoMerge "Don't reuse userids that are being cleaned up on boot" into nyc-mr1-dev
Amith Yamasani [Mon, 27 Jun 2016 20:13:00 +0000 (20:13 +0000)]
Merge "Don't reuse userids that are being cleaned up on boot" into nyc-mr1-dev

8 years agoMerge "Remove reference to obsolete installation step. am: 17d0ccb1a9" into nyc-mr1-dev
Android Build Merger (Role) [Mon, 27 Jun 2016 20:02:54 +0000 (20:02 +0000)]
Merge "Remove reference to obsolete installation step. am: 17d0ccb1a9" into nyc-mr1-dev

8 years agoRemove reference to obsolete installation step.
Dan Albert [Mon, 27 Jun 2016 20:02:29 +0000 (20:02 +0000)]
Remove reference to obsolete installation step.
am: 17d0ccb1a9

Change-Id: Iee295980a2c19e4319f569e81f9875d61b52506f

8 years agoMerge "Add new private theme for Dialer." into nyc-mr1-dev
Andrew Sapperstein [Mon, 27 Jun 2016 20:01:31 +0000 (20:01 +0000)]
Merge "Add new private theme for Dialer." into nyc-mr1-dev