OSDN Git Service

android-x86/frameworks-base.git
7 years agoAdd bound checks to utf16_to_utf8
Sergio Giro [Tue, 28 Jun 2016 17:26:10 +0000 (18:26 +0100)]
Add bound checks to utf16_to_utf8

Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3

7 years agoMerge "Only clip PopupWindow in the vertical direction" into nyc-dev
Alan Viverette [Thu, 30 Jun 2016 17:24:21 +0000 (17:24 +0000)]
Merge "Only clip PopupWindow in the vertical direction" into nyc-dev

7 years agoOnly clip PopupWindow in the vertical direction
Alan Viverette [Thu, 30 Jun 2016 17:17:26 +0000 (13:17 -0400)]
Only clip PopupWindow in the vertical direction

Bug: 29865091
Change-Id: Ic4e3b50571034f341aff2c2fbf2c349342622448

7 years agoMerge "Exclude children from excess space distribution when using largest child"...
TreeHugger Robot [Thu, 30 Jun 2016 17:07:06 +0000 (17:07 +0000)]
Merge "Exclude children from excess space distribution when using largest child" into nyc-dev

7 years agoExclude children from excess space distribution when using largest child
Alan Viverette [Thu, 30 Jun 2016 15:15:36 +0000 (11:15 -0400)]
Exclude children from excess space distribution when using largest child

Preserves API 23 behavior.

Bug: 29872769
Change-Id: I514cde81dcca4d78238f407251805cced4c0bea1

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Thu, 30 Jun 2016 03:14:05 +0000 (03:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

7 years agoMerge "Fix Windows NDK labeling." into nyc-dev
TreeHugger Robot [Thu, 30 Jun 2016 01:59:33 +0000 (01:59 +0000)]
Merge "Fix Windows NDK labeling." into nyc-dev

7 years agoMove getRecentTasks() to ParceledListSlice.
Jeff Sharkey [Wed, 29 Jun 2016 22:00:55 +0000 (16:00 -0600)]
Move getRecentTasks() to ParceledListSlice.

In extreme cases the list of recent tasks can grow beyond the size
of a single Binder transaction.  This change moves over to
ParceledListSlice which handles chunking any large results.

Bug: 29635557
Change-Id: Iaf1227234f5f8c9451f73a6a5c1dc89f2067f05f

7 years agoDocs: Links added to pages for permissions and configuration activity am: cdfe5e4f55
Bert McMeen [Wed, 29 Jun 2016 21:59:31 +0000 (21:59 +0000)]
Docs: Links added to pages for permissions and configuration activity am: cdfe5e4f55
am: 7a6494aeaf

Change-Id: I907cf418d0a53827a7448135b0d712f41d0024e8

7 years agoDocs: Links added to pages for permissions and configuration activity
Bert McMeen [Wed, 29 Jun 2016 21:54:42 +0000 (21:54 +0000)]
Docs: Links added to pages for permissions and configuration activity
am: cdfe5e4f55

Change-Id: I3e9cde3cb24c5c779059c4708b144a2376c9616c

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 29 Jun 2016 20:45:21 +0000 (13:45 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API...
Dianne Hackborn [Wed, 29 Jun 2016 20:38:17 +0000 (20:38 +0000)]
Merge "Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API" into nyc-dev

7 years agoMerge "docs: Edits to Instant Apps FAQs, index page." into nyc-dev
David Friedman [Wed, 29 Jun 2016 20:26:41 +0000 (20:26 +0000)]
Merge "docs: Edits to Instant Apps FAQs, index page." into nyc-dev

7 years agoMerge "Recents: Make sure blacklist checks the package name as well as activity name...
Sid Soundararajan [Wed, 29 Jun 2016 20:02:51 +0000 (20:02 +0000)]
Merge "Recents: Make sure blacklist checks the package name as well as activity name" into nyc-dev

7 years agoRecents: Make sure blacklist checks the package name as well as activity name
Sid Soundararajan [Wed, 29 Jun 2016 18:57:21 +0000 (11:57 -0700)]
Recents: Make sure blacklist checks the package name as well as activity name

BUG: 28719274
BUG: 28764678
Change-Id: Ib17d3feda8997ce5b29060bff47d51f503c868dc

7 years agoFix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API
Dianne Hackborn [Wed, 29 Jun 2016 18:48:14 +0000 (11:48 -0700)]
Fix issue #29871385: Need JobScheduler.scheduleAsPackage to be system API

Change-Id: I0034b1681158b9a010d01fb0fcbe7990d9038c1f

7 years agoMerge "Disable constant state sharing for VectorDrawable" into nyc-dev
Alan Viverette [Wed, 29 Jun 2016 16:54:28 +0000 (16:54 +0000)]
Merge "Disable constant state sharing for VectorDrawable" into nyc-dev

7 years agoDisable constant state sharing for VectorDrawable
Alan Viverette [Wed, 29 Jun 2016 15:32:13 +0000 (11:32 -0400)]
Disable constant state sharing for VectorDrawable

Bug: 29854240
Change-Id: Icc58d04ad6f471d05b085a9089893e4f7205eb7d

7 years agoMerge "Only use one SurfaceControlWithBackground per AppToken." into nyc-dev
Rob Carr [Wed, 29 Jun 2016 03:27:47 +0000 (03:27 +0000)]
Merge "Only use one SurfaceControlWithBackground per AppToken." into nyc-dev

7 years agoOnly use one SurfaceControlWithBackground per AppToken.
Robert Carr [Wed, 29 Jun 2016 00:32:37 +0000 (17:32 -0700)]
Only use one SurfaceControlWithBackground per AppToken.

In the past, if an app never renders to a SurfaceView, it will be
invisible despite having FLAG_OPAQUE. This means an app could leave a
totally empty SurfaceView (never drawing in to it) on top of a second
SurfaceView, and expect the second one to be visible. This is probably
buggy app behavior because FLAG_OPAQUE means if they ever draw anything at all
in to the top SurfaceView the bottom one will become totally invisible.
However this has worked in the past, so we have to preserve things for
apps. To accomplish this we ensure only the bottom most visible
SurfaceView for a given AppToken will receive a background. We achieve
this by synchronizing through the app token whenever visibility or
layering of a SurfaceView changes.

Bug: 29580298
Change-Id: I0023326323cb961b56404fd49093384e7b72aa54

7 years agoMove preloading to boot complete.
Winson [Wed, 29 Jun 2016 01:25:15 +0000 (18:25 -0700)]
Move preloading to boot complete.

Bug: 29320695
Change-Id: I14b5127b218597f3c32e647e0443a88b5a708ce1

7 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

7 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

7 years agoDocs: Links added to pages for permissions and configuration activity
Bert McMeen [Tue, 28 Jun 2016 23:24:13 +0000 (16:24 -0700)]
Docs: Links added to pages for permissions and configuration activity

Bug: 28864917
Change-Id: Ieab325f20dac3bba6028e5c70813d4035063d0cf

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

Bug: 27376882
Change-Id: I071d00c9a7847b8ff9b263ffd17581079b78a432

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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)

7 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

7 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

7 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

7 years agoFix Windows NDK labeling.
Dan Albert [Mon, 27 Jun 2016 19:56:37 +0000 (12:56 -0700)]
Fix Windows NDK labeling.

32-bit and 64-bit labels are backward.

Bug: http://b/29523188
Bug: https://github.com/android-ndk/ndk/issues/127
Change-Id: I87de0730c54555dc219d170fd600ec23a51decc2

7 years agoFix smooth panel deceleration
Jorim Jaggi [Mon, 27 Jun 2016 18:50:58 +0000 (11:50 -0700)]
Fix smooth panel deceleration

State of dismiss view was wrong when the panel was closed, thus, we didn't
apply our logic for smooth panel deceleration anymore.

Bug: 29579394
Change-Id: I79718517e776adad092457aba6db18219998fde1

7 years agoFix mistranslation from the NDK changelog.
Dan Albert [Mon, 27 Jun 2016 18:19:11 +0000 (11:19 -0700)]
Fix mistranslation from the NDK changelog.

Gingerbread begins at API level 9, not 10.

Bug: https://github.com/android-ndk/ndk/issues/136
Change-Id: Ie65e543c06bed925f33e2cac92a27d6b83934a88

7 years agoRemove reference to obsolete installation step.
Dan Albert [Mon, 27 Jun 2016 17:52:24 +0000 (10:52 -0700)]
Remove reference to obsolete installation step.

Bug: https://github.com/android-ndk/ndk/issues/136
Change-Id: Idd08b009fefd69053675545bf94fda2147e01318

7 years agoMerge "Add redirect for new Run/Debug Config doc b/29615014" into nyc-dev
Cheryl Potter [Mon, 27 Jun 2016 18:02:53 +0000 (18:02 +0000)]
Merge "Add redirect for new Run/Debug Config doc b/29615014" into nyc-dev

7 years agoResume only activities in focused stack
Andrii Kulian [Mon, 27 Jun 2016 17:53:53 +0000 (10:53 -0700)]
Resume only activities in focused stack

While performing ensureActivitiesVisibleLocked we should only
resume activity in focused stack. Otherwise we can get several
resumed activities at the same time.

Bug: 29619461
Change-Id: Id65fe1a29841ee3166694bfb6a8236151b9fc7ec

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 17:34:24 +0000 (17:34 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

7 years agoMerge "Most cats would prefer chicken." into nyc-dev
Daniel Sandler [Mon, 27 Jun 2016 16:56:29 +0000 (16:56 +0000)]
Merge "Most cats would prefer chicken." into nyc-dev

7 years agoMerge "Add missing null checks" into nyc-dev
John Reck [Mon, 27 Jun 2016 16:55:28 +0000 (16:55 +0000)]
Merge "Add missing null checks" into nyc-dev

7 years agoMost cats would prefer chicken.
Dan Sandler [Mon, 27 Jun 2016 15:51:14 +0000 (11:51 -0400)]
Most cats would prefer chicken.

Bug: 27376882
Change-Id: I2c6d04c2515fd23e44120a3f9ffd6b1668d521ff

7 years agoAdd redirect for new Run/Debug Config doc
Cheryl Potter [Mon, 27 Jun 2016 16:23:14 +0000 (09:23 -0700)]
Add redirect for new Run/Debug Config doc
b/29615014

Change-Id: Iff3d896d5f3788d0d20be0bfb6f305a77e094721

7 years agoMerge "media: document format keys for MediaMuxer" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 16:10:38 +0000 (16:10 +0000)]
Merge "media: document format keys for MediaMuxer" into nyc-dev

7 years agoMerge "media: document output image crop and layout for MediaCodec" into nyc-dev
TreeHugger Robot [Mon, 27 Jun 2016 16:09:50 +0000 (16:09 +0000)]
Merge "media: document output image crop and layout for MediaCodec" into nyc-dev

7 years agoAdd missing null checks
John Reck [Mon, 27 Jun 2016 14:56:37 +0000 (07:56 -0700)]
Add missing null checks

Bug: 29743482
Change-Id: Ic4bc5b9d5718eabd41e09a108a765b01aef4e3c8

7 years agoSyncOperation float cast fix
Shreyas Basarge [Fri, 24 Jun 2016 17:45:51 +0000 (18:45 +0100)]
SyncOperation float cast fix

Fix casting of Float into Double in SyncOperation.

Bug: 29510536
Change-Id: I553e8988e4bc09c3624e42f6f108f723007d32c4

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 27 Jun 2016 09:31:14 +0000 (02:31 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Update finding success page to feature playbook." into nyc-dev
Dirk Dougherty [Mon, 27 Jun 2016 02:49:25 +0000 (02:49 +0000)]
Merge "Update finding success page to feature playbook." into nyc-dev

7 years agoCats are not, technically, tasty treats.
Dan Sandler [Wed, 22 Jun 2016 04:05:11 +0000 (00:05 -0400)]
Cats are not, technically, tasty treats.

Bug: 27376882
Change-Id: I97183339e51c5d07fe6e9404bbcc5178ca605c05
Copilot: Jason Monk <jmonk@google.com>

7 years agoUpdate finding success page to feature playbook.
Dirk Dougherty [Fri, 24 Jun 2016 19:08:00 +0000 (12:08 -0700)]
Update finding success page to feature playbook.

Bug: 29207942
Change-Id: Ia8be8fa45bf9e37bb31627bdba042c7b3cfbe8c0

7 years agomedia: document output image crop and layout for MediaCodec
Lajos Molnar [Thu, 23 Jun 2016 23:34:48 +0000 (16:34 -0700)]
media: document output image crop and layout for MediaCodec

These use hidden, now deprecated MediaFormat keys.

Bug: 14127601
Change-Id: Ib51e4ef41204c9be34ad571300fcb7860feb504e

7 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

7 years agomedia: document format keys for MediaMuxer
Lajos Molnar [Fri, 24 Jun 2016 00:51:15 +0000 (17:51 -0700)]
media: document format keys for MediaMuxer

Bug: 19461810
Change-Id: Iee4396aa6f00b3f580c02fa99f0b9291700f5738

7 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

7 years agoMerge "Update DisplayMetrics when resizing" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 23:35:12 +0000 (23:35 +0000)]
Merge "Update DisplayMetrics when resizing" into nyc-dev

7 years agoMerge "Fix layout issue after insets changed" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 23:21:28 +0000 (23:21 +0000)]
Merge "Fix layout issue after insets changed" into nyc-dev

7 years agoMerge "PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL." into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 22:43:30 +0000 (22:43 +0000)]
Merge "PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL." into nyc-dev

7 years agoUpdate DisplayMetrics when resizing
Adam Lesinski [Fri, 24 Jun 2016 19:29:16 +0000 (12:29 -0700)]
Update DisplayMetrics when resizing

Previously the DisplayMetrics passed to a new ResourcesImpl
object would be generated from the default DisplayAdjustments.
We now use the correct DisplayAdjustments for the ResourcesImpl
and make sure to update them for things like rotation changes.

Bug:29619314
Change-Id: If2ba0d7670a4554dcd3fde9766e2337f20a191fd
(cherry picked from commit 8e8d23214a71d8813ebd3676b192924c530cb913)

7 years agoMerge "Update documentation for View.startDragAndDrop" into nyc-dev
Yorke Lee [Fri, 24 Jun 2016 22:10:46 +0000 (22:10 +0000)]
Merge "Update documentation for View.startDragAndDrop" into nyc-dev

7 years agoFix layout issue after insets changed
Adam Powell [Fri, 24 Jun 2016 21:42:30 +0000 (14:42 -0700)]
Fix layout issue after insets changed

Fix a regression where a change in insets would forceLayout on the
view hierarchy but not run the measure/layout as a result. This would
cause layout requests to become stalled until a window-level relayout
event.

Bug 29634368

Change-Id: Ia3f32f5891c8b32c06c13f95ebd0572233572b04

7 years agoPopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL.
Robert Carr [Fri, 24 Jun 2016 20:58:16 +0000 (13:58 -0700)]
PopupWindow: Use DISPLAY_CLIP_VERTICAL/HORIZONTAL.

When we want the WindowManager to clip our requested width/height
to the display frame, we need to pass DISPLAY_CLIP_VERTICAL/HORIZONTAL.
It seems this behavior was unintentionally applied without this flag
in previous releases.

Bug: 29602363
Change-Id: Ib98060e36efde0dbaabb59a758da5374035dbb62

7 years agoReapply more strings for "more settings"
Min Yun [Fri, 24 Jun 2016 18:05:03 +0000 (11:05 -0700)]
Reapply more strings for "more settings"

Fixes: 29620816

Change-Id: Iabfcb3b762e1d7d105d2b4c417fc0902d7e7ca16

7 years agoresolve merge conflicts of ac5b340 to nyc-dev
Daniel Yu [Fri, 24 Jun 2016 18:13:40 +0000 (11:13 -0700)]
resolve merge conflicts of ac5b340 to nyc-dev

Change-Id: I3a7af34cdf7656896a3895c61c8c58d6f8f094a0

7 years agoMerge \"docs: Fixing MediaSession note in PIP preview docs\" into mnc-io-docs
Daniel Yu [Fri, 24 Jun 2016 16:37:45 +0000 (16:37 +0000)]
Merge \"docs: Fixing MediaSession note in PIP preview docs\" into mnc-io-docs
am: daaf8e7f1c

Change-Id: I310823425b0706bdf4221e266a87e9c9aa66dd95

7 years agoMerge "docs: Fixing MediaSession note in PIP preview docs" into mnc-io-docs
Dan Yu [Fri, 24 Jun 2016 16:26:11 +0000 (16:26 +0000)]
Merge "docs: Fixing MediaSession note in PIP preview docs" into mnc-io-docs

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 15:33:56 +0000 (08:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 29578243
Change-Id: Ibfcaf1dcbb2cc51dcec359edb8525a2a56ab1231

7 years agoAlways reapply strings.
Julia Reynolds [Fri, 24 Jun 2016 12:44:57 +0000 (08:44 -0400)]
Always reapply strings.

Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:41 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Fri, 24 Jun 2016 05:44:09 +0000 (05:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

7 years agoMerge "Improve ANR dropbox reports" into nyc-dev
Adrian Roos [Fri, 24 Jun 2016 01:57:42 +0000 (01:57 +0000)]
Merge "Improve ANR dropbox reports" into nyc-dev

7 years agoImprove ANR dropbox reports
Adrian Roos [Thu, 23 Jun 2016 23:38:06 +0000 (16:38 -0700)]
Improve ANR dropbox reports

Work towards better diagnosing b/29501073. Adds logic to ensure that the dropbox
entry generated for ANRs fits at least some part of the logcat before the MAX_DROPBOX_SIZE
mark. Also reduces the MAX_DROPBOX_SIZE to be better match size restrictions.

Bug: 29501073
Change-Id: Ice5599582cbb536b7d81aa0c0340ff753ca86ebf

7 years agoAccess internal ringer mode to properly vibrate in DND
Brad Ebinger [Fri, 24 Jun 2016 00:42:30 +0000 (17:42 -0700)]
Access internal ringer mode to properly vibrate in DND

Currently, an incoming call will not vibrate properly in certain cases
in DND mode. Specifically, if Priority Only mode is set, but Calls from
anyone are allowed. We now get the internal ringer mode to detect if the
incoming call is ringing while in DND mode.

Bug: 29184073
Change-Id: I1e0e7cf384a2bc1df1378043cd3f7e9dec57a94c

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 Jun 2016 00:07:49 +0000 (17:07 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 23 Jun 2016 23:34:21 +0000 (16:34 -0700)]
Import translations. DO NOT MERGE

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