147346 Commits

Author SHA1 Message Date
Tyler Gunn
7edbe283be Adding camera failure/ready session events.
The VT provider can use these to inform In-Call of a camera failure and
the camera becoming ready again after recovery.

Bug: 16900653
Change-Id: I279176860b30d02f55732b327ac3385eff8d19a8
2014-08-08 15:22:40 -07: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
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
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
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
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
Christopher Tate
0660244119 Merge "Sanity-check paths of files to be restored" into lmp-dev 2014-08-07 15:00:45 +00:00
Alan Viverette
7a83aa016b Merge "Update cab_background assets for Material" into lmp-dev 2014-08-07 15:00:45 +00:00
Alan Viverette
da42a9c2b5 Update cab_background assets for Material
BUG: 16491778
Change-Id: I1bef337db42668b3b0c4ca4f8700c50025dfaa1f
2014-08-07 15:57:57 -07:00
ztenghui
f143ae8ffe Removing fill and stroke opacity
bug:16850076

attrs/public.xml update will be separated for build break friday.

Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f
2014-08-07 22:48:46 +00:00
Prashant Malani
d224a9dfd2 am 639421cb: am fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev
* commit '639421cbd9780b9093bdf3415a79489c118ecb92':
  Move wakelock release to handleMessage
2014-08-07 22:15:01 +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
7c9e2457f8 am a4ef5a3a: am a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs
* commit 'a4ef5a3aaafddc1e11a87290c42397748aa9358d':
  docs: remove "developer preview" and point to Android-specific doc
2014-08-07 22:08:33 +00:00
Igor Murashkin
6d8a97e139 camera2: (LEGACY) Don't stop preview when there are no requests left
* This allows flash mode=TORCH to keep working if only a single
request is submitted and the device goes to the idle state.

Bug: 16305644
Change-Id: Id2e3451f85dbf9b545d3a70977b8fcfb0922a0eb
2014-08-07 22:05:33 +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
Jorim Jaggi
98f8530af3 Animations for Keyguard user switcher.
Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7
2014-08-07 21:57:34 +00:00
Jae Seo
546c635ad9 TIF: Change CEC specific names to more general ones
Now MHL device information is also a part of HdmiDeviceInfo (previously
HdmiCecDeviceInfo). This change adjusts method/variable names across our code
base to reflect that.

Bug: 16215362
Change-Id: I7a6692329f39842a4aec9a4ff036eca5474cfd33
2014-08-07 14:51:19 -07:00
Deepanshu Gupta
c8f2d5e6dc Add font rename script to rename one font only.
This change adds a script that renames only font at a time. This helps
in writing better Makefile rules and passes the job for parallelization
to the make rather than doing it in python which doesn't support ctrl-c
properly.

Change-Id: Icd380e3cc5d744260d6a9f497aa65a1a6c829c2e
2014-08-07 21:41:11 +00:00
Deepanshu Gupta
7ec9d001a9 Create a copy of the build_font.py
The copy will be modified to support renaming only one font at a time.
This is done in two steps to improve the diffs.

Change-Id: I47283745c25882283f0464c17e603396a8c9141e
2014-08-07 21:40:34 +00:00
Kenny Guy
49ecc4ec6a Merge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev 2014-08-07 18:39:40 +00:00