OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "No need to send PRE_BOOT_COMPLETED for new users" into lmp-dev
Amith Yamasani [Fri, 8 Aug 2014 20:51:21 +0000 (20:51 +0000)]
Merge "No need to send PRE_BOOT_COMPLETED for new users" into lmp-dev

10 years agoFix damage for layers for projection receivers
John Reck [Fri, 8 Aug 2014 20:21:00 +0000 (13:21 -0700)]
Fix damage for layers for projection receivers

 Bug: 16880228

Change-Id: I59ab760a21f49cc2cac0d8936b173cff292e6114

10 years agoNo need to send PRE_BOOT_COMPLETED for new users
Amith Yamasani [Fri, 8 Aug 2014 19:10:36 +0000 (12:10 -0700)]
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

10 years agoMerge "New api to sync zen mode state from listeners." into lmp-dev
John Spurlock [Fri, 8 Aug 2014 20:14:21 +0000 (20:14 +0000)]
Merge "New api to sync zen mode state from listeners." into lmp-dev

10 years agoMerge "Don't use ViewPropertyAnimatorRT yet" into lmp-dev
John Reck [Fri, 8 Aug 2014 19:05:00 +0000 (19:05 +0000)]
Merge "Don't use ViewPropertyAnimatorRT yet" into lmp-dev

10 years agoDon't use ViewPropertyAnimatorRT yet
John Reck [Fri, 8 Aug 2014 18:23:33 +0000 (11:23 -0700)]
Don't use ViewPropertyAnimatorRT yet

 Bug: 16894195

 Needs more work and soak time

Change-Id: I8d38492b32780f5bba8a3439bfe3dbd30da3811c

10 years agoMerge "freeze screen rotation during memory and app launch test" into lmp-dev
Guang Zhu [Fri, 8 Aug 2014 18:33:09 +0000 (18:33 +0000)]
Merge "freeze screen rotation during memory and app launch test" into lmp-dev

10 years agofreeze screen rotation during memory and app launch test
Guang Zhu [Fri, 8 Aug 2014 18:30:21 +0000 (11:30 -0700)]
freeze screen rotation during memory and app launch test

Change-Id: I2a039be383562019a0af9470c5053cd3cb1e6142

10 years agoUpdate exception handling for MediaCodec
Andy Hung [Wed, 30 Jul 2014 22:48:21 +0000 (15:48 -0700)]
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

10 years agoMake next activity opaque when media stops
Craig Mautner [Tue, 5 Aug 2014 18:16:41 +0000 (11:16 -0700)]
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

10 years agoMerge "Validate that the authority of incoming uris matches." into lmp-dev
Nicolas Prevot [Fri, 8 Aug 2014 17:42:21 +0000 (17:42 +0000)]
Merge "Validate that the authority of incoming uris matches." into lmp-dev

10 years agoValidate that the authority of incoming uris matches.
Nicolas Prevot [Thu, 7 Aug 2014 18:23:17 +0000 (19:23 +0100)]
Validate that the authority of incoming uris matches.

BUG: 16864837

Change-Id: I2d4473985777b9525b101c1b02ad2395342b9722

10 years agoMerge "Make WebViewFactory more robust." into lmp-dev
Torne (Richard Coles) [Fri, 8 Aug 2014 17:42:10 +0000 (17:42 +0000)]
Merge "Make WebViewFactory more robust." into lmp-dev

10 years agoMake WebViewFactory more robust.
Torne (Richard Coles) [Fri, 8 Aug 2014 17:24:12 +0000 (18:24 +0100)]
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

10 years agoMerge "Combine MediaSession Callback and TransportControlsCallback" into lmp-dev
RoboErik [Fri, 8 Aug 2014 17:33:20 +0000 (17:33 +0000)]
Merge "Combine MediaSession Callback and TransportControlsCallback" into lmp-dev

10 years agoCombine MediaSession Callback and TransportControlsCallback
RoboErik [Wed, 6 Aug 2014 20:43:22 +0000 (13:43 -0700)]
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

10 years agoChange URI type metadata back to text
RoboErik [Thu, 7 Aug 2014 23:53:06 +0000 (16:53 -0700)]
Change URI type metadata back to text

Was accidentally changed in a previous CL. We decided against adding
the URI type.

Change-Id: Ifccf0e784d3fe3196e80cca238de6f8c4456e85e

10 years agoMerge "Reduce the frequency of calls to isDexOptNeededInternal." into lmp-dev
Narayan Kamath [Fri, 8 Aug 2014 17:40:57 +0000 (17:40 +0000)]
Merge "Reduce the frequency of calls to isDexOptNeededInternal." into lmp-dev

10 years agoReduce the frequency of calls to isDexOptNeededInternal.
Narayan Kamath [Fri, 8 Aug 2014 12:43:59 +0000 (13:43 +0100)]
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

10 years agoMerge "API to tell the transport to cancel a full backup in progress" into lmp-dev
Christopher Tate [Thu, 7 Aug 2014 23:16:27 +0000 (23:16 +0000)]
Merge "API to tell the transport to cancel a full backup in progress" into lmp-dev

10 years agoAPI to tell the transport to cancel a full backup in progress
Christopher Tate [Thu, 7 Aug 2014 21:19:50 +0000 (14:19 -0700)]
API to tell the transport to cancel a full backup in progress

Bug 16524520

Change-Id: If2cbffd3c8a03bf4eb7b11ff1ae784c437e27e7f

10 years agoFixing regression with scrolling and launching an out-of-view task. (Bug 16875419)
Winson Chung [Thu, 7 Aug 2014 22:55:37 +0000 (15:55 -0700)]
Fixing regression with scrolling and launching an out-of-view task. (Bug 16875419)

Change-Id: Ib64e18f9a0f1de02de28a29251dd1d159d5d89ee

10 years agoMerge "Making getProviderMimeType work across users." into lmp-dev
Nicolas Prevot [Fri, 8 Aug 2014 17:40:49 +0000 (17:40 +0000)]
Merge "Making getProviderMimeType work across users." into lmp-dev

10 years agoMaking getProviderMimeType work across users.
Nicolas Prevot [Mon, 7 Jul 2014 16:44:58 +0000 (17:44 +0100)]
Making getProviderMimeType work across users.

For apps with cross-user uri grants, but without INTERACT_ACROSS_USERS.

BUG: 16128346

Change-Id: I0136cd274eaf457804d196c09f746f66c1fe599f

10 years agoMerge "Add descriptions to MediaController buttons" into lmp-dev
RoboErik [Thu, 7 Aug 2014 23:16:18 +0000 (23:16 +0000)]
Merge "Add descriptions to MediaController buttons" into lmp-dev

10 years agoAdd descriptions to MediaController buttons
RoboErik [Wed, 6 Aug 2014 01:16:43 +0000 (18:16 -0700)]
Add descriptions to MediaController buttons

This widget was missing some accessibility descriptions.

bug:16536697
Change-Id: I6f50fd1f4fc0a804151ff465b612128d71a1fde6

10 years agoMerge "Add new fonts.xml" into lmp-dev
Raph Levien [Thu, 7 Aug 2014 23:03:43 +0000 (23:03 +0000)]
Merge "Add new fonts.xml" into lmp-dev

10 years agoAdd new fonts.xml
Raph Levien [Thu, 7 Aug 2014 20:52:37 +0000 (13:52 -0700)]
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

10 years agoMerge "Sanity-check paths of files to be restored" into lmp-dev
Christopher Tate [Thu, 7 Aug 2014 20:57:59 +0000 (20:57 +0000)]
Merge "Sanity-check paths of files to be restored" into lmp-dev

10 years agoMerge "Update cab_background assets for Material" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 22:58:57 +0000 (22:58 +0000)]
Merge "Update cab_background assets for Material" into lmp-dev

10 years agoUpdate cab_background assets for Material
Alan Viverette [Thu, 7 Aug 2014 22:57:57 +0000 (15:57 -0700)]
Update cab_background assets for Material

BUG: 16491778
Change-Id: I1bef337db42668b3b0c4ca4f8700c50025dfaa1f

10 years agoRemoving fill and stroke opacity
ztenghui [Thu, 7 Aug 2014 16:29:39 +0000 (09:29 -0700)]
Removing fill and stroke opacity

bug:16850076

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

Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f

10 years agoam 639421cb: am fed4a556: Merge "Move wakelock release to handleMessage" into klp...
Prashant Malani [Thu, 7 Aug 2014 22:15:01 +0000 (22:15 +0000)]
am 639421cb: am fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev

* commit '639421cbd9780b9093bdf3415a79489c118ecb92':
  Move wakelock release to handleMessage

10 years agoam fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev
Prashant Malani [Thu, 7 Aug 2014 22:10:25 +0000 (22:10 +0000)]
am fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev

* commit 'fed4a5565b9318fa1132003ad3599fa42bbefdf0':
  Move wakelock release to handleMessage

10 years agoam a4ef5a3a: am a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and...
Robert Ly [Thu, 7 Aug 2014 22:08:33 +0000 (22:08 +0000)]
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

10 years agocamera2: (LEGACY) Don't stop preview when there are no requests left
Igor Murashkin [Wed, 6 Aug 2014 23:32:27 +0000 (16:32 -0700)]
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

10 years agoam a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Androi...
Robert Ly [Thu, 7 Aug 2014 22:04:02 +0000 (22:04 +0000)]
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

10 years agoam 6f273458: Merge "docs: remove "developer preview" and point to Android-specific...
Robert Ly [Thu, 7 Aug 2014 21:59:43 +0000 (21:59 +0000)]
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

10 years agoAnimations for Keyguard user switcher.
Jorim Jaggi [Thu, 7 Aug 2014 15:45:04 +0000 (17:45 +0200)]
Animations for Keyguard user switcher.

Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7

10 years agoTIF: Change CEC specific names to more general ones
Jae Seo [Thu, 7 Aug 2014 18:57:01 +0000 (11:57 -0700)]
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

10 years agoAdd font rename script to rename one font only.
Deepanshu Gupta [Thu, 31 Jul 2014 21:08:16 +0000 (14:08 -0700)]
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

10 years agoCreate a copy of the build_font.py
Deepanshu Gupta [Thu, 7 Aug 2014 21:20:39 +0000 (14:20 -0700)]
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

10 years agoMerge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev
Kenny Guy [Thu, 7 Aug 2014 21:37:22 +0000 (21:37 +0000)]
Merge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev

10 years agoAdd AbsListView#fling
Adam Powell [Thu, 7 Aug 2014 20:52:53 +0000 (13:52 -0700)]
Add AbsListView#fling

ScrollViews can programmatically fling from public API and now
ListViews/GridViews can too. This helps support applications that wish
to propagate flings across scrolling containers as part of nested
scrolling.

Bug 15538504

Change-Id: I0318c6717c7fb8788a006f96c8f8170556dd8b9e

10 years agoRevert "Revert "Remove String version of getBadgedLabel""
Kenny Guy [Thu, 7 Aug 2014 21:10:29 +0000 (21:10 +0000)]
Revert "Revert "Remove String version of getBadgedLabel""

This reverts commit 82020f109d78af889dfc5e86ede04c54fb6f1de2.

Bug: 16484455
Change-Id: I601edbb705cacd29bf30f90c8666c5f516796ebb

10 years agoMerge "Launch application details for correct profile from recents." into lmp-dev
Kenny Guy [Thu, 7 Aug 2014 21:09:36 +0000 (21:09 +0000)]
Merge "Launch application details for correct profile from recents." into lmp-dev

10 years agoMerge "Cap scales used for tessellation with minimum and maximum" into lmp-dev
Chris Craik [Thu, 7 Aug 2014 22:48:28 +0000 (22:48 +0000)]
Merge "Cap scales used for tessellation with minimum and maximum" into lmp-dev

10 years agoMark beginRestoreSession() as system API
Christopher Tate [Thu, 7 Aug 2014 21:53:06 +0000 (14:53 -0700)]
Mark beginRestoreSession() as system API

Bug 16874911

Change-Id: Idb06ebf2d0f54bb13af1d2eeacf0d7b06fda68db

10 years agoLogic to confirm permissions on install sessions.
Jeff Sharkey [Thu, 7 Aug 2014 21:01:43 +0000 (14:01 -0700)]
Logic to confirm permissions on install sessions.

When an app without INSTALL permission attempts to commit a session,
we involve user to confirm permissions.  We currently point at the
base APK, which defines all permissions for an app, handling the case
where a session may only be adding splits.

Add failure codes to represent rejection.  Fix bug by ignoring stages
during initial boot scan.

Bug: 16515814
Change-Id: I702bb72445216817bcc62b79c83980c1c2bb0120

10 years agoHave styleable indices be non-final for library projects
Adam Lesinski [Thu, 7 Aug 2014 00:41:08 +0000 (17:41 -0700)]
Have styleable indices be non-final for library projects

Invoking aapt after merging resources from a library project
may yield a different ordering to styleable arrays, so have
the indices be non-final too.

Bug:16842410

Change-Id: I0432bea03dc4312d5908a770fc70a11f0a1596ae

10 years agoCap scales used for tessellation with minimum and maximum
Chris Craik [Thu, 7 Aug 2014 21:34:46 +0000 (14:34 -0700)]
Cap scales used for tessellation with minimum and maximum

bug:15615144
Change-Id: I3e833864af3a7b34e444bd13db34b6c90496a8b6

10 years agoMerge "Saver: update feature description." into lmp-dev
John Spurlock [Thu, 7 Aug 2014 22:31:48 +0000 (22:31 +0000)]
Merge "Saver: update feature description." into lmp-dev

10 years agoFirst pass of changing statusbar connectedness
Robert Greenwalt [Thu, 7 Aug 2014 04:32:18 +0000 (21:32 -0700)]
First pass of changing statusbar connectedness

Switching from GCM-only inet condition reports to using our network
validation (captive portal check).

Note that currently the GCM signal is disconnected.  Next step is to
make the bad-network report API trigger a re-evaluation of the network
and get negative reports from the NetworkMonitor.

Change-Id: Ie2ebab1e5c04775e3c4d6738f656a6c8157dba76

10 years agoSaver: update feature description.
John Spurlock [Thu, 7 Aug 2014 20:08:39 +0000 (16:08 -0400)]
Saver: update feature description.

Bug:16866427
Change-Id: Ib9a52b9ce13a0a84eaade5751ad48213b7f5cc26

10 years agoAllow media projections to create public presentations.
Michael Wright [Wed, 30 Jul 2014 02:14:16 +0000 (19:14 -0700)]
Allow media projections to create public presentations.

Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd

10 years agoOnLost/OnFound integration - onfound match is done in framework,
Prerepa Viswanadham [Thu, 7 Aug 2014 16:44:20 +0000 (09:44 -0700)]
OnLost/OnFound integration - onfound match is done in framework,
whereas hw signal is used to report onlost.

Bug 16733710

Change-Id: I7b177b7afd730341c336818857436c095735b53b

10 years agoLaunch application details for correct profile from recents.
Kenny Guy [Thu, 7 Aug 2014 14:34:38 +0000 (15:34 +0100)]
Launch application details for correct profile from recents.

Bug: 16681400
Change-Id: Ia80d9c83809b07b1cdc4be8a4fc8a406bdfcf55e

10 years agoam 8f16c065: am 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing...
Ricardo Cervera [Thu, 7 Aug 2014 16:13:09 +0000 (16:13 +0000)]
am 8f16c065: am 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

* commit '8f16c0655eb4e7321f346ed62d9068ebc9fdc35b':
  docs: Simplify and update the Signing page. Bug: 16296405

10 years agoRemove LauncherApps method left for compat.
Kenny Guy [Thu, 7 Aug 2014 16:03:36 +0000 (17:03 +0100)]
Remove LauncherApps method left for compat.

Method was left while updating unbundled apps
which have now been updated.

Bug: 16864685
Change-Id: I687cb23a1b60b88eeb988f3cf2604dc24b739121

10 years agoam 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug...
Ricardo Cervera [Thu, 7 Aug 2014 16:07:37 +0000 (16:07 +0000)]
am 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

* commit '35b08bacc4e4ab937a5179b5b991f6509127f517':
  docs: Simplify and update the Signing page. Bug: 16296405

10 years agoam edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into...
Ricardo Cervera [Thu, 7 Aug 2014 16:03:27 +0000 (16:03 +0000)]
am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

* commit 'edcf7c51676e3b4d0481dcdc9c2e128f7f4f2e5d':
  docs: Simplify and update the Signing page. Bug: 16296405

10 years agoam 23daa441: am 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnera...
Robert Ly [Thu, 7 Aug 2014 15:59:36 +0000 (15:59 +0000)]
am 23daa441: am 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs

* commit '23daa44107c17d7e30c65389bb718a9add8e4c40':
  docs: Documenting fix for CVE-2014-0224 (SSL vulnerability).

10 years agoam 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)....
Robert Ly [Thu, 7 Aug 2014 15:55:10 +0000 (15:55 +0000)]
am 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs

* commit '8e115e6460f5bfe5e682dda6e816b9d8c84bc525':
  docs: Documenting fix for CVE-2014-0224 (SSL vulnerability).

10 years agoMerge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular...
Robert Ly [Thu, 7 Aug 2014 15:50:25 +0000 (15:50 +0000)]
Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs

10 years agoMerge "Link to new app notification settings from the inspector." into lmp-dev
Dan Sandler [Thu, 7 Aug 2014 16:08:38 +0000 (16:08 +0000)]
Merge "Link to new app notification settings from the inspector." into lmp-dev

10 years agoLink to new app notification settings from the inspector.
Dan Sandler [Thu, 31 Jul 2014 05:06:43 +0000 (01:06 -0400)]
Link to new app notification settings from the inspector.

Also hide the inspector whenever the keyguard changes state,
to make sure we don't leave any notification guts lying
around when you turn the screen on and off or unlock.

Bug: 16208321
Change-Id: I47cf6a0cb82e765eb6b50984972f57616b534ed3

10 years agoDisallow switching managed profile to foreground
Robin Lee [Wed, 6 Aug 2014 19:33:09 +0000 (20:33 +0100)]
Disallow switching managed profile to foreground

Another check in the ActivityManager to stop us from getting into an
invalid state by a fat-fingered 'am switch' etc.

@bug 16814252

Change-Id: Id65ab647d5a535cc2f965139a1b717cf65aa7e69

10 years agoAllow to use device's own physical address.
Yuncheol Heo [Thu, 7 Aug 2014 08:58:59 +0000 (17:58 +0900)]
Allow to use device's own physical address.

- Fixed JavaDoc.

Change-Id: I6fdbf6596b5f2e41a238b36e128ba0889725c813

10 years agoGo to nap when receiving <Active Source> for the other devices.
Yuncheol Heo [Thu, 7 Aug 2014 02:45:39 +0000 (11:45 +0900)]
Go to nap when receiving <Active Source> for the other devices.

- Previously, it went to sleep when it got <Active Source>, but this
  causes the other side-effects like can't-wake-up when changing to HDMI
  port directly.

Bug: 15578870
Change-Id: I0ca5bd2372c9e5e7446592d66483900eeba75500

10 years agoTIF: Add system API 'isSingleSessionActive()'
Terry Heo [Wed, 6 Aug 2014 04:53:33 +0000 (13:53 +0900)]
TIF: Add system API 'isSingleSessionActive()'

Bug: 16498558
Change-Id: I4f815f431051dbf786216d2b04e9737be451a508

10 years agoMove image classes options from art to AndroidRuntime [frameworks/base]
Brian Carlstrom [Wed, 30 Jul 2014 22:13:17 +0000 (15:13 -0700)]
Move image classes options from art to AndroidRuntime [frameworks/base]

Bug: 15165413

(cherry picked from commit 108166c749f0418d45f220419a9611c4afec1311)

Change-Id: Ib0d638ac3ca6668a5be04cdbdfd46740dabeceaa

10 years agoDisable compilation based on vold.decrypt. [frameworks/base]
Brian Carlstrom [Wed, 30 Jul 2014 19:11:41 +0000 (12:11 -0700)]
Disable compilation based on vold.decrypt. [frameworks/base]

Bug: 15165413

(cherry picked from commit 4fd561637a173c7fa6a1d71e9115db1db90514ff)

Change-Id: I2a13b63f9d4a7ffd69a8d21666c6dce84739c6ed

10 years agoMove from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [frameworks/base]
Brian Carlstrom [Tue, 29 Jul 2014 02:13:28 +0000 (19:13 -0700)]
Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [frameworks/base]

This will allow us to conditionally change the compiler-filter based on other properties.

Bug: 15165413

(cherry picked from commit f60d3a4702f6d00d7edb5d348c53b9b03ae16b76)

Change-Id: I293c81ba817e9abbf9c05b3fb554ef2f0ad0c4ed

10 years agoresolved conflicts for merge of 37651b60 to lmp-dev-plus-aosp
Alex Light [Tue, 5 Aug 2014 21:25:43 +0000 (14:25 -0700)]
resolved conflicts for merge of 37651b60 to lmp-dev-plus-aosp

Change-Id: I1fe0e64d2069b7424014bd3ff0bf6f80b439220d
(cherry picked from commit 1faf2d0d25550dc759481fd523456711808e8251)

10 years agoMerge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular...
Ricardo Cervera [Thu, 7 Aug 2014 16:00:13 +0000 (16:00 +0000)]
Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

10 years agoMerge "Transition: remap if views in calling activity became invalid" into lmp-dev
Dake Gu [Fri, 8 Aug 2014 19:33:31 +0000 (19:33 +0000)]
Merge "Transition: remap if views in calling activity became invalid" into lmp-dev

10 years agoTransition: remap if views in calling activity became invalid
Dake Gu [Fri, 8 Aug 2014 18:22:30 +0000 (11:22 -0700)]
Transition: remap if views in calling activity became invalid

In activity back,  the calling activity might have re-constructed
UI, the accepted views captured in calling activity  was detached
and no longer valid.  Re-query the calling activity for shared
element in such case.  If the app has reconstructed UI of calling
activity,  it is app's responsibility to assign same transition name
to new view where it desires to transition back to.

b/16853679

Change-Id: Ia6729c6082fbaf54c2ce17f695d5b8d66bd9187d

10 years agoMerge "Don't make ripples respond to selection state" into lmp-dev
Alan Viverette [Fri, 8 Aug 2014 19:32:10 +0000 (19:32 +0000)]
Merge "Don't make ripples respond to selection state" into lmp-dev

10 years agoDon't make ripples respond to selection state
Alan Viverette [Fri, 8 Aug 2014 19:23:41 +0000 (12:23 -0700)]
Don't make ripples respond to selection state

Also exports view pressed state for hierarchyviewer.

BUG: 16622634
Change-Id: I754428dd1d59f3b7450b01976a73d5151d27152e

10 years agoAidl changes related to VideoCallProvider in Ims.
Andrew Lee [Fri, 8 Aug 2014 08:40:14 +0000 (01:40 -0700)]
Aidl changes related to VideoCallProvider in Ims.

+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0

10 years agoMerge "New screen shut down animation." into lmp-dev
Michael Lentine [Fri, 8 Aug 2014 15:24:39 +0000 (15:24 +0000)]
Merge "New screen shut down animation." into lmp-dev

10 years agoUse native ISA for dex code (in case there's a NativeBridge)
Calin Juravle [Mon, 4 Aug 2014 18:17:06 +0000 (19:17 +0100)]
Use native ISA for dex code (in case there's a NativeBridge)

In the presence of a native bridge it is more efficient to compile the
dex directly to the native ISA than to use the shared library ISA as a
reference.

This can be achieve by configuring the readonly system properties to map
between the .so ISA and the desired dex code .ISA (e.g.
ro.dalvik.vm.isa.ISA1=ISA2).

Bug: 16185267

(cherry picked from commit I50baa7b37e1465b9adf72d6f6b96f526a08d59c7)
(cherry picked from commit I8fe453a800812e382e8f41b5f7922997aa9c18a9)

Change-Id: I6c9684149691285310c961189b58af8c7f47aff4

10 years agoNew screen shut down animation.
Michael Lentine [Wed, 30 Jul 2014 01:47:56 +0000 (18:47 -0700)]
New screen shut down animation.

Bug: 16845774

Change-Id: I355f8d73f54a873f6df180dc48c177b993f170f9

10 years agoMerge "Volume: Hide zen options during setup." into lmp-dev
John Spurlock [Fri, 8 Aug 2014 14:09:55 +0000 (14:09 +0000)]
Merge "Volume: Hide zen options during setup." into lmp-dev

10 years agoQS: Make user switcher RTL aware
Adrian Roos [Fri, 8 Aug 2014 13:59:03 +0000 (15:59 +0200)]
QS: Make user switcher RTL aware

Bug: 16406694
Change-Id: I00efaf34281945635aa91bc3871ca6361c946ffe

10 years agoQS: Make user switcher expand when users don't fit
Adrian Roos [Thu, 7 Aug 2014 18:54:12 +0000 (20:54 +0200)]
QS: Make user switcher expand when users don't fit

Also updates the switcher to match the latest redlines.

Bug: 16406694
Change-Id: Ibf44ed9ea2ef4e3c467724eb4c79f1df5b3e49f4

10 years agoPublicize Material notification text styles.
Dan Sandler [Thu, 31 Jul 2014 06:13:09 +0000 (02:13 -0400)]
Publicize Material notification text styles.

Important for anyone attempting to make custom content views
that match the Material style of Builder-created
notifications.

Bug: 16520833
Change-Id: Ifc6c54cc50aaceed252dfbab7459b15216d53df1

10 years agoVolume: Hide zen options during setup.
John Spurlock [Thu, 7 Aug 2014 21:40:50 +0000 (17:40 -0400)]
Volume: Hide zen options during setup.

Only show the slider before provisioning and
user setup.

Bug:16825823

Change-Id: I856c736ed91ed20371176c2bba84b5d7e2ebc6cb

10 years agoMerge "Fix issues #16655104 and #16875776 in battery stats." into lmp-dev
Dianne Hackborn [Fri, 8 Aug 2014 05:35:55 +0000 (05:35 +0000)]
Merge "Fix issues #16655104 and #16875776 in battery stats." into lmp-dev

10 years agoFix issues #16655104 and #16875776 in battery stats.
Dianne Hackborn [Fri, 8 Aug 2014 00:08:09 +0000 (17:08 -0700)]
Fix issues #16655104 and #16875776 in battery stats.

Issue #16655104: Android system used 21% of battery

We weren't clearing the current process state when we now retain
process objects across resets.

Issue #16875776: abnormal outliers in screen-off battery life in go/batterystats

The checkin data since charged was using the since unplugged data
for the amount of drain with the screen on/off.

Also added a new version tag in the checkin output containing
the platform build number and internal version format number, to
start moving away from the wasteful version code on every line.

And fixed a bug in figuring out when things have changed over
discharge levels.

Change-Id: I89b89513a748016aacc848f14bbbc8b2400d92ca

10 years agoHandle null IPackageDeleteObserver.
Jeff Sharkey [Fri, 8 Aug 2014 05:07:11 +0000 (22:07 -0700)]
Handle null IPackageDeleteObserver.

Bug: 16862614
Change-Id: I0c197a994b89d49123027f24fe46827c2b994ab6

10 years agoMerge "Change URI type metadata back to text" into lmp-dev
RoboErik [Fri, 8 Aug 2014 17:32:29 +0000 (17:32 +0000)]
Merge "Change URI type metadata back to text" into lmp-dev

10 years agoUnhide MediaMetadata.Description
RoboErik [Thu, 7 Aug 2014 00:48:46 +0000 (17:48 -0700)]
Unhide MediaMetadata.Description

This unhides the method and inner class for getting a small version
of the metadata for display.

Change-Id: I22f484cecd5f0630ac22bb648baad842d211d135

10 years agoMerge "TIF: Make TvContract URI consistent" into lmp-dev
Ji-Hwan Lee [Fri, 8 Aug 2014 17:13:28 +0000 (17:13 +0000)]
Merge "TIF: Make TvContract URI consistent" into lmp-dev

10 years agoTIF: Make TvContract URI consistent
Ji-Hwan Lee [Tue, 5 Aug 2014 18:40:54 +0000 (03:40 +0900)]
TIF: Make TvContract URI consistent

- input/*/channel -> channel?input=*
- channel/#/program -> program?channel=#

Bug: 16806157, Bug: 16804331
Change-Id: Idbded032da166e789148c4b8e38ea521468fd9fa

10 years agoMerge "Fix CTS test for nine patch padding sanity check" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 20:56:55 +0000 (20:56 +0000)]
Merge "Fix CTS test for nine patch padding sanity check" into lmp-dev

10 years agoFix CTS test for nine patch padding sanity check
Alan Viverette [Thu, 7 Aug 2014 20:55:26 +0000 (13:55 -0700)]
Fix CTS test for nine patch padding sanity check

BUG: 16826969
Change-Id: I96628a38300dec58eb8523559741c28fed35eba2

10 years agoMerge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev
Igor Murashkin [Thu, 7 Aug 2014 20:51:25 +0000 (20:51 +0000)]
Merge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev

10 years agocamera2: (LEGACY) Add face detection support and vstab modes
Igor Murashkin [Thu, 31 Jul 2014 22:53:34 +0000 (15:53 -0700)]
camera2: (LEGACY) Add face detection support and vstab modes

Also work-around CTS freezing forever in Camera#setPreviewTexture

* Set preview texture to null after unconfiguring (Camera#stopPreview)
* Remove all uses of recording hint

(Some devices disable face detection unconditionally when recording is not
using HDR mode; recording hints will be introduced after we add
capture intent support)

Change-Id: I2f0a80f1d580af214cb0f53abcbf33c7391790f1

10 years agoMerge "Remove clipToOutline workaround for null backgrounds" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 20:46:25 +0000 (20:46 +0000)]
Merge "Remove clipToOutline workaround for null backgrounds" into lmp-dev