234307 Commits

Author SHA1 Message Date
Jorim Jaggi
035a82d264 Force carrier network change anim onto UI thread
Fixes a bug where RenderThread was constantly scheduling frames,
but didn't actually start the animation. Also fixes some jank
while the animation is playing.

Bug: 27396097
Change-Id: I353d60633eeef1a4f3bbfbeddb58f9703debe293
2016-02-29 15:16:21 +00:00
Yujie Qin
c1d7b7f71c Use SkFILEStream directly when possible
When decoding from a file descriptor, if the descriptor is seekable and
has no offset, use SkFILEStream directly instead of wrapping in an
SkFrontBufferedStream.
This will let the SkRawCodec take advantage of a seekable stream.
One can see 2x speed up for RAW cases.

Bug: 27097104
Change-Id: I369fbb3af1170c94ec7cd9bb35e8e0007dde9fd5
2016-02-29 15:49:51 +01:00
Geoff Mendal
3f3d42e0d4 Import translations. DO NOT MERGE
Change-Id: I1cce7667ddb8d95b4ee956c25afe76226bfdf613
Auto-generated-cl: translation import
2016-02-29 08:29:18 -05:00
Diego Perez
70f97ba54a Fix StackMap renaming in Java 8
With the move to Java 8 of layoutlib, we now need to make sure that the
method stackmaps are kept up to date or the class verification step will
fail. Up until now, we were ignoring them but this caused TestDelegates
to start failing.
This updates the code to make sure that when we modify a class name, we
also update the stackmap in the calls.

Change-Id: Iddbde7454f065ddb8da5bb1ab499ec0616f9b4fe
2016-02-29 10:24:52 +00:00
Yujie Qin
42d8b7d7ab Merge "Use new API from PIEX" into nyc-dev 2016-02-29 08:21:52 +00:00
Sungsoo Lim
18eda4a1ca Merge "MediaBrowser: Fix Javadoc" into nyc-dev 2016-02-29 05:19:53 +00:00
Sungsoo Lim
ab19dc8e14 MediaBrowser: Fix Javadoc
Bug: 27384292
Change-Id: I57ddfaea0fe888665bc7ee88cd933a660c26f1a6
2016-02-29 14:03:48 +09:00
Daichi Hirono
1e41dcd1d2 Merge "Set document flag by referring MTP supported operations." into nyc-dev 2016-02-29 04:03:03 +00:00
Alan Viverette
5c64b957dd Use asset cookie in XML block cache key
Ensure we're using file paths from the correct package. Also cleans up
synchronization to avoid synchronizing on local variables which, while
not an issue in the current implementation, is generally unsafe.

Bug: 27313689
Change-Id: Ib8550909e7b02ea88d19ce2fc43756a16f9664ab
2016-02-28 15:16:05 -05:00
Eino-Ville Talvala
0d0625993a Merge "Media.effect: Remove redundant package info" into nyc-dev 2016-02-28 05:10:58 +00:00
Eino-Ville Talvala
4002b32d3d Media.effect: Remove redundant package info
It causes docs build warnings, isn't used, and is out of date.

Bug: 26856434
Change-Id: I9c77b5dadd571bca94ba091f86557e12459a373c
2016-02-27 17:57:23 -08:00
Jeff Sharkey
b39a4cdd64 Merge "Avoid NPE when deleting package during boot." into nyc-dev 2016-02-28 00:25:26 +00:00
Jeff Sharkey
b15a71913e Avoid NPE when deleting package during boot.
Bug: 27314561
Change-Id: I7cf854a9db6224ad927ca8c9b4c2641b2841fe7e
2016-02-27 17:24:26 -07:00
Jeff Sharkey
004bf6ade3 Merge "When system server goes down, crash apps more." into nyc-dev 2016-02-28 00:19:22 +00:00
Jeff Sharkey
f8880561e6 When system server goes down, crash apps more.
Similar to first patch, but now using new "rethrowFromSystemServer()"
method which internally translates DeadObjectException into
DeadSystemException.  New logic over in Log.printlns() now
suppresses the DeadSystemException stack traces, since they're
misleading and just added pressure to the precious log buffer space.

Add some extra RuntimeInit checks to suppress logging-about-logging
when the system server is dead.

Bug: 27364859
Change-Id: I05316b3e8e42416b30a56a76c09cd3113a018123
2016-02-27 17:17:01 -07:00
Omkar Kolangade
81d7417059 IMS: ImsCallProfile Extra For Call Pull
am: 99eb21d172

* commit '99eb21d172348936cb42202f295ae6478272a39f':
  IMS: ImsCallProfile Extra For Call Pull
2016-02-27 21:50:59 +00:00
Andy Hung
2362bdf2c7 Merge "Make master mono controlled through settings" into nyc-dev 2016-02-27 02:50:07 +00:00
Adrian Roos
7006b01f5d Merge "Fix crash with decorated custom notifications" into nyc-dev 2016-02-27 02:29:15 +00:00
Dimitry Ivanov
4449ef5b6a Display Toast with linker warnings after Activity.onStart()
Displays list of problems linker encountered with app's
native code including
1. Unauthorized access to private platform libraries.
2. Text relocations
3. Invalid DT_NEEDED entires

This change is intended only for preview/beta releases and to
be reverted before the first release build.

Bug: http://b/27365747
Change-Id: I08735472059248c901ef22042682d574fb2b0c92
2016-02-26 18:16:14 -08:00
Phil Burk
2bf39d8e9f AudioTrack: docs for getUnderrunCount()
Remove unnecessary warning about underruns.

Bug: 27384290
Change-Id: Ia872a6580d50952195842c3251370a3dd5da5111
Signed-off-by: Phil Burk <philburk@google.com>
2016-02-26 18:12:31 -08:00
Christopher Tate
10c3a2838c BinderProxy native destruction resilience
* Don't race with construct/init; we can't abide partial state here
* Defense in depth: null check the contained native state to catch
  double invocations.

Bug 27377823

Change-Id: I38f91668d36404c2a7b93d5f7c6616d9eb3f0a30
2016-02-26 17:48:08 -08:00
Jae Seo
988a430793 Merge "TIF: Enable per state input icon in TvInputInfo" into nyc-dev 2016-02-27 01:36:39 +00:00
Steve McKay
ca18e86658 Merge "Don't translate our trusted quick view package val." into nyc-dev 2016-02-27 01:26:23 +00:00
Steve McKay
a35eb70b0a Merge "Fix broken ModelBackedDocumentsAdapterTest." into nyc-dev 2016-02-27 01:25:13 +00:00
Steve McKay
58fe5374fd Fix broken ModelBackedDocumentsAdapterTest.
Bug: 27386958
Change-Id: I35b6eff03869f865e0899803c6035c320c437cb6
2016-02-26 17:24:10 -08:00
Selim Cinek
9620d8652b Merge "Adapted the notficication style" into nyc-dev 2016-02-27 01:19:46 +00:00
Adam Lesinski
526a08f24a Merge "AAPT: Allow duplicate attribute definitions if identical" into nyc-dev 2016-02-27 01:18:52 +00:00
Adrian Roos
5081c0de54 Fix crash with decorated custom notifications
Clones notifications before adding them to remote views so
the original stays parcelable on its own.

Also prevents the compatibility inflation from triggering when
an app uses a decorating style to prevent recursive wrapping.
Those styles only exist on N and later anyways.

Also fixes the compatibility inflation in listeners.

Bug: 27368615
Change-Id: Iedf3036bf315dd9c7b476c7e8bcce57de5b5c9c8
2016-02-26 17:11:29 -08:00
Steve McKay
550784f8ce Merge "Mark Recents as supporting CREATE." into nyc-dev 2016-02-27 01:11:19 +00:00
Selim Cinek
60a5425592 Adapted the notficication style
The text sizes are now uniform and textsize manipulations
are not allowed anymore.

Bug: 24866646
Change-Id: I14b094d9238bee0320c387e3032806d00d4f200c
2016-02-26 17:05:03 -08:00
Andreas Gampe
d23947e12f Merge "Frameworks/base: Remove unused field" into nyc-dev 2016-02-27 01:03:30 +00:00
Christopher Tate
0213ace014 Reintroduce per-app scheduled job limits
There was a period of interim deployments during which sync-manager jobs
were not properly attributed to the package whose sync operations were
being driven.  This situation is now corrected when it is encountered.

Bug 27335118

Change-Id: Iafc40c80093499447b2e62a4888e3ece0371bfcb
2016-02-26 16:57:24 -08:00
Jae Seo
093fa4ebd8 TIF: Enable per state input icon in TvInputInfo
Also made the fields final and grouped them.

Bug: 23820259
Change-Id: I725c830d7c73e8cbc01b6a4f4f4991cb42258380
2016-02-26 16:54:11 -08:00
Chong Zhang
6f9e1039d5 Merge "Do not apply stack bounds if the window is above lockscreen" into nyc-dev 2016-02-27 00:53:48 +00:00
Chong Zhang
bcb8d82513 Do not apply stack bounds if the window is above lockscreen
bug: 27208572
Change-Id: I4cd3af47474c93180d95a2f51ac7b52a21ddd999
2016-02-26 16:23:04 -08:00
Felipe Leme
bb6939e42a Merge "Add pre-defined apps to the restrict background whitelist." into nyc-dev 2016-02-27 00:21:58 +00:00
Adam Lesinski
09c09fd345 Merge "BatteryStats: Fix issue where network traffic accounting might be lost" into nyc-dev 2016-02-27 00:15:11 +00:00
Adam Lesinski
afc79be228 AAPT: Allow duplicate attribute definitions if identical
This allows libraries to coexist a bit easier, since a lot of them
declare the same attribute. When used together they cause errors.
Bug:27101533

Change-Id: I649cf17bc587c4814f849d5ac522daf74495adcf
2016-02-26 15:57:59 -08:00
John Reck
db0fd9dfb2 Merge "Switch to pbuffer surface sooner" into nyc-dev 2016-02-26 23:53:47 +00:00
John Reck
a24b5d4811 Merge "Always swap buffers if using partial update extension" into nyc-dev 2016-02-26 23:53:23 +00:00
Aga Wronska
868c846b91 Merge "Fix SearchView background too high" into nyc-dev 2016-02-26 23:47:16 +00:00
Julia Reynolds
361e82d399 Api review: AutomaticZenRule
Bug: 27364144
Change-Id: I17fec34d7a277173820bed7829baf5bf905f327a
2016-02-26 18:44:32 -05:00
John Reck
fc736869ac Switch to pbuffer surface sooner
Bug: 27286867

If the system/app is slow, it might take too long to
stop drawing. Switch the ordering of destroying stuff so
that we switch to the pbuffer surface first, then do
cleanup

Change-Id: If64a3dbb71bb9fd53567231590436a89b2f1a09e
2016-02-26 15:43:09 -08:00
Chris Craik
83b28c0e67 Merge "Clip buffer damage to viewport bounds" into nyc-dev 2016-02-26 23:43:01 +00:00
Ruben Brunk
cfa66a2a45 DO NOT SUBMIT: Hide VR features for preview.
Bug: 26945446
Change-Id: I37e2f9f6ffc65be60bcbef4bdf87da89561ef313
2016-02-26 15:32:40 -08:00
Steve McKay
327c31383f Mark Recents as supporting CREATE.
Allows Recents as copy/move destination.
Allows Recents (create fragment) for CREATE actions.

Change-Id: I46c4792470d2361c62b26e4a66521d56ce3da474
2016-02-26 15:31:15 -08:00
Aurimas Liutikas
7849a3d785 Fix crash when restoring SearchView.
I forgot to include Parcelable.Creator when I added SearchView
iconified state saving.

Bug: 27357167
Change-Id: Ia96490aa9c12c4042f50ba4b1aeb7422b37a1d4c
2016-02-26 15:27:31 -08:00
Chris Craik
64db2bf111 Clip buffer damage to viewport bounds
bug:27287946

Change-Id: Ief3ae9c2dd92196b7d09f1b9fadf009eb228d80a
2016-02-26 15:01:25 -08:00
John Reck
c96955d9bb Always swap buffers if using partial update extension
Bug: 27379093
Change-Id: Ifda18287248e4ae07d4bf2ae9642a9d23039e81f
2016-02-26 14:58:13 -08:00
Andreas Gampe
06f0e41ebd Frameworks/base: Remove unused field
Remove an unused field in BoringLayout. This has also the positive
side effect of allowing static initialization in the boot image.

Bug: 27248115
Change-Id: I9d6beec5f5e045ef899e8979ece96e0239f82076
2016-02-26 14:47:39 -08:00