OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Add device locked API for TrustAgentService" into lmp-mr1-dev
Adrian Roos [Thu, 20 Nov 2014 21:38:16 +0000 (21:38 +0000)]
Merge "Add device locked API for TrustAgentService" into lmp-mr1-dev

9 years agoMerge "Update KeyguardManager.isDeviceLocked API" into lmp-mr1-dev
Adrian Roos [Thu, 20 Nov 2014 21:38:12 +0000 (21:38 +0000)]
Merge "Update KeyguardManager.isDeviceLocked API" into lmp-mr1-dev

9 years agoImprove ColorMatrix docs
Chris Craik [Wed, 19 Nov 2014 21:17:34 +0000 (13:17 -0800)]
Improve ColorMatrix docs

bug:18415632

Clean up some text, and add a sample.

Change-Id: I39fdda2004e1932831058701f95f67355786ad9d

9 years agoam c3f5d718: Merge "Fix null handling in proxies." into lmp-dev
Geoffrey Borggaard [Thu, 20 Nov 2014 20:59:00 +0000 (20:59 +0000)]
am c3f5d718: Merge "Fix null handling in proxies." into lmp-dev

* commit 'c3f5d7183a21cb081bab1a6bca3fc115523e4e78':
  Fix null handling in proxies.

9 years agoMerge "Fix null handling in proxies." into lmp-dev
Geoffrey Borggaard [Thu, 20 Nov 2014 20:55:25 +0000 (20:55 +0000)]
Merge "Fix null handling in proxies." into lmp-dev

9 years agoMerge "Ensure arraylist index is montonically decreasing" into lmp-mr1-dev
Craig Mautner [Thu, 20 Nov 2014 20:53:35 +0000 (20:53 +0000)]
Merge "Ensure arraylist index is montonically decreasing" into lmp-mr1-dev

9 years agoConvert record channel mask for dynamic mix
Jean-Michel Trivi [Thu, 20 Nov 2014 20:41:26 +0000 (12:41 -0800)]
Convert record channel mask for dynamic mix

When creating the AudioRecord instance for a dynamic mix, convert
  the output channel mask of the mix to an input channel mask
  to be used by the AudioRecord instance through which the
  mixed audio is rerouted.

Bug 16009464

Change-Id: I3addbe85339f6f06b69acc3f9b8e2a765e5d7305

9 years agoAdd device locked API for TrustAgentService
Adrian Roos [Thu, 20 Nov 2014 18:48:56 +0000 (19:48 +0100)]
Add device locked API for TrustAgentService

Bug: 18414067
Change-Id: I96c68af9ccc9940acf9fab3b5bd39a3485f01045

9 years agoRecents backup helper
Christopher Tate [Tue, 18 Nov 2014 19:57:25 +0000 (11:57 -0800)]
Recents backup helper

Handles backup/restore of recent tasks for the system.  Currently the
thumbnails are not saved.

At restore time the historical task records are placed in a designated
separate location rather than directly in the live bookkeeping; this
avoids ID duplication issues and makes it easier to deal with lazy
adoption of the historical task state as apps are installed on the
device post-restore.

Bug 17303286
Bug 15986349

Change-Id: Ie156c1e2ab9c9a7e7ac0447b27016fdcef55dded

9 years agoUpdate KeyguardManager.isDeviceLocked API
Adrian Roos [Thu, 20 Nov 2014 15:21:11 +0000 (16:21 +0100)]
Update KeyguardManager.isDeviceLocked API

Bug: 18414067
Change-Id: I0715714c2c9a122f578ec0c6f508faae12e6f752

9 years agoam e9b5dfc0: am 25bf00bc: docs: Fixes to the Data Layer Wear class.
Ricardo Cervera [Thu, 20 Nov 2014 20:37:34 +0000 (20:37 +0000)]
am e9b5dfc0: am 25bf00bc: docs: Fixes to the Data Layer Wear class.

* commit 'e9b5dfc0588010a97a561d3255ad35d10db000bc':
  docs: Fixes to the Data Layer Wear class.

9 years agoam c8543b4f: Merge "docs: Fixes to the Data Layer Wear class." into lmp-dev
Ricardo Cervera [Thu, 20 Nov 2014 20:37:30 +0000 (20:37 +0000)]
am c8543b4f: Merge "docs: Fixes to the Data Layer Wear class." into lmp-dev

* commit 'c8543b4f4661902371c16932faa109befb921345':
  docs: Fixes to the Data Layer Wear class.

9 years agoTint SIM images in PIN/PUK screen
Jorim Jaggi [Thu, 20 Nov 2014 20:35:33 +0000 (21:35 +0100)]
Tint SIM images in PIN/PUK screen

Bug: 18147652
Change-Id: Ic077a80883782c228dce0d4537e4c7e5e3caf2b4

9 years agoAdd multi-sim support to keyguard
Jim Miller [Thu, 13 Nov 2014 03:29:51 +0000 (19:29 -0800)]
Add multi-sim support to keyguard

Use new telephony APIs.
Clean up SIM state machine code.
Use cached copy of SubscriptionInfo.
Make SIM PIN and SIM PUK work.

Tested on single and multi-SIM devices.

Fixes bug 18147652

Change-Id: Ic69a4d2898999a5438e6a70b5851705bc05443f1

9 years agoMerge "Fix wifi reconnection tests." into lmp-mr1-dev
Eric Rowe [Thu, 20 Nov 2014 20:36:42 +0000 (20:36 +0000)]
Merge "Fix wifi reconnection tests." into lmp-mr1-dev

9 years agoFix wifi reconnection tests.
Eric Rowe [Thu, 20 Nov 2014 20:32:58 +0000 (12:32 -0800)]
Fix wifi reconnection tests.

Bug: 18417638
Change-Id: I1710e8b16d4ae1b32317deb0322a98ad45b4e1aa

9 years agoMerge "Revert "Additional changes to SubscriptionManager API as per API council....
Wink Saville [Thu, 20 Nov 2014 20:31:47 +0000 (20:31 +0000)]
Merge "Revert "Additional changes to SubscriptionManager API as per API council."" into lmp-mr1-dev

9 years agoRevert "Additional changes to SubscriptionManager API as per API council."
Wink Saville [Thu, 20 Nov 2014 20:29:51 +0000 (20:29 +0000)]
Revert "Additional changes to SubscriptionManager API as per API council."

This reverts commit baf21da1e17ef358632c078128d381b3be218a08.

Change-Id: I73cbdfadf07ca3cf20b042781b62aafcc72b17d6

9 years agoMerge "Additional changes to SubscriptionManager API as per API council." into lmp...
Wink Saville [Thu, 20 Nov 2014 20:20:01 +0000 (20:20 +0000)]
Merge "Additional changes to SubscriptionManager API as per API council." into lmp-mr1-dev

9 years agoMerge "Use package name as custom resolver process name" into lmp-mr1-dev
Craig Mautner [Thu, 20 Nov 2014 20:19:02 +0000 (20:19 +0000)]
Merge "Use package name as custom resolver process name" into lmp-mr1-dev

9 years agoMerge "Fix race when cleaning up receivers/services in Context" into lmp-mr1-dev
Adam Lesinski [Thu, 20 Nov 2014 20:13:53 +0000 (20:13 +0000)]
Merge "Fix race when cleaning up receivers/services in Context" into lmp-mr1-dev

9 years agoEnsure arraylist index is montonically decreasing
Craig Mautner [Thu, 20 Nov 2014 20:13:22 +0000 (12:13 -0800)]
Ensure arraylist index is montonically decreasing

A previous fix for IndexOutOfBoundsException (ag/584621) left a
situation where the index would not decrement if the arraylist
size didn't change. The size doesn't change if the window being
removed is animating away. That caused window manager to remain
in an infinite loop within removeAllWindows.

This change ensures that the index diminishes each pass through
the loop and doesn't exceed the bounds of the arraylist.

Fixes bug 18362246.

Change-Id: Ibca70d95622f3b152ede14857f0e913099dc7b88

9 years agoMerge "Fix wifi tethering tests." into lmp-mr1-dev
Eric Rowe [Thu, 20 Nov 2014 20:12:51 +0000 (20:12 +0000)]
Merge "Fix wifi tethering tests." into lmp-mr1-dev

9 years agoFix race when cleaning up receivers/services in Context
Adam Lesinski [Thu, 20 Nov 2014 19:58:21 +0000 (11:58 -0800)]
Fix race when cleaning up receivers/services in Context

Bug:18135575
Change-Id: I2c69c8189d9ebd297c8a83fe84658b26cbb0528f

9 years agoam 25bf00bc: docs: Fixes to the Data Layer Wear class.
Ricardo Cervera [Thu, 20 Nov 2014 19:56:11 +0000 (19:56 +0000)]
am 25bf00bc: docs: Fixes to the Data Layer Wear class.

* commit '25bf00bceed5b22f8750e68a45beb944a80773a8':
  docs: Fixes to the Data Layer Wear class.

9 years agodocs: Fixes to the Data Layer Wear class.
Ricardo Cervera [Mon, 20 Oct 2014 21:29:42 +0000 (14:29 -0700)]
docs: Fixes to the Data Layer Wear class.

Bug: 17917638
Bug: 17917145
Bug: 17931937
Bug: 17933032
Bug: 16899307

Change-Id: Iee9fd0a44cd40b9860cf242cbdaabac409882a15
(cherry picked from commit eff209d2c40221d2f9be2fd6b0c9cde51dd5362b)

9 years agoMerge "docs: Fixes to the Data Layer Wear class." into lmp-dev
Ricardo Cervera [Thu, 20 Nov 2014 19:49:52 +0000 (19:49 +0000)]
Merge "docs: Fixes to the Data Layer Wear class." into lmp-dev

9 years agoFix null handling in proxies.
Geoffrey Borggaard [Thu, 20 Nov 2014 19:35:32 +0000 (14:35 -0500)]
Fix null handling in proxies.

ProxyInfo.getPacFileUrl() can not be null.  It will be equal to
Uri.EMPTY.  Checking for null was causing global proxies to never be
disabled.  Or more accurately, global proxies would be disabled, but
would reappear after a reboot.

ProxyInfo.getExclusionListByString() can be null.  If no
exclusion list was specified, the proxy settings would not be
successfully saved, they would disappear after reboot.

Bug: 18453223
Change-Id: I1c27e5dca5b9664bb7468ea909bff489fa110a07

9 years agoCamera2: Doc updates for aeExposureCompensation.
Ruben Brunk [Thu, 20 Nov 2014 19:46:36 +0000 (11:46 -0800)]
Camera2: Doc updates for aeExposureCompensation.

Bug: 18467471

Change-Id: I3c270c535fa5e7f3eb40bd699898a759c07d986b

9 years agoFix wifi tethering tests.
Eric Rowe [Thu, 20 Nov 2014 19:21:54 +0000 (11:21 -0800)]
Fix wifi tethering tests.

Bug: 18418170
Change-Id: Ic3e8b74523c6a8b6003c05258447e9a673541248

9 years agoMerge "Move default token handling into WindowManagerImpl" into lmp-mr1-dev
Alan Viverette [Thu, 20 Nov 2014 19:16:56 +0000 (19:16 +0000)]
Merge "Move default token handling into WindowManagerImpl" into lmp-mr1-dev

9 years agoMerge "Add padding above and below dialog lists to match Material spec" into lmp...
Alan Viverette [Thu, 20 Nov 2014 19:16:24 +0000 (19:16 +0000)]
Merge "Add padding above and below dialog lists to match Material spec" into lmp-mr1-dev

9 years agoMerge "TIF: implement gatherTransparentRegion() and dispatchDraw() in TvView." into...
Jae Seo [Thu, 20 Nov 2014 19:03:01 +0000 (19:03 +0000)]
Merge "TIF: implement gatherTransparentRegion() and dispatchDraw() in TvView." into lmp-mr1-dev

9 years agoMerge "TIF: enhance documentation for TvInputManager.getAvailableStreamConfigs()...
Jae Seo [Thu, 20 Nov 2014 18:52:14 +0000 (18:52 +0000)]
Merge "TIF: enhance documentation for TvInputManager.getAvailableStreamConfigs()" into lmp-mr1-dev

9 years agoMerge "TIF: fix setSurface() logic" into lmp-mr1-dev
Jae Seo [Thu, 20 Nov 2014 18:51:30 +0000 (18:51 +0000)]
Merge "TIF: fix setSurface() logic" into lmp-mr1-dev

9 years agoMerge "Use SystemClock time to keep track of last event times. (Bug 17995039)" into...
Winson Chung [Thu, 20 Nov 2014 18:50:48 +0000 (18:50 +0000)]
Merge "Use SystemClock time to keep track of last event times. (Bug 17995039)" into lmp-mr1-dev

9 years agoMerge "Setting ADB_ENABLED may result in a SecurityException." into lmp-mr1-dev
Geoffrey Borggaard [Thu, 20 Nov 2014 18:44:41 +0000 (18:44 +0000)]
Merge "Setting ADB_ENABLED may result in a SecurityException." into lmp-mr1-dev

9 years agoMerge "Add new empty app test entry points." into lmp-mr1-dev
Dianne Hackborn [Thu, 20 Nov 2014 18:29:27 +0000 (18:29 +0000)]
Merge "Add new empty app test entry points." into lmp-mr1-dev

9 years agoMerge "Fix issue with call backs from media process." into lmp-mr1-dev
Dianne Hackborn [Thu, 20 Nov 2014 18:29:13 +0000 (18:29 +0000)]
Merge "Fix issue with call backs from media process." into lmp-mr1-dev

9 years agoMerge "Verify NFC permission immediately on API calls." into lmp-mr1-dev
Martijn Coenen [Thu, 20 Nov 2014 17:59:22 +0000 (17:59 +0000)]
Merge "Verify NFC permission immediately on API calls." into lmp-mr1-dev

9 years agoMerge "Handle volume events on master volume devices correctly" into lmp-mr1-dev
RoboErik [Thu, 20 Nov 2014 17:59:12 +0000 (17:59 +0000)]
Merge "Handle volume events on master volume devices correctly" into lmp-mr1-dev

9 years agoMerge "Scale bitmaps in metadata sent to the system" into lmp-mr1-dev
RoboErik [Thu, 20 Nov 2014 17:58:34 +0000 (17:58 +0000)]
Merge "Scale bitmaps in metadata sent to the system" into lmp-mr1-dev

9 years agoMerge "Carrierprivileges: Addressing API council suggestions." into lmp-mr1-dev
Shishir Agrawal [Thu, 20 Nov 2014 17:44:34 +0000 (17:44 +0000)]
Merge "Carrierprivileges: Addressing API council suggestions." into lmp-mr1-dev

9 years agoMerge "Improve logging around performance critical events" into lmp-mr1-dev
Chris Craik [Thu, 20 Nov 2014 17:36:24 +0000 (17:36 +0000)]
Merge "Improve logging around performance critical events" into lmp-mr1-dev

9 years agoMerge "Fade notifications when exiting dozing" into lmp-mr1-dev
Jorim Jaggi [Thu, 20 Nov 2014 17:25:46 +0000 (17:25 +0000)]
Merge "Fade notifications when exiting dozing" into lmp-mr1-dev

9 years agoMerge "Fixed a bug where the notifications were not animating" into lmp-mr1-dev
Selim Cinek [Thu, 20 Nov 2014 17:01:22 +0000 (17:01 +0000)]
Merge "Fixed a bug where the notifications were not animating" into lmp-mr1-dev

9 years agoMerge "SwipeDismissLayout makes activity opaque only after entry animation ends....
Filip Gruszczynski [Thu, 20 Nov 2014 15:51:07 +0000 (15:51 +0000)]
Merge "SwipeDismissLayout makes activity opaque only after entry animation ends." into lmp-sprout-dev

9 years agoSetting ADB_ENABLED may result in a SecurityException.
Geoffrey Borggaard [Wed, 19 Nov 2014 19:22:56 +0000 (14:22 -0500)]
Setting ADB_ENABLED may result in a SecurityException.

If the restriction UserManager.DISALLOW_DEBUGGING_FEATURES is enforced,
then any attempt to set ADB_ENABLED will result in a SecurityException.
This can result in the device not being able to boot.
Bug: 18433477

Change-Id: I21e4b406ad0fa89b7d4b678eac1baf212a3c7acd
(cherry picked from commit ba45b96a378623e3392da65e81e67dabdf4f0678)

9 years agoIf the surface is lost, release it
John Reck [Thu, 20 Nov 2014 00:33:47 +0000 (16:33 -0800)]
If the surface is lost, release it

Bug: 18403246

Surface#isValid() is used throughout ViewRootImpl to
determine Surface validity. However, this will return true
until Surface#release() is called, even if the underlying
BufferQueue is abandoned. We have a very strong signal
from EGL that the Surface is now dead, so use that signal
to call Surface#release() so ViewRootImpl's isValid() usage
will be valid.

Change-Id: Ib355560ef4ca7625c3c784174863d2d55267d93d

9 years agoMerge "Reset the transitionAlpha after the transition completes." into lmp-mr1-dev
George Mount [Thu, 20 Nov 2014 15:29:24 +0000 (15:29 +0000)]
Merge "Reset the transitionAlpha after the transition completes." into lmp-mr1-dev

9 years agoMerge "Slide supports Gravity.START and Gravity.END." into lmp-mr1-dev
George Mount [Thu, 20 Nov 2014 15:23:52 +0000 (15:23 +0000)]
Merge "Slide supports Gravity.START and Gravity.END." into lmp-mr1-dev

9 years agoFixed a bug where the notifications were not animating
Selim Cinek [Thu, 20 Nov 2014 15:00:32 +0000 (16:00 +0100)]
Fixed a bug where the notifications were not animating

Bug: 18463381
Change-Id: I1064535f120dbc334a10d70b7fef232adb08a45f

9 years agoMerge "Honey I shrunk the navigation bar" into lmp-mr1-dev
Adrian Roos [Thu, 20 Nov 2014 14:54:29 +0000 (14:54 +0000)]
Merge "Honey I shrunk the navigation bar" into lmp-mr1-dev

9 years agoHoney I shrunk the navigation bar
Adrian Roos [Thu, 20 Nov 2014 14:25:47 +0000 (15:25 +0100)]
Honey I shrunk the navigation bar

Bug: 18412658
Bug: 18463755
Change-Id: I3e379bf22f0d83a3c7c477908b0847fc18325f12

9 years agoMerge "QS: Inversion tile: Don't consider initial 0 setting trackable." into lmp...
John Spurlock [Thu, 20 Nov 2014 13:20:06 +0000 (13:20 +0000)]
Merge "QS: Inversion tile: Don't consider initial 0 setting trackable." into lmp-mr1-dev

9 years agoMerge "TIF: set audio gain properly" into lmp-mr1-dev
Wonsik Kim [Thu, 20 Nov 2014 07:04:22 +0000 (07:04 +0000)]
Merge "TIF: set audio gain properly" into lmp-mr1-dev

9 years agoTIF: fix setSurface() logic
Wonsik Kim [Thu, 20 Nov 2014 05:38:02 +0000 (14:38 +0900)]
TIF: fix setSurface() logic

Bug: 18457632
Change-Id: I8c25a355c71b5f820a1599fd365e5ae62a9a5eeb

9 years agoRename EXTRA_NETWORK ConnectivityManager constants.
Erik Kline [Wed, 19 Nov 2014 03:12:24 +0000 (12:12 +0900)]
Rename EXTRA_NETWORK ConnectivityManager constants.

Per b/18414703:

    s/\<EXTRA_NETWORK_REQUEST_NETWORK\>/EXTRA_NETWORK/g
    s/\<EXTRA_NETWORK_REQUEST_NETWORK_REQUEST\>/EXTRA_NETWORK_REQUEST/g

Additionally, associated string values updated to:

    android.net.extra.NETWORK
    android.net.extra.NETWORK_REQUEST

Bug: 18414703
Change-Id: I7aeed2161829742affc666e835a97ce2c28356fe

9 years agoMerge "Change Connections to allow setting conferenceable with conferences." into...
Tyler Gunn [Thu, 20 Nov 2014 03:40:08 +0000 (03:40 +0000)]
Merge "Change Connections to allow setting conferenceable with conferences." into lmp-mr1-dev

9 years agoAdd an API to check availability of Ethernet interface.
Jaewan Kim [Mon, 20 Oct 2014 03:04:13 +0000 (12:04 +0900)]
Add an API to check availability of Ethernet interface.

Bug: 18045481
Change-Id: I95358241b431cfe4435ce70c23c9a639b9dc4d58

9 years agoQS: Inversion tile: Don't consider initial 0 setting trackable.
John Spurlock [Thu, 20 Nov 2014 01:33:40 +0000 (20:33 -0500)]
QS: Inversion tile: Don't consider initial 0 setting trackable.

For usage tracking purposes, seeing a setting value of 1 is always
considered trackable.

However, only consider a setting value of 0 as trackable if we've
observed a change (from 1).  Avoids tracking a db update from null
to 0 (via settings cmd or a restore).

Bug: 18062541
Change-Id: Ic8413b1770040f9ef28041bbadb4e5fb62d1c014

9 years agoMerge "Stop activity onVisibleBehindCanceled()" into lmp-mr1-dev
Wale Ogunwale [Thu, 20 Nov 2014 01:46:26 +0000 (01:46 +0000)]
Merge "Stop activity onVisibleBehindCanceled()" into lmp-mr1-dev

9 years agoam c79173c7: am 05282133: Merge "docs: Bugfix & minor cleanup for "Providing Messagin...
Andrew Solovay [Thu, 20 Nov 2014 01:46:14 +0000 (01:46 +0000)]
am c79173c7: am 05282133: Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs

* commit 'c79173c7da4de4d809d3b5492e5433393193a652':
  docs: Bugfix & minor cleanup for "Providing Messaging for Auto"

9 years agoam 03c80408: am 6c43e6b5: Fix and be more explicit about plurals best practices.
Elliott Hughes [Thu, 20 Nov 2014 01:40:00 +0000 (01:40 +0000)]
am 03c80408: am 6c43e6b5: Fix and be more explicit about plurals best practices.

* commit '03c80408d2651bcfaa707233cd0b54b7a8ca57ad':
  Fix and be more explicit about plurals best practices.

9 years agoam 05282133: Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto...
Andrew Solovay [Thu, 20 Nov 2014 01:32:30 +0000 (01:32 +0000)]
am 05282133: Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs

* commit '05282133c7491fd2b5e8f3da05408ff0165df526':
  docs: Bugfix & minor cleanup for "Providing Messaging for Auto"

9 years agoMerge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp...
Andrew Solovay [Thu, 20 Nov 2014 01:27:49 +0000 (01:27 +0000)]
Merge "docs: Bugfix & minor cleanup for "Providing Messaging for Auto"" into lmp-docs

9 years agoScale bitmaps in metadata sent to the system
RoboErik [Wed, 19 Nov 2014 20:14:55 +0000 (12:14 -0800)]
Scale bitmaps in metadata sent to the system

This scales down any MediaMetadata bitmaps that are sent to the system
through MediaSession.

bug:18114918
bug:18084448
Change-Id: Ib7b040cd8245108ad2dd56afe2499290d2b49f51

9 years agoImprove logging around performance critical events
Chris Craik [Tue, 18 Nov 2014 18:49:23 +0000 (10:49 -0800)]
Improve logging around performance critical events

bug:17702227

Add details useful to developers (such as layer size/View name), and
switch away from logging implementation names/details, since they
are generally not relevant to developers.

Change-Id: Iee605d182f241450f7e75a6d0c283d51fa1312f5

9 years agoam 6c43e6b5: Fix and be more explicit about plurals best practices.
Elliott Hughes [Thu, 20 Nov 2014 01:21:40 +0000 (01:21 +0000)]
am 6c43e6b5: Fix and be more explicit about plurals best practices.

* commit '6c43e6b54d7d540e579d2dff8c9cff981cb5ca4a':
  Fix and be more explicit about plurals best practices.

9 years agoAdd padding above and below dialog lists to match Material spec
Alan Viverette [Thu, 20 Nov 2014 01:17:56 +0000 (17:17 -0800)]
Add padding above and below dialog lists to match Material spec

There's a little too much padding between lists and buttons, but it's
definitely the lesser of two evils. We can handle it dynamically later
on, but it's tricky since we can't just insert a Space element.

BUG: 18336555
Change-Id: I1a8ff644dd27f7998ce7cf7a4fadba1fd7ed04ff

9 years agoMove default token handling into WindowManagerImpl
Alan Viverette [Thu, 20 Nov 2014 01:02:16 +0000 (17:02 -0800)]
Move default token handling into WindowManagerImpl

BUG: 18451795
Change-Id: I1fc6db988ad879fded5318f33d08a4f09da38907

9 years agoTIF: set audio gain properly
Wonsik Kim [Sat, 15 Nov 2014 05:18:49 +0000 (14:18 +0900)]
TIF: set audio gain properly

Bug: 18392706
Change-Id: I56c21c156a54e7d6dcf787f6b3ab4b901843b922

9 years agoReset the transitionAlpha after the transition completes.
George Mount [Thu, 20 Nov 2014 00:39:16 +0000 (16:39 -0800)]
Reset the transitionAlpha after the transition completes.

Bug 18423893

Change-Id: I2ea30c3b7c45eca70d1518e73f814b827f519fa0

9 years agoFix and be more explicit about plurals best practices.
Elliott Hughes [Fri, 23 May 2014 20:28:33 +0000 (13:28 -0700)]
Fix and be more explicit about plurals best practices.

The "one" case should always include %d. Say so, and fix our examples.
Also make it clear that developers should always provide exactly "one"
and "other".

Bug: 18429565

(cherry picked from commit 1fe7d496db1ddc73289e6aae11f4dd4a970141d5)

Change-Id: I89656c74b7dfd91584e1bb6d0a3f2da1dda81079

9 years agoStop activity onVisibleBehindCanceled()
Wale Ogunwale [Thu, 13 Nov 2014 22:22:32 +0000 (14:22 -0800)]
Stop activity onVisibleBehindCanceled()

Once an activity is no longer visible behind and has released
its background resources, it is added to the list of activities
that can be stopped, but not actually stopped until the next
major event (like another activity starting). We now schedule
the idle processing once the background resources have been
released so the activity can be stopped as soon as possible.

Bug: 18191707
Change-Id: I472eee949c1a78b4d944454463f03c90e7d2618b

9 years agoam ef629f1f: am a79acc03: Doc change: localized content.
Dirk Dougherty [Thu, 20 Nov 2014 00:08:05 +0000 (00:08 +0000)]
am ef629f1f: am a79acc03: Doc change: localized content.

* commit 'ef629f1f9feada596a0c41b55daa0e859e24312e':
  Doc change: localized content.

9 years agoMerge "TTY over IMS: Add messages about change of TTY mode in the repote device"...
Pavel Zhamaitsiak [Thu, 20 Nov 2014 00:03:34 +0000 (00:03 +0000)]
Merge "TTY over IMS: Add messages about change of TTY mode in the repote device" into lmp-mr1-dev

9 years agoAdditional changes to SubscriptionManager API as per API council.
Wink Saville [Thu, 20 Nov 2014 00:03:09 +0000 (16:03 -0800)]
Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653

9 years agoMerge "Fix seeking and scaled duration behavior" into lmp-mr1-dev
Chet Haase [Thu, 20 Nov 2014 00:02:07 +0000 (00:02 +0000)]
Merge "Fix seeking and scaled duration behavior" into lmp-mr1-dev

9 years agoam a79acc03: Doc change: localized content.
Dirk Dougherty [Thu, 20 Nov 2014 00:02:06 +0000 (00:02 +0000)]
am a79acc03: Doc change: localized content.

* commit 'a79acc0315d33080527b9fb48ba063fb4104de37':
  Doc change: localized content.

9 years agoMerge "AudioSystem JNI: fix AudioPortConfig mask usage" into lmp-mr1-dev
Eric Laurent [Wed, 19 Nov 2014 23:55:50 +0000 (23:55 +0000)]
Merge "AudioSystem JNI: fix AudioPortConfig mask usage" into lmp-mr1-dev

9 years agoMerge "Remove underline and search icon from ActionBar search view" into lmp-mr1-dev
Alan Viverette [Wed, 19 Nov 2014 23:52:20 +0000 (23:52 +0000)]
Merge "Remove underline and search icon from ActionBar search view" into lmp-mr1-dev

9 years agoTTY over IMS: Add messages about change of TTY mode in the repote device
Pavel Zhamaitsiak [Mon, 17 Nov 2014 22:15:36 +0000 (14:15 -0800)]
TTY over IMS: Add messages about change of TTY mode in the repote device

Bug: 18247323
Change-Id: Iefd9bfdccc4af2acf06259f9804dbebb576aca12

9 years agoMerge "Implement Material-style delegate for CalendarView" into lmp-mr1-dev
Alan Viverette [Wed, 19 Nov 2014 23:51:32 +0000 (23:51 +0000)]
Merge "Implement Material-style delegate for CalendarView" into lmp-mr1-dev

9 years agoMerge "Fix several small layout and color issues" into lmp-mr1-dev
Alan Viverette [Wed, 19 Nov 2014 23:49:59 +0000 (23:49 +0000)]
Merge "Fix several small layout and color issues" into lmp-mr1-dev

9 years agoDoc change: localized content.
Dirk Dougherty [Sat, 15 Nov 2014 03:19:18 +0000 (19:19 -0800)]
Doc change: localized content.

Change-Id: I5440fe8d6003bdd8e3cb4c44bacea422f322c33b

9 years agoFix seeking and scaled duration behavior
Chet Haase [Mon, 3 Nov 2014 18:35:16 +0000 (18:35 +0000)]
Fix seeking and scaled duration behavior

The animation scaled was not being factored in early enough in the
activity lifecycle. Also, setCurrentPlaytTime() was not accounting for
the scaled duration correctly. Finally, added setCurrentFraction() as
a more general-purpose seeking facility.

Issue #18222006 Animator duration scale ignored in some situations
Issue #17951668 add ability to seek fraction, not just time

Change-Id: Idad401f5ff5026d7046c36eee09d78a4793215dc

9 years agoam 555d6e70: am 2411fe88: Merge "add the helpouts widget and necessary tags to "wave...
smain@google.com [Wed, 19 Nov 2014 23:14:10 +0000 (23:14 +0000)]
am 555d6e70: am 2411fe88: Merge "add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes" into lmp-docs

* commit '555d6e700a84018e1af2e7cf6c58ca00f0611f5d':
  add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes

9 years agoam 2411fe88: Merge "add the helpouts widget and necessary tags to "wave 2" of the...
smain@google.com [Wed, 19 Nov 2014 23:10:06 +0000 (23:10 +0000)]
am 2411fe88: Merge "add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes" into lmp-docs

* commit '2411fe88d7b11f628e5338bd8f314c98a9d45bb4':
  add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes

9 years agoMerge "add the helpouts widget and necessary tags to "wave 2" of the Getting Started...
smain@google.com [Wed, 19 Nov 2014 23:06:25 +0000 (23:06 +0000)]
Merge "add the helpouts widget and necessary tags to "wave 2" of the Getting Started classes" into lmp-docs

9 years agoam 8428c114: am 9b822b96: docs: Added link to CarExtender class from Auto Getting...
Quddus Chong [Wed, 19 Nov 2014 23:05:59 +0000 (23:05 +0000)]
am 8428c114: am 9b822b96: docs: Added link to CarExtender class from Auto Getting Started doc.

* commit '8428c114ab58d7a5a11c72583a49d3e1d036623c':
  docs: Added link to CarExtender class from Auto Getting Started doc.

9 years agoam 4104abf8: Merge "Fix setTextAppearance for styles with dots." into lmp-dev
Deepanshu Gupta [Wed, 19 Nov 2014 23:00:43 +0000 (23:00 +0000)]
am 4104abf8: Merge "Fix setTextAppearance for styles with dots." into lmp-dev

* commit '4104abf875e16ad54c248ce602e573d2144732dd':
  Fix setTextAppearance for styles with dots.

9 years agoam 455654cf: Merge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev
Deepanshu Gupta [Wed, 19 Nov 2014 23:00:39 +0000 (23:00 +0000)]
am 455654cf: Merge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev

* commit '455654cffdaebcbbd4fa33de5bb18fa2752d6c9a':
  LayoutLib: Stub AM/PM keycodes in Time Picker.

9 years agoam 9b822b96: docs: Added link to CarExtender class from Auto Getting Started doc.
Quddus Chong [Wed, 19 Nov 2014 22:58:30 +0000 (22:58 +0000)]
am 9b822b96: docs: Added link to CarExtender class from Auto Getting Started doc.

* commit '9b822b96aaf16ac4ad8e5a1c8da998fba2f3f404':
  docs: Added link to CarExtender class from Auto Getting Started doc.

9 years agoMerge "resolved conflicts for merge of 62a22d5b to lmp-mr1-dev(DO NOT MERGE)" into...
xinhe [Wed, 19 Nov 2014 22:50:41 +0000 (22:50 +0000)]
Merge "resolved conflicts for merge of 62a22d5b to lmp-mr1-dev(DO NOT MERGE)" into lmp-mr1-dev

9 years agodocs: Bugfix & minor cleanup for "Providing Messaging for Auto"
Andrew Solovay [Wed, 19 Nov 2014 18:41:04 +0000 (10:41 -0800)]
docs: Bugfix & minor cleanup for "Providing Messaging for Auto"

Fixeds the gradle dependency line. Also added in Javadoc links for the
various support classes and methods, and other minor cleanup. See
first comment for doc stage location.

bug: 18439090

Change-Id: I7ccc892f38a644d68abc6d56d8d4377df5f864b0

9 years agoMerge "Fix setTextAppearance for styles with dots." into lmp-dev
Deepanshu Gupta [Wed, 19 Nov 2014 22:30:17 +0000 (22:30 +0000)]
Merge "Fix setTextAppearance for styles with dots." into lmp-dev

9 years agoMerge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev
Deepanshu Gupta [Wed, 19 Nov 2014 22:29:52 +0000 (22:29 +0000)]
Merge "LayoutLib: Stub AM/PM keycodes in Time Picker." into lmp-dev

9 years agoFix issue with call backs from media process.
Dianne Hackborn [Wed, 19 Nov 2014 18:59:01 +0000 (10:59 -0800)]
Fix issue with call backs from media process.

All but a few lines of this is for issue #16013164, which allowed
apps to do some operations as the media uid by having it call
back to them to open a file.  The problem here is with the tempory
identity stuff in the activity manager, allowing us to make the open
call as the original caller...  ideally we should figure out a way
to just get rid of all of that, but the solution here is actually
easier (even though it doesn't look it) -- we now hand a token over
to the openFile() call that it can use when doing permission checks
to say "yes I would like the check to be against whoever is responsible
for the open".  This allows us to do the uid remapping for only this
one specific set of permission checks, and nothing else.

Also fix issue #17487348: Isolated services can access system services
they shouldn't be able to.  Don't send any system service IBinder objects
down for the first initialization of an isolated process.

Change-Id: I3c70e16e0899d7eef0bae458e83958b41ed2b75e

9 years agoAdd new empty app test entry points.
Dianne Hackborn [Wed, 19 Nov 2014 22:21:07 +0000 (14:21 -0800)]
Add new empty app test entry points.

Change-Id: Ib899c95de6b7bb936d2114e86bec4c5aef5f7eda