147534 Commits

Author SHA1 Message Date
Igor Murashkin
696bbee963 camera2: Fix TotalCaptureResult#getKeys not to return empty list
Bug: 16680352
Change-Id: Ie6b8a8bff6f9b87d058a21b07eb3447371a62b6b
2014-08-08 22:45:00 +00:00
Adam Lesinski
81f6d857c1 Merge "Second iteration of the UsageStats API" into lmp-dev 2014-08-08 18:15:47 +00:00
Jeff Sharkey
770a532886 Separate MIME icons for some office formats.
Bug: 12548097
Change-Id: I11808854e0a4fae2636a04f75599e022b4a8440f
2014-08-08 22:23:32 +00:00
Jeff Sharkey
c29dd61cbf More material updates to DocumentsUI.
All assets cut as alpha variants so we apply desired tinting at
runtime.  Small script to automatically generate XML resources.

Bug: 15836082, 16658537
Change-Id: I803b3f0bf6f121194a5445fd1c6600fabaf28f60
2014-08-08 22:22:39 +00:00
Adam Lesinski
3516800b61 Second iteration of the UsageStats API
Based on feedback from API council, updated the API.
Also added support for querying the event log.

Change-Id: Ibaa008b9e5bd145acdfe8e20c25c2ed2d96be123
2014-08-08 12:08:15 -07:00
George Mount
fe361d2113 Move shared elements to overlay when in a transition group.
Bug 15744995

Change-Id: Icf1ee603de23c7bb3bce3723cb24009e36f153d7
2014-08-08 18:01:31 +00:00
Ricardo Cervera
0495f1ef71 docs: Fixed minor issue with Studio shortcuts
See https://code.google.com/p/android/issues/detail?id=74316
Updated keymap for new files and added note on choosing keymaps.

Change-Id: I3c1e1a8ab0f344040ea2627734f7d5959c842799
2014-08-08 09:31:13 -07:00
Andy Hung
5f9aa0bcea Update exception handling for MediaCodec
Throw MediaCodec.CodecException (versus IllegalStateException).
Print out status error codes as found (See MediaError.h for details).
Update error code mapping to CryptoException.

Bug: 12034929
Bug: 13976475
Change-Id: I23b951cb06807413f087c238a1d3526659f06e7b
2014-08-08 16:15:07 +00:00
Craig Mautner
fa387ad6cf Make next activity opaque when media stops
Call convertFromTranslucent on next activity when an activity below
it stops playing media.

Fixes bug 14469711.

Change-Id: I7e4346987cb620cb3a8c09096ff3a639cf344679
2014-08-08 16:05:02 +00:00
Ricardo Cervera
e5f852e0b0 am eab9412b: am 46baa5ff: Merge "docs: Release notes for ADT 23.0.3" into klp-modular-docs
* commit 'eab9412b1b3fdbf74dee5b05e861707dce628661':
  docs: Release notes for ADT 23.0.3
2014-08-07 23:22:44 +00:00
Ricardo Cervera
eab9412b1b am 46baa5ff: Merge "docs: Release notes for ADT 23.0.3" into klp-modular-docs
* commit '46baa5ff7dadad76fc5503a7c2be6d22eb00da57':
  docs: Release notes for ADT 23.0.3
2014-08-07 23:17:16 +00:00
Prashant Malani
639421cbd9 am fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev
* commit 'fed4a5565b9318fa1132003ad3599fa42bbefdf0':
  Move wakelock release to handleMessage
2014-08-07 22:10:25 +00:00
Robert Ly
a4ef5a3aaa am a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs
* commit 'a1c9af2438c3b06f190ad9094160e01df395bec2':
  docs: remove "developer preview" and point to Android-specific doc
2014-08-07 22:04:02 +00:00
Robert Ly
a1c9af2438 am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs
* commit '6f273458fb9de10e07f5876e85f9f80592bf52b2':
  docs: remove "developer preview" and point to Android-specific doc
2014-08-07 21:59:43 +00:00
Nicolas Prevot
d18a1da18d Merge "Validate that the authority of incoming uris matches." into lmp-dev 2014-08-07 18:53:12 +00:00
Nicolas Prevot
f300babd25 Validate that the authority of incoming uris matches.
BUG: 16864837

Change-Id: I2d4473985777b9525b101c1b02ad2395342b9722
2014-08-08 18:27:00 +01:00
Torne (Richard Coles)
0fb176417e Merge "Make WebViewFactory more robust." into lmp-dev 2014-08-07 18:53:12 +00:00
Torne (Richard Coles)
27cb0d22a8 Make WebViewFactory more robust.
Catch and discard any exception thrown in getWebViewNativeLibraryPaths
to avoid the system server crashing if there is something wrong with the
update APK. prepareWebViewInSystemServer(nativePaths) is safe to call
even if nativePaths is null or invalid, and must be called to ensure
that any process waiting for relro processing is unblocked.

Bug: 16894062
Change-Id: I76c759bebcb7c4643fb50979376afea764c859c4
2014-08-08 18:40:51 +01:00
RoboErik
6d9fe654b5 Merge "Combine MediaSession Callback and TransportControlsCallback" into lmp-dev 2014-08-08 17:26:08 +00:00
RoboErik
477d1197c3 Combine MediaSession Callback and TransportControlsCallback
This combines them into a single Callback class and adds default
handling to media buttons to check the available actions and call
one of the other methods if appropriate.

Change-Id: If9897d8cf6d8d8046aa85a646c22382f1db1461b
2014-08-07 16:54:52 -07:00
RoboErik
217e8a2b46 Change URI type metadata back to text
Was accidentally changed in a previous CL. We decided against adding
the URI type.

Change-Id: Ifccf0e784d3fe3196e80cca238de6f8c4456e85e
2014-08-07 16:54:51 -07:00
Narayan Kamath
a3d98c2508 Merge "Reduce the frequency of calls to isDexOptNeededInternal." into lmp-dev 2014-08-07 18:53:12 +00:00
Narayan Kamath
05e8f801b5 Reduce the frequency of calls to isDexOptNeededInternal.
The package manager maintains a set of dexopted instruction
sets as a fast path to avoid calling expensive code. We were
correctly adding elements to that list while performing dexopt,
but were *not* adding elements to the list when isDexOptNeededInternal
told us things were up to date. As a result, we'd hit the slow path
100% of the time on userdebug builds in the steady state, i.e, when
the system did not dexopt anything since boot.

With this change, we make sure isDexOptNeededInternal is called
precisely once per boot in such case.

This patch also fixes broken logic for apps that have multiple
code paths. We must mark the paths as dexopted only if we've
processed all paths.

bug: 16828525
bug: 16868741
Change-Id: Icb59121fe915d892e677d9b7e9a4efd11555ae27
2014-08-08 17:39:59 +00:00
Svetoslav
7c91b34364 Merge "Polish the new cross-profile app widget APIs" into lmp-dev 2014-08-07 18:49:59 +00:00
Svetoslav
8e1d299da2 Polish the new cross-profile app widget APIs
bug:14991269

Change-Id: I5996f8c69a3d151ff1ecd8f19403dd606f588150
2014-08-08 20:35:59 +00:00
John Spurlock
5c8ea2c369 Merge "New api to sync zen mode state from listeners." into lmp-dev 2014-08-08 18:15:47 +00:00
ztenghui
61a6184681 Merge "Update attrs / public.xml for VectorDrawable opacity removal" into lmp-dev 2014-08-08 17:26:08 +00:00
ztenghui
d0d0f1ff59 Update attrs / public.xml for VectorDrawable opacity removal
bug:16850076

Change-Id: Ib6fea828b14e85cacccc8a901227a8fb068f9121
2014-08-08 19:48:36 +00:00
Winson Chung
4f70cacd45 Merge "Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)" into lmp-dev 2014-08-08 16:09:03 +00:00
Winson Chung
e9217a0729 Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622) 2014-08-08 11:27:41 -07:00
Amith Yamasani
40bc0186d0 Merge "No need to send PRE_BOOT_COMPLETED for new users" into lmp-dev 2014-08-08 17:26:08 +00:00
John Reck
a7c2ea20c4 Fix damage for layers for projection receivers
Bug: 16880228

Change-Id: I59ab760a21f49cc2cac0d8936b173cff292e6114
2014-08-08 20:24:34 +00:00
Amith Yamasani
c2f20b66fd No need to send PRE_BOOT_COMPLETED for new users
Since the primary purpose is to upgrade databases, no need
to send this broadcast. If system apps care to be informed early
on new user creation, USER_INITIALIZE is an early broadcast.

Also remove some logs that spew when switching users.

Bug: 16846465
Change-Id: Ibd7f8630ce1f41f8cadbda616de05844b127d1a8
2014-08-08 12:15:17 -07:00
John Reck
171927a62a Merge "Don't use ViewPropertyAnimatorRT yet" into lmp-dev 2014-08-08 17:26:08 +00:00
John Reck
4937a70cc6 Don't use ViewPropertyAnimatorRT yet
Bug: 16894195

 Needs more work and soak time

Change-Id: I8d38492b32780f5bba8a3439bfe3dbd30da3811c
2014-08-08 18:29:18 +00:00
Guang Zhu
4ed52ab752 Merge "freeze screen rotation during memory and app launch test" into lmp-dev 2014-08-08 16:09:03 +00:00
Guang Zhu
e2a03fe43d freeze screen rotation during memory and app launch test
Change-Id: I2a039be383562019a0af9470c5053cd3cb1e6142
2014-08-08 11:30:21 -07:00
Christopher Tate
54f0894169 Merge "API to tell the transport to cancel a full backup in progress" into lmp-dev 2014-08-07 18:39:40 +00:00
Christopher Tate
e079264b98 API to tell the transport to cancel a full backup in progress
Bug 16524520

Change-Id: If2cbffd3c8a03bf4eb7b11ff1ae784c437e27e7f
2014-08-07 23:16:19 +00:00
Winson Chung
e41ab847a5 Fixing regression with scrolling and launching an out-of-view task. (Bug 16875419)
Change-Id: Ib64e18f9a0f1de02de28a29251dd1d159d5d89ee
2014-08-07 16:10:24 -07:00
Nicolas Prevot
c3093eb86b Merge "Making getProviderMimeType work across users." into lmp-dev 2014-08-07 18:39:40 +00:00
Nicolas Prevot
1dddc7fc79 Making getProviderMimeType work across users.
For apps with cross-user uri grants, but without INTERACT_ACROSS_USERS.

BUG: 16128346

Change-Id: I0136cd274eaf457804d196c09f746f66c1fe599f
2014-08-08 15:26:23 +01:00
Santos Cordon
8abea42490 Remove ldaps from AOSP code.
Bug: 16327484
Change-Id: I1fbeed8e1642e8228310cf0e7b95c4809b50901b
2014-08-07 11:37:52 -07:00
RoboErik
dbf45c14af Merge "Add descriptions to MediaController buttons" into lmp-dev 2014-08-07 17:50:16 +00:00
RoboErik
94ca536419 Add descriptions to MediaController buttons
This widget was missing some accessibility descriptions.

bug:16536697
Change-Id: I6f50fd1f4fc0a804151ff465b612128d71a1fde6
2014-08-07 15:48:46 -07:00
Raph Levien
0a4ea30c79 Merge "Add new fonts.xml" into lmp-dev 2014-08-07 17:50:16 +00:00
Raph Levien
8c1f9360ce Add new fonts.xml
This adds a new configration file for fonts with several more features,
most notably the ability to specify numeric weights for fonts in a
family, and specify aliases for weights. This will help help choose an
appropriate font for a "bold" weight request, rather than just applying
auto-bolding.

Bug: 14538154
Change-Id: Ib4d54d66a0c68b7d46e665d7cd94e97b72468e95
2014-08-07 20:57:32 +00:00
Yuncheol Heo
6d73986305 Merge "Make it not to go to sleep when changing TV's input to the others." into lmp-dev 2014-08-07 16:36:32 +00:00
Yuncheol Heo
64bafd9108 Make it not to go to sleep when changing TV's input to the others.
- Previously, we decided to make it go to sleep when changing TV's input
  to the others.  But, we found that the current molly couldn't wake up by
  CEC commands actively.  So, we'll revert the decision.
- In addition, during investigating this issue, we found that currently
  molly couldn't work with Samsung (SS) TV harmoniously.  SS TV will send
  <RoutingChange> and <RequestActiveSource> when it wakes up.  If there
  is no <ActiveSource> response, then it will change the input to the
  internal.  This CL handles this issue also.

Bug: 16803105
Change-Id: I5179561775b186b486fc3f2a042e759fcb07451b
2014-08-11 13:48:37 +09:00
Sungsoo Lim
b93d265aa5 Merge "TIF: Add content rating systems" into lmp-dev 2014-08-07 16:56:07 +00:00