248068 Commits

Author SHA1 Message Date
Lajos Molnar
671da98e2d media: document VP9 CSD for MediaCodec
Also document that concatenated CSD is only supported for AVC.

Bug: 10672559
Change-Id: I54867655068802ef35f92a6341f8b5bb068555ee
2016-06-28 14:20:31 +00:00
Dan Sandler
0e792f567a Purr.
am: 610f6ede25

Change-Id: I252d53781fbe151b21909617ecb92ab9f2e9187a
2016-06-28 07:07:24 +00:00
Dan Sandler
d930306e13 One final tweak to the platlogo.
am: 4b7e415803

Change-Id: Ibbe66c569c0be5fc1801d8af9b5810ac997854d8
2016-06-28 07:07:22 +00:00
Dan Sandler
33a199e241 Fix SuperNotCalledException.
am: 04f8cc2bb3

Change-Id: I52977c00a41ec0db599b67cdc2617f1c602667a6
2016-06-28 07:07:20 +00:00
Dan Sandler
610f6ede25 Purr.
Bug: 27376882
Change-Id: I071d00c9a7847b8ff9b263ffd17581079b78a432
2016-06-28 01:25:08 -04:00
Dan Sandler
4b7e415803 One final tweak to the platlogo.
Bug: 27376882
Change-Id: Ie60600018204f48593975b947d6fc10f4dd8a69f
2016-06-27 22:59:24 -04:00
Dan Sandler
04f8cc2bb3 Fix SuperNotCalledException.
Q. Dan, how did you make such a basic newbie mistake?
A. new phone who dis

Bug: 29779845
Change-Id: Iecba53effcf6252df228afd2cc80df43b2afaa59
2016-06-27 22:59:24 -04:00
Hall Liu
2cd8281a23 Merge "Add disable add call during video call extra and carrier config key" into nyc-mr1-dev 2016-06-28 02:29:05 +00:00
TreeHugger Robot
8701bff9ba Merge "Fix SurfaceViewPositionListener race bugs" into nyc-mr1-dev 2016-06-28 01:26:43 +00:00
Amith Yamasani
30a2b43f6d Merge "Add tron logging for retail demo session counters" into nyc-mr1-dev 2016-06-28 01:03:17 +00:00
Svet Ganov
7878e736f7 Merge \"Mark app pending intents in notification extras\" into nyc-dev
am: b2cd9c95bf

Change-Id: Idb515255f224c23d60a513713d9e4f93decd7a9c
2016-06-28 00:46:55 +00:00
Svetoslav Ganov
b2cd9c95bf Merge "Mark app pending intents in notification extras" into nyc-dev 2016-06-28 00:42:24 +00:00
Svet Ganov
ddb948896c 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
2016-06-27 17:32:25 -07:00
Hall Liu
10208661cd Add disable add call during video call extra and carrier config key
Bug: 29047863

Change-Id: I977041ec72968bdccc69a706e27dd4b5ec336ba7
2016-06-27 17:19:59 -07:00
Dianne Hackborn
91df8559c0 Merge \"Fix bug where process whitelist manager state would not be correct.\" into nyc-dev
am: a39d380651

Change-Id: Ideb81a07d14e1fff71593cec822f3120c4f523f6
2016-06-27 23:56:58 +00:00
Dianne Hackborn
a39d380651 Merge "Fix bug where process whitelist manager state would not be correct." into nyc-dev 2016-06-27 23:52:01 +00:00
TreeHugger Robot
d06f87399b Merge "Frameworks/base: Add new flow to OtaDexoptService" into nyc-mr1-dev 2016-06-27 23:50:37 +00:00
Pavlin Radoslavov
d09f7d0edc Merge \"Add extra waiting when switching users\" into nyc-dev
am: 4d6be6b308

Change-Id: Ibf3fc8f0176e2d02fe3548146928c9b66986e428
2016-06-27 23:46:27 +00:00
Andre Eisenbach
4d6be6b308 Merge "Add extra waiting when switching users" into nyc-dev 2016-06-27 23:42:17 +00:00
Christopher Tate
defa943074 Merge \"Fix #29737133 : content-trigger jobs not running properly\" into nyc-dev
am: f480698298

Change-Id: I957ae07c46573f0e6a066cc1cb0a27b8bafe5811
2016-06-27 23:24:01 +00:00
Bill Yi
95ad00d115 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-27 23:19:29 +00:00
Chris Tate
f480698298 Merge "Fix #29737133 : content-trigger jobs not running properly" into nyc-dev 2016-06-27 23:18:31 +00:00
Christopher Tate
4b425712c6 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
2016-06-27 16:12:41 -07:00
TreeHugger Robot
bdad0ccf3b Merge "Fix AttributeCache" into nyc-mr1-dev 2016-06-27 23:11:33 +00:00
Pavlin Radoslavov
4140111167 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
2016-06-27 23:09:09 +00:00
Dianne Hackborn
a590d2be93 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
2016-06-27 15:40:38 -07:00
John Reck
11858f170a Merge \"Add missing roundOut for layer damage\" into nyc-dev
am: 48cde353eb

Change-Id: I99532e6b7992452523c4fb0716a7161c06b92950
2016-06-27 22:28:41 +00:00
John Reck
48cde353eb Merge "Add missing roundOut for layer damage" into nyc-dev 2016-06-27 22:22:41 +00:00
John Reck
ac046387be 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
2016-06-27 15:18:26 -07:00
William Harmon
611093b1a1 Merge "Allow system apps to have disabled QS tiles." into nyc-mr1-dev 2016-06-27 22:15:46 +00:00
Will Harmon
294af233a9 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
2016-06-27 22:14:21 +00:00
Andreas Gampe
cc241a580c 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
2016-06-27 15:10:12 -07:00
Chris Craik
90a9370b59 Round unclipped saveLayers
am: 45e83338e5

Change-Id: Ifc598495cb8ad99b9f1534c1d783c3e4f483f1c5
2016-06-27 21:45:03 +00:00
Tyler Gunn
780648be53 Merge "Add onConferenceSupportedChanged callback, carrier config." into nyc-mr1-dev 2016-06-27 21:35:49 +00:00
Chris Craik
45e83338e5 Round unclipped saveLayers
fixes: 29456451

Change-Id: I2be8b47c46936e75071ad0819a718f72b96cbd2b
(cherry picked from commit d5a90114128f4d3d528f1a0e93651496c968f940)
2016-06-27 21:06:35 +00:00
Andrii Kulian
bb7c5aca25 Merge \"Resume only activities in focused stack\" into nyc-dev
am: 06b1d786e9

Change-Id: I699695002213bdc0482d6b44447a5c26a27445d1
2016-06-27 21:02:56 +00:00
Jorim Jaggi
573e85fff8 Merge \"Fix smooth panel deceleration\" into nyc-dev
am: e858432241

Change-Id: I2520d88620d5f3f12cab60a9422db8a41e40bec8
2016-06-27 20:54:29 +00:00
Andrii Kulian
06b1d786e9 Merge "Resume only activities in focused stack" into nyc-dev 2016-06-27 20:50:02 +00:00
TreeHugger Robot
e858432241 Merge "Fix smooth panel deceleration" into nyc-dev 2016-06-27 20:44:56 +00:00
John Reck
7b570deea6 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
2016-06-27 13:35:13 -07:00
Android Build Merger (Role)
157c6811de Merge "Merge \"Fix mistranslation from the NDK changelog.\" into nyc-dev am: 95fbc2de1b" into nyc-mr1-dev 2016-06-27 20:21:26 +00:00
Dan Albert
b82f7fd2c0 Merge \"Fix mistranslation from the NDK changelog.\" into nyc-dev
am: 95fbc2de1b

Change-Id: I612b9e58060b46af2b1dce7f6d0faf91d9674d8c
2016-06-27 20:21:01 +00:00
Yohei Yukawa
cb56978912 Merge "Use a flag to grant a temporary URI permission." into nyc-mr1-dev 2016-06-27 20:18:51 +00:00
TreeHugger Robot
95fbc2de1b Merge "Fix mistranslation from the NDK changelog." into nyc-dev 2016-06-27 20:13:53 +00:00
Amith Yamasani
88a4c5ba4e Merge "Don't reuse userids that are being cleaned up on boot" into nyc-mr1-dev 2016-06-27 20:13:01 +00:00
Android Build Merger (Role)
61ef7897bd Merge "Remove reference to obsolete installation step. am: 17d0ccb1a9" into nyc-mr1-dev 2016-06-27 20:02:55 +00:00
Dan Albert
36b3143dc2 Remove reference to obsolete installation step.
am: 17d0ccb1a9

Change-Id: Iee295980a2c19e4319f569e81f9875d61b52506f
2016-06-27 20:02:29 +00:00
Andrew Sapperstein
26a17dc894 Merge "Add new private theme for Dialer." into nyc-mr1-dev 2016-06-27 20:01:32 +00:00
Adam Lesinski
6aec452f91 Fix AttributeCache
AttributeCache relied on the frequency of the garbage collector
to clean up resource references. The garbage collector seems to have
gotten faster and the cache essentially doesn't cache anything.

Switch to using an LRU cache that holds strong references to
a finite set of Resources. This should be very small, just to
keep the few working apps involved in app switches in memory.

Bug:29405575
Change-Id: I64b34742c820f1e7872061a574e6cf1a76887149
2016-06-27 12:30:02 -07:00
Sanket Padawe
afcc40f818 Merge "Fix documentation of getTelephonyHistogram() api." into nyc-mr1-dev 2016-06-27 19:21:56 +00:00