OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Set/unset session on the callback" into lmp-dev
RoboErik [Thu, 28 Aug 2014 21:29:37 +0000 (21:29 +0000)]
Merge "Set/unset session on the callback" into lmp-dev

9 years agoSet/unset session on the callback
RoboErik [Thu, 28 Aug 2014 18:37:47 +0000 (11:37 -0700)]
Set/unset session on the callback

We lost this somewhere. When a callback is set on a MediaSession it needs
to have a reference to the Session so it can do default routing of media
keys.

bug:17304614
Change-Id: I4af82947da790135049d40c5c69c2996f3cc4ccc

9 years agoMerge "Ensuring that the ActivityInfo cache accounts for the task's user id. (Bug...
Winson Chung [Thu, 28 Aug 2014 21:14:21 +0000 (21:14 +0000)]
Merge "Ensuring that the ActivityInfo cache accounts for the task's user id. (Bug 17314317)" into lmp-dev

9 years agoMerge "Update action bar item widths, overflow menu, button, and spinner styles"...
Alan Viverette [Thu, 28 Aug 2014 21:05:03 +0000 (21:05 +0000)]
Merge "Update action bar item widths, overflow menu, button, and spinner styles" into lmp-dev

9 years agoMerge "Add Media Player Streaming Tests" into lmp-dev
Shaohan Zou [Thu, 28 Aug 2014 21:00:32 +0000 (21:00 +0000)]
Merge "Add Media Player Streaming Tests" into lmp-dev

9 years agoEnsuring that the ActivityInfo cache accounts for the task's user id. (Bug 17314317)
Kenny Guy [Thu, 28 Aug 2014 20:06:27 +0000 (21:06 +0100)]
Ensuring that the ActivityInfo cache accounts for the task's user id. (Bug 17314317)

Change-Id: I10bcb60abe3450f2ecfb3ee305be505e13e0be3b

9 years agoUpdate action bar item widths, overflow menu, button, and spinner styles
Alan Viverette [Thu, 28 Aug 2014 20:55:18 +0000 (13:55 -0700)]
Update action bar item widths, overflow menu, button, and spinner styles

Manually modifies the overflow button hotspot bounds so that the ripple
appears to be centered on the overflow icon. Adds styleable and parsing
for list popup window offsets. Updates spinner text appearance to be
consistent with drop down item text appearance. Also updates horizontal
inner padding in buttons.

BUG: 17305079
BUG: 17304391
BUG: 17302567
Change-Id: Iafddfef290078de968894a3b443ba9f60f84c6d4

9 years agoMerge "Correct misleading javadoc for BackupHelper" into lmp-dev
Christopher Tate [Thu, 28 Aug 2014 20:52:08 +0000 (20:52 +0000)]
Merge "Correct misleading javadoc for BackupHelper" into lmp-dev

9 years agoMerge "Force translucency for inset windows" into lmp-dev
Chris Craik [Thu, 28 Aug 2014 20:49:05 +0000 (20:49 +0000)]
Merge "Force translucency for inset windows" into lmp-dev

9 years agoMerge "StatusBar: Allow roaming indicator even when also on wifi." into lmp-dev
John Spurlock [Thu, 28 Aug 2014 19:45:52 +0000 (19:45 +0000)]
Merge "StatusBar: Allow roaming indicator even when also on wifi." into lmp-dev

9 years agoMerge "Audio/Micrphone user restriction/multiuser updates." into lmp-dev
Julia Reynolds [Thu, 28 Aug 2014 19:41:41 +0000 (19:41 +0000)]
Merge "Audio/Micrphone user restriction/multiuser updates." into lmp-dev

9 years agoStatusBar: Allow roaming indicator even when also on wifi.
John Spurlock [Thu, 28 Aug 2014 19:32:44 +0000 (15:32 -0400)]
StatusBar: Allow roaming indicator even when also on wifi.

Bug:14610152
Change-Id: Ia83abe0ae862ed747ee280c61c2fff3b62345b41

9 years agoMerge "Fix issue #17289876: startActivityFromRecents appears to launch the wrong...
Dianne Hackborn [Thu, 28 Aug 2014 19:33:07 +0000 (19:33 +0000)]
Merge "Fix issue #17289876: startActivityFromRecents appears to launch the wrong task" into lmp-dev

9 years agoMerge "Change API to return thumbnail size instead of individual dimensions. (Bug...
Winson Chung [Thu, 28 Aug 2014 19:15:09 +0000 (19:15 +0000)]
Merge "Change API to return thumbnail size instead of individual dimensions. (Bug 17295512)" into lmp-dev

9 years agoMerge "NoListener: Factor out ZEN mode API" into lmp-dev
Christoph Studer [Thu, 28 Aug 2014 18:59:39 +0000 (18:59 +0000)]
Merge "NoListener: Factor out ZEN mode API" into lmp-dev

9 years agoMerge "Fix issue #16953886: History and batterystats checkin summary..." into lmp-dev
Dianne Hackborn [Thu, 28 Aug 2014 18:58:15 +0000 (18:58 +0000)]
Merge "Fix issue #16953886: History and batterystats checkin summary..." into lmp-dev

9 years agoMerge "Add CallProperties class, and use to on ParcelableCall." into lmp-dev
Andrew Lee [Thu, 28 Aug 2014 18:39:15 +0000 (18:39 +0000)]
Merge "Add CallProperties class, and use to on ParcelableCall." into lmp-dev

9 years agoFix issue #17289876: startActivityFromRecents appears to launch the wrong task
Dianne Hackborn [Wed, 27 Aug 2014 23:44:24 +0000 (16:44 -0700)]
Fix issue #17289876: startActivityFromRecents appears to launch the wrong task

It would be good to actually bring the task to the front.

Also, make the flow when inTask is provided better match what happens when
we go looking for a task on our own.

And this includes another fix that was supposed to be part of a different
change but I forgot this class is part of the framework project now.

Change-Id: I3cf05f2e585c0fd7a0dbb7c7cf9fb1655764dd93

9 years agoMerge "QS: Don't collapse the panel when turning location on." into lmp-dev
John Spurlock [Thu, 28 Aug 2014 18:30:28 +0000 (18:30 +0000)]
Merge "QS: Don't collapse the panel when turning location on." into lmp-dev

9 years agoQS: Don't collapse the panel when turning location on.
John Spurlock [Thu, 28 Aug 2014 18:25:05 +0000 (14:25 -0400)]
QS: Don't collapse the panel when turning location on.

Bug:17127158
Change-Id: Ide92c2bd134a84dea796a62710a9016a679b0b74

9 years agoMerge "Rename StatusBar.Material styles to Material.Notification" into lmp-dev
Alan Viverette [Thu, 28 Aug 2014 18:13:20 +0000 (18:13 +0000)]
Merge "Rename StatusBar.Material styles to Material.Notification" into lmp-dev

9 years agoMerge "Call SharedElementListener#setSharedElementEnd on back." into lmp-dev
George Mount [Thu, 28 Aug 2014 18:05:39 +0000 (18:05 +0000)]
Merge "Call SharedElementListener#setSharedElementEnd on back." into lmp-dev

9 years agoMerge "Allow arbitrarily-added shared elements." into lmp-dev
George Mount [Thu, 28 Aug 2014 18:02:26 +0000 (18:02 +0000)]
Merge "Allow arbitrarily-added shared elements." into lmp-dev

9 years agoMerge "Add field for sub_id in call log for sprout database." into lmp-dev
Nancy Chen [Thu, 28 Aug 2014 17:55:49 +0000 (17:55 +0000)]
Merge "Add field for sub_id in call log for sprout database." into lmp-dev

9 years agoMerge "Renamed Activity.onVisibleBehindCancelled() to Activity.onVisibleBehindCancele...
Jose Lima [Thu, 28 Aug 2014 17:49:31 +0000 (17:49 +0000)]
Merge "Renamed Activity.onVisibleBehindCancelled() to Activity.onVisibleBehindCanceled()" into lmp-dev

9 years agoAdd CallProperties class, and use to on ParcelableCall.
Andrew Lee [Wed, 27 Aug 2014 23:33:08 +0000 (16:33 -0700)]
Add CallProperties class, and use to on ParcelableCall.

Bug: 17304243
Change-Id: I3ef6862391a9b96c70f4b12412160116e094ed34

9 years agoMerge "Use a weak observable in AutoCompleteTextView" into lmp-dev
Yigit Boyar [Thu, 28 Aug 2014 17:33:36 +0000 (17:33 +0000)]
Merge "Use a weak observable in AutoCompleteTextView" into lmp-dev

9 years agoNoListener: Factor out ZEN mode API
Christoph Studer [Wed, 27 Aug 2014 18:16:15 +0000 (20:16 +0200)]
NoListener: Factor out ZEN mode API

Bug: 17255109
Bug: 17295014
Change-Id: I7e1f6e29b8a23b8e59a8615a8012a86bd5dd22d7

9 years agoMerge "Update transform isolation to handle command chunks" into lmp-dev
Chris Craik [Thu, 28 Aug 2014 17:27:23 +0000 (17:27 +0000)]
Merge "Update transform isolation to handle command chunks" into lmp-dev

9 years agoChange API to return thumbnail size instead of individual dimensions. (Bug 17295512)
Winson Chung [Wed, 27 Aug 2014 21:36:51 +0000 (14:36 -0700)]
Change API to return thumbnail size instead of individual dimensions. (Bug 17295512)

- Fixing issue where we were pulling the thumbnail dimensions too early in AMS. (Bug 17286904)
- Simplifying the Recents code between start & configuration change

Change-Id: I6d667cbf37b844939e5fc466da613bb78ca05082

9 years agoMerge "Fix log line" into lmp-dev
John Reck [Thu, 28 Aug 2014 17:13:23 +0000 (17:13 +0000)]
Merge "Fix log line" into lmp-dev

9 years agoFix log line
John Reck [Thu, 28 Aug 2014 16:56:20 +0000 (09:56 -0700)]
Fix log line

Change-Id: I290491f559281c7b3d1d132495ea2fffcfaf4725

9 years agoMerge "Enhance audio service dumpsys." into lmp-dev
John Spurlock [Thu, 28 Aug 2014 16:50:08 +0000 (16:50 +0000)]
Merge "Enhance audio service dumpsys." into lmp-dev

9 years agoMerge "Actually end animators on tree destruction" into lmp-dev
John Reck [Thu, 28 Aug 2014 16:48:03 +0000 (16:48 +0000)]
Merge "Actually end animators on tree destruction" into lmp-dev

9 years agoMerge "Canceling ViewPropertyAnimator now removes pending actions" into lmp-dev
Chet Haase [Thu, 28 Aug 2014 16:42:26 +0000 (16:42 +0000)]
Merge "Canceling ViewPropertyAnimator now removes pending actions" into lmp-dev

9 years agoMerge "Clean up Connectivity Logging." into lmp-dev
Robert Greenwalt [Thu, 28 Aug 2014 16:29:55 +0000 (16:29 +0000)]
Merge "Clean up Connectivity Logging." into lmp-dev

9 years agoEnhance audio service dumpsys.
John Spurlock [Tue, 26 Aug 2014 20:40:35 +0000 (16:40 -0400)]
Enhance audio service dumpsys.

 - Add device name for keys
 - Add max volume for streams
 - Add missing stream name constant

Bug:16964015
Change-Id: I92facbd8ae49ba299c27bcb10bcf6668fed0d302

9 years agoMerge "Relocate broken getCallingUserId() calls" into lmp-dev
Robin Lee [Thu, 28 Aug 2014 16:12:59 +0000 (16:12 +0000)]
Merge "Relocate broken getCallingUserId() calls" into lmp-dev

9 years agoMerge "Define EXTRA_SIZE for ContentProviders." into lmp-dev
Jeff Sharkey [Thu, 28 Aug 2014 16:12:46 +0000 (16:12 +0000)]
Merge "Define EXTRA_SIZE for ContentProviders." into lmp-dev

9 years agoRelocate broken getCallingUserId() calls
Robin Lee [Thu, 28 Aug 2014 15:56:15 +0000 (16:56 +0100)]
Relocate broken getCallingUserId() calls

This should not be invoked while the calling identity is cleared
because it will return the current user rather than the calling user.

Bug: 17314802
Change-Id: I587daa420b0976d41928ab7c34eeda2329c1341e

9 years agoAdd field for sub_id in call log for sprout database.
Nancy Chen [Thu, 28 Aug 2014 01:29:59 +0000 (18:29 -0700)]
Add field for sub_id in call log for sprout database.

Adding sub_id as a column in the calls table to make the sprout and
non-sprout contacts databases consistent.

Bug: 14990572
Change-Id: I82d9fe65e6cdf4e10b6115a8565c2be3a6f93562

9 years agoMerge "Start TvInputManagerService when the device supports FEATURE_LIVE_TV" into...
Jae Seo [Thu, 28 Aug 2014 15:45:00 +0000 (15:45 +0000)]
Merge "Start TvInputManagerService when the device supports FEATURE_LIVE_TV" into lmp-dev

9 years agoActually end animators on tree destruction
John Reck [Thu, 28 Aug 2014 15:43:39 +0000 (08:43 -0700)]
Actually end animators on tree destruction

 Bug: 17313962

Change-Id: I66b86d50b415f9aa33da23297f22e2cf7f96f565

9 years agoCanceling ViewPropertyAnimator now removes pending actions
Chet Haase [Thu, 28 Aug 2014 14:53:59 +0000 (07:53 -0700)]
Canceling ViewPropertyAnimator now removes pending actions

Normally, calling cancel() on ViewPropertyAnimator() will cancel any
running animations as well as any associated actions (layers and
start/end actions). But if the animation is canceled before the first
frame, these other actions are still pending and will not be canceled.

This fix also cancels these pending actions.

Issue #17296082 VPA.cancel() doesn't clear the end action

Change-Id: If104d21c1e2d64516500048a06ba217284732ef0

9 years agoMerge "Fixed a flash of the preview image when going to the dialer" into lmp-dev
Selim Cinek [Thu, 28 Aug 2014 13:37:21 +0000 (13:37 +0000)]
Merge "Fixed a flash of the preview image when going to the dialer" into lmp-dev

9 years agoMerge "Fixed a bug where notifications could remain in the overlay." into lmp-dev
Selim Cinek [Thu, 28 Aug 2014 13:35:59 +0000 (13:35 +0000)]
Merge "Fixed a bug where notifications could remain in the overlay." into lmp-dev

9 years agoMerge "Zen: Remove alarm warnings, color the subhead instead." into lmp-dev
John Spurlock [Thu, 28 Aug 2014 13:30:13 +0000 (13:30 +0000)]
Merge "Zen: Remove alarm warnings, color the subhead instead." into lmp-dev

9 years agoMerge "media: update MediaCodec/Info/List/Format APIs based on review comments" into...
Lajos Molnar [Thu, 28 Aug 2014 13:28:50 +0000 (13:28 +0000)]
Merge "media: update MediaCodec/Info/List/Format APIs based on review comments" into lmp-dev

9 years agoFixed a flash of the preview image when going to the dialer
Selim Cinek [Thu, 28 Aug 2014 12:51:05 +0000 (14:51 +0200)]
Fixed a flash of the preview image when going to the dialer

The preview image was animating even though it should not have
leading to a weird flash.

Bug: 17261091
Change-Id: I168eae25eb654ceb79e055fb0d0189c31cb0bb3d

9 years agoFixed a bug where notifications could remain in the overlay.
Selim Cinek [Thu, 28 Aug 2014 12:30:12 +0000 (14:30 +0200)]
Fixed a bug where notifications could remain in the overlay.

This led to notifications being visible even though they should
have been removed

Bug: 17295716
Change-Id: I05a243d5c9ca359d1f5ca29a7535935d6e61a4d6

9 years agoAdded a warning when the profile has an owner
Selim Cinek [Wed, 27 Aug 2014 10:51:45 +0000 (12:51 +0200)]
Added a warning when the profile has an owner

Also fixed a bug where a post in the QSFooter
was not always on the mainthread leading to a
crash.

Bug: 17066115
Change-Id: Iea9e1032973058ed5e63e70da4dc0bcf34fa59a3

9 years agoMerge "Update soundscape for L, using classic names." into lmp-dev
Dan Sandler [Thu, 28 Aug 2014 12:49:24 +0000 (12:49 +0000)]
Merge "Update soundscape for L, using classic names." into lmp-dev

9 years agoStart intent chooser after Keyguard is gone
Jorim Jaggi [Wed, 27 Aug 2014 15:52:46 +0000 (17:52 +0200)]
Start intent chooser after Keyguard is gone

If we have an intent chooser on the camera intent, we need to launch
it after the Keyguard is fully gone because the ResolveActivity would
finish itself if it is launched behind the Keyguard.

Bug: 16570873
Change-Id: I2fdb4975fa0a6510e8853c6042383089570ec1f5

9 years agoMerge "Fix large text setting for QS" into lmp-dev
Jorim Jaggi [Thu, 28 Aug 2014 10:57:44 +0000 (10:57 +0000)]
Merge "Fix large text setting for QS" into lmp-dev

9 years agoFix large text setting for QS
Jorim Jaggi [Tue, 26 Aug 2014 15:27:31 +0000 (17:27 +0200)]
Fix large text setting for QS

Bug: 15591223
Change-Id: I9f514a4970edbda778b987dfc3eca3914e492011

9 years agoMerge "Make it possible to disable camera on lockscreen" into lmp-dev
Jorim Jaggi [Thu, 28 Aug 2014 10:46:36 +0000 (10:46 +0000)]
Merge "Make it possible to disable camera on lockscreen" into lmp-dev

9 years agoRenamed getUninstallBlocked to isUninstallBlocked
Esteban Talavera [Wed, 27 Aug 2014 17:01:58 +0000 (18:01 +0100)]
Renamed getUninstallBlocked to isUninstallBlocked

As per API review.

Bug: 17297103
Change-Id: Icb4ceded317b0df4deb0f5221512541a632e150b

9 years agoStart TvInputManagerService when the device supports FEATURE_LIVE_TV
Jae Seo [Thu, 28 Aug 2014 06:50:37 +0000 (23:50 -0700)]
Start TvInputManagerService when the device supports FEATURE_LIVE_TV

Bug: 17284986
Change-Id: I5efeffecfcb771cb2e6180ccfd665464611a24fc

9 years agoRenamed Activity.onVisibleBehindCancelled() to Activity.onVisibleBehindCanceled()
Jose Lima [Thu, 28 Aug 2014 06:09:05 +0000 (23:09 -0700)]
Renamed Activity.onVisibleBehindCancelled() to Activity.onVisibleBehindCanceled()

   API review request.

Bug: 17288987
Change-Id: If63f847ce630a57e4aa1e5291befe2863cb7e0c7

9 years agoMerge "Add android.software.live_tv feature" into lmp-dev
Jae Seo [Thu, 28 Aug 2014 05:50:18 +0000 (05:50 +0000)]
Merge "Add android.software.live_tv feature" into lmp-dev

9 years agoAPI Review: TV
Jae Seo [Wed, 27 Aug 2014 22:11:12 +0000 (15:11 -0700)]
API Review: TV

This change addresses the following feedback:

- "ageHint" attribute should be renamed to "contentAgeHint"
- "country" attribute should be doc'd to specify valid formats (two
character country codes or whatever)

Bug: 17293643
Change-Id: Ia5e58e191c3678bb2d6b1be36c4275d323675ad9

9 years agoRename StatusBar.Material styles to Material.Notification
Alan Viverette [Wed, 27 Aug 2014 22:06:51 +0000 (15:06 -0700)]
Rename StatusBar.Material styles to Material.Notification

Replaces a removed style with __removed to avoid breaking
existing apps. This will be (wait for it...) removed prior
to release.

BUG: 17288986
Change-Id: I7e934fcebe39baed39fd8b01bf12bf3bb41305ad

9 years agoTIF: Enable applications to register custom content rating systems
Jae Seo [Mon, 25 Aug 2014 21:39:26 +0000 (14:39 -0700)]
TIF: Enable applications to register custom content rating systems

A recent change that moved the string resource for the system supported
content ratings from the framework to the TV app led to a need for
allowing the TV app to publish its own content rating systems. This
change added an intent action and a metadata key to be used by the TV
input manager service for querying available content rating systems,
similarly to the way InputManager defined ACTION_QUERY_KEYBOARD_LAYOUTS
and META_DATA_KEYBOARD_LAYOUTS for custom keyboard layouts. Applications
now can register their own rating systems simply by declaring a
broadcast receiver in their manifests.

Bug: 17167287, Bug: 17114406
Change-Id: I1808c624014b603ea709714737c2a880714bdc0a

9 years agoUpdate soundscape for L, using classic names.
Dan Sandler [Thu, 28 Aug 2014 04:37:18 +0000 (00:37 -0400)]
Update soundscape for L, using classic names.

(partial revert of commit 7348f744)

Bug: 15725449
Change-Id: Ic1a038c906deab035f96caed42fc16c59d459965

9 years agoCorrect misleading javadoc for BackupHelper
Christopher Tate [Thu, 28 Aug 2014 01:49:37 +0000 (18:49 -0700)]
Correct misleading javadoc for BackupHelper

Change-Id: I3865cb3bd55f04baadedb55e9f84fc516eae75b4

9 years agoMerge "Address API Feedback" into lmp-dev
Selim Gurun [Thu, 28 Aug 2014 01:47:30 +0000 (01:47 +0000)]
Merge "Address API Feedback" into lmp-dev

9 years agoMerge "Animator stuff" into lmp-dev
John Reck [Thu, 28 Aug 2014 01:38:57 +0000 (01:38 +0000)]
Merge "Animator stuff" into lmp-dev

9 years agoMerge "Fix live region updates." into lmp-dev
Svetoslav [Thu, 28 Aug 2014 01:37:42 +0000 (01:37 +0000)]
Merge "Fix live region updates." into lmp-dev

9 years agoFix issue #16953886: History and batterystats checkin summary...
Dianne Hackborn [Thu, 28 Aug 2014 01:30:31 +0000 (18:30 -0700)]
Fix issue #16953886: History and batterystats checkin summary...

...start timestamps are in 1970s

Look for the wall clock time being very small, and try to update
it to a better value if we see one.

Also handle time change events to update the current time we a re
tracking.

Change-Id: Ifbae2b8c43ab5baa75ee4f672a752a542e23b52d

9 years agoMerge "CEC: return non-null MHL controller when not ready" into lmp-dev
Jinsuk Kim [Thu, 28 Aug 2014 00:59:02 +0000 (00:59 +0000)]
Merge "CEC: return non-null MHL controller when not ready" into lmp-dev

9 years agoMerge "Call onPhoneDestroyed when the service is unbound." into lmp-dev
Santos Cordon [Thu, 28 Aug 2014 00:57:45 +0000 (00:57 +0000)]
Merge "Call onPhoneDestroyed when the service is unbound." into lmp-dev

9 years agoAddress API Feedback
Selim Gurun [Wed, 27 Aug 2014 18:22:26 +0000 (11:22 -0700)]
Address API Feedback

Bug: 17253647

This is Part I of API feedback. It does not address portions
of the feedback that is still pending a response from API council.

Change-Id: I6ae250c6455a5545912623aeb34332d564fffde7

9 years agoAnimator stuff
John Reck [Thu, 14 Aug 2014 16:02:01 +0000 (09:02 -0700)]
Animator stuff

 Bug: 17228458

Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d

9 years agoAdd Media Player Streaming Tests
Shaohan Zou [Wed, 27 Aug 2014 21:55:09 +0000 (14:55 -0700)]
Add Media Player Streaming Tests

Change-Id: I4bb78b0487d158f4ea57349b591f66eda6b325d2

9 years agoCall onPhoneDestroyed when the service is unbound.
Santos Cordon [Tue, 26 Aug 2014 16:54:33 +0000 (09:54 -0700)]
Call onPhoneDestroyed when the service is unbound.

Bug: 17253031
Change-Id: I1a74e0f2fe1ec9172268638dba531c17d22dee99

9 years agoMerge "Update value of EXTRA_CALL_TYPE_FILTER" into lmp-dev
Yorke Lee [Thu, 28 Aug 2014 00:16:24 +0000 (00:16 +0000)]
Merge "Update value of EXTRA_CALL_TYPE_FILTER" into lmp-dev

9 years agoMerge "TIF: fix callback cleanup logic in removeSessionStateLocked()." into lmp-dev
Dongwon Kang [Thu, 28 Aug 2014 00:00:55 +0000 (00:00 +0000)]
Merge "TIF: fix callback cleanup logic in removeSessionStateLocked()." into lmp-dev

9 years agoMerge "Change constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITY" into lmp-dev
Michael Wright [Thu, 28 Aug 2014 00:00:54 +0000 (00:00 +0000)]
Merge "Change constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITY" into lmp-dev

9 years agoMerge "Do not require device provisioning to do restore-at-install" into lmp-dev
Christopher Tate [Thu, 28 Aug 2014 00:00:46 +0000 (00:00 +0000)]
Merge "Do not require device provisioning to do restore-at-install" into lmp-dev

9 years agoForce translucency for inset windows
Chris Craik [Wed, 27 Aug 2014 23:51:56 +0000 (16:51 -0700)]
Force translucency for inset windows

bug:17289912

Change-Id: Ic800f07bce78e0a3538a6afd7ec293d9f8ddad9d

9 years agoUpdate value of EXTRA_CALL_TYPE_FILTER
Yorke Lee [Wed, 27 Aug 2014 23:28:12 +0000 (16:28 -0700)]
Update value of EXTRA_CALL_TYPE_FILTER

Bug: 17253963
Change-Id: I1e98fc2a25b0bc807b0b4d1af2941da6660e09e0

9 years agoMerge "Allowing isRound and outsetBottom properties to be passed to ActivityView...
Filip Gruszczynski [Wed, 27 Aug 2014 23:21:37 +0000 (23:21 +0000)]
Merge "Allowing isRound and outsetBottom properties to be passed to ActivityView." into lmp-dev

9 years agoAllow arbitrarily-added shared elements.
George Mount [Wed, 27 Aug 2014 23:10:46 +0000 (16:10 -0700)]
Allow arbitrarily-added shared elements.

Bug 17112782

This allows the application developer to set any view as
a shared element so that it will avoid the enter and/or exit
transition. This will allow it to be transitioned along with
the shared element transition as well. It will also allow
the called Activity to return different shared elements than
those passed in.

Change-Id: I7b1f4f029af50dc6e2d5f025062b5669486f6427

9 years agoUpdate transform isolation to handle command chunks
Chris Craik [Wed, 27 Aug 2014 22:34:52 +0000 (15:34 -0700)]
Update transform isolation to handle command chunks

bug:15570351

Prevent drawing transformations on a ViewGroup's canvas from directly
affecting the transformation of the children through the renderer,
since it's already baked into mTransformFromParent at record time.

Change-Id: I6310a2260dfe4def0bde1fd2c5b93791a645d586

9 years agoAllowing isRound and outsetBottom properties to be passed to ActivityView.
Filip Gruszczynski [Tue, 26 Aug 2014 00:05:11 +0000 (17:05 -0700)]
Allowing isRound and outsetBottom properties to be passed to ActivityView.

We remove requirement for having display id == 0 or allow circumventing it
through a flag.

Change-Id: Ia4671614b51894393d47e681cc72718d394230f6

9 years agoChange constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITY
Michael Wright [Wed, 27 Aug 2014 22:36:15 +0000 (15:36 -0700)]
Change constant to PowerManager#FLAG_WAIT_FOR_DISTANT_PROXIMITY

Also add docs to PowerManager.WakeLock#release(int)

Bug: 17290118
Change-Id: Ibcbc4279efdd0f275808042356e6ff843958e23f

9 years agoMerge "Preserve inner drawable bounds and level on mutate" into lmp-dev
Alan Viverette [Wed, 27 Aug 2014 22:29:19 +0000 (22:29 +0000)]
Merge "Preserve inner drawable bounds and level on mutate" into lmp-dev

9 years agoDefine EXTRA_SIZE for ContentProviders.
Jeff Sharkey [Wed, 27 Aug 2014 21:46:32 +0000 (14:46 -0700)]
Define EXTRA_SIZE for ContentProviders.

Also make Size and SizeF parcelable.

Bug: 17205016
Change-Id: Ide397b84864f6cad7f8d89e66b6c8697a3ad335b

9 years agoMerge "Update leanback shadow parameters." into lmp-dev
Tim Kilbourn [Wed, 27 Aug 2014 22:07:35 +0000 (22:07 +0000)]
Merge "Update leanback shadow parameters." into lmp-dev

9 years agoClean up Connectivity Logging.
Robert Greenwalt [Wed, 27 Aug 2014 21:34:02 +0000 (14:34 -0700)]
Clean up Connectivity Logging.

bug:17285109
Change-Id: I61b98aa636996f8d4915fd954d49a22c20cfe9ab

9 years agoMerge "fix condition to send ACTION_AUDIO_BECOMING_NOISY intent" into lmp-dev
Eric Laurent [Wed, 27 Aug 2014 21:47:09 +0000 (21:47 +0000)]
Merge "fix condition to send ACTION_AUDIO_BECOMING_NOISY intent" into lmp-dev

9 years agoZen: Remove alarm warnings, color the subhead instead.
John Spurlock [Wed, 27 Aug 2014 21:46:03 +0000 (17:46 -0400)]
Zen: Remove alarm warnings, color the subhead instead.

- When selecting "None" in the dialog, remove the footer warnings
  about alarms, and associated bits.
- Update subhead text for "None".
- Keep track of how often "None" is used (defined as a user change
  during a visible dialog session) and color the subhead text
  with the warning color until it's been used five times.

Bug:17283115
Change-Id: Ief8a1c557716ec2f581b8338511432d17ac0d371

9 years agomedia: update MediaCodec/Info/List/Format APIs based on review comments
Lajos Molnar [Fri, 22 Aug 2014 22:51:40 +0000 (15:51 -0700)]
media: update MediaCodec/Info/List/Format APIs based on review comments

Bug: 17059255
Change-Id: Ifbba2a0799e7db5ae48190ba6b1e4ba13fffa167

9 years agoMerge "Hide trust agent whitelisting until new API is ready." into lmp-dev
Jim Miller [Wed, 27 Aug 2014 21:29:11 +0000 (21:29 +0000)]
Merge "Hide trust agent whitelisting until new API is ready." into lmp-dev

9 years agoHide trust agent whitelisting until new API is ready.
Jim Miller [Wed, 27 Aug 2014 01:42:58 +0000 (18:42 -0700)]
Hide trust agent whitelisting until new API is ready.

Fixes bug 17008504

Change-Id: Ic93d52042e9b6d6f7d634f22aa04642f2da1af32

9 years agoMerge "Add null check to cleanupRecentTasksLocked." into lmp-dev
Sascha Prueter [Wed, 27 Aug 2014 21:18:33 +0000 (21:18 +0000)]
Merge "Add null check to cleanupRecentTasksLocked." into lmp-dev

9 years agoMerge "Allow voice assist to function in a non-interactive state" into lmp-dev
Michael Wright [Wed, 27 Aug 2014 21:16:32 +0000 (21:16 +0000)]
Merge "Allow voice assist to function in a non-interactive state" into lmp-dev

9 years agoAdd android.software.live_tv feature
Jae Seo [Wed, 27 Aug 2014 21:02:15 +0000 (14:02 -0700)]
Add android.software.live_tv feature

This feature will be listed by Android TV devices that allow displaying
contents from TV inputs implemented with the
android.media.tv.TvInputService API. (Note that not all leanback devices
support this feature.)

Bug: 17284986
Change-Id: Ic1f23f6f5955866e9f1db9229693d370576066a3

9 years agoAdd null check to cleanupRecentTasksLocked.
Craig Mautner [Wed, 27 Aug 2014 21:01:25 +0000 (14:01 -0700)]
Add null check to cleanupRecentTasksLocked.

If during boot, the package manager broadcast occurs before
TaskPersister has restored the recents list then mRecentTasks will be
null and an NPE will occur. This checks for null mRecentsTasks and
returns before the NPE happens.

Fixes bug 17300409.

Change-Id: I1588ad3a3c0d04bc6f273630ef5dadf6821e5710

9 years agoDo not require device provisioning to do restore-at-install
Christopher Tate [Wed, 27 Aug 2014 20:54:51 +0000 (13:54 -0700)]
Do not require device provisioning to do restore-at-install

Provisioning is a milestone used for gating *backup* operation,
but it's important that restores be possible during the setup
process.  In particular, some applications such as home apps may
be deliberately pushed for install after platform restore, but
before the end of the setup process.  We need to be able to do
install-time restores of such apps.

Bug 17288313

Change-Id: Iaff5d9919e6392b2ca5925be4d63a4116cd11f77