OSDN Git Service

android-x86/frameworks-base.git
10 years agoDO NOT MERGE: Add the constants for the callback result of SendCecCommand().
Yuncheol Heo [Fri, 23 May 2014 11:10:19 +0000 (20:10 +0900)]
DO NOT MERGE: Add the constants for the callback result of SendCecCommand().

- Move the send failure warning messages into HdmiCecController.sendCommand()
  from each Actions.
- Stringfy with more detail messages for some opcodes.

Change-Id: Ib7ce24dd2a1f290e6c3a0b26738772ef1d4a9630

10 years agoDO NOT MERGE: CEC Initialization per device type
Jinsuk Kim [Tue, 20 May 2014 07:45:45 +0000 (16:45 +0900)]
DO NOT MERGE: CEC Initialization per device type

CEC initialization may vary from device type to type. Changed logical address
map to HdmiCecLocalDevice map to handle it. These per-type classes for local
device will be extended also to take care of incoming CEC commands that should
require different action based on device type.

Change-Id: Ia59a464607b14e942fcf83e63aa1d6310ca6a575

10 years agoDO NOT MERGE: Add SendMessageCallback to Hdmi control service.
Jungshik Jang [Thu, 22 May 2014 10:28:09 +0000 (19:28 +0900)]
DO NOT MERGE: Add SendMessageCallback to Hdmi control service.

As we have separate IO thread, we should have async callback
mechanism to get result of send request.
For that, I added SendMessageCallback interface to HdmiControl
Service
Along with this, replace message-based IO handling with
post Runnable based one for consistency

Change-Id: I61cf5b751b4f2af3b34956060869f3512f161d11

10 years agoMerge "Fix padding for GradientDrawable" into lmp-preview-dev
Alan Viverette [Sun, 1 Jun 2014 23:23:51 +0000 (23:23 +0000)]
Merge "Fix padding for GradientDrawable" into lmp-preview-dev

10 years agoMerge "Fixes hotspot list transitions, update to use a single hotspot" into lmp-previ...
Alan Viverette [Sun, 1 Jun 2014 23:14:25 +0000 (23:14 +0000)]
Merge "Fixes hotspot list transitions, update to use a single hotspot" into lmp-preview-dev

10 years agoFix padding for GradientDrawable
Alan Viverette [Sun, 1 Jun 2014 23:11:32 +0000 (16:11 -0700)]
Fix padding for GradientDrawable

BUG: 15197745
Change-Id: Ibd1c20dd8ba8c7ffbf65031be4ca9813304d4d0f

10 years agoMerge "Add a path for generic event from a session to an application in Tv Input...
Dongwon Kang [Sun, 1 Jun 2014 23:09:30 +0000 (23:09 +0000)]
Merge "Add a path for generic event from a session to an application in Tv Input Framework." into lmp-preview-dev

10 years agoFixes hotspot list transitions, update to use a single hotspot
Alan Viverette [Sun, 1 Jun 2014 22:58:04 +0000 (15:58 -0700)]
Fixes hotspot list transitions, update to use a single hotspot

Also updates background and button colors to match spec, removes
dependency on bouncycastle Arrays. Vastly simplifies ripple drawing.
Adds APIs for maximum ripple radius. Makes selectableItemBackground
bounded by default and adds an unbounded version and theme attribute.

BUG: 15315168
BUG: 15314684
BUG: 15314830
BUG: 15316768
BUG: 15333033
BUG: 15344050
Change-Id: Ib0619587ce78e43056b66571bae185e0f1613185

10 years agoChange parameter name for Activity#setActionBar
Adam Powell [Sun, 1 Jun 2014 20:31:00 +0000 (13:31 -0700)]
Change parameter name for Activity#setActionBar

Feedback from API review

Bug 14998253

Change-Id: Id3b87a8071d43de49847e93fd6229d48364bf55e

10 years agoSettings: Keep SeekBarVolumizer in sync with audio stream.
John Spurlock [Sun, 1 Jun 2014 17:01:23 +0000 (13:01 -0400)]
Settings: Keep SeekBarVolumizer in sync with audio stream.

Use AudioManager.VOLUME_CHANGED_ACTION instead of relying
on obsolete settings.

Bug:15343543
Change-Id: Ia95237bb455268314ec985affe92b0cec6b52e29

10 years agoVolumeZen: Prevent raising ringer volume in silent mode.
John Spurlock [Sun, 1 Jun 2014 15:52:23 +0000 (11:52 -0400)]
VolumeZen: Prevent raising ringer volume in silent mode.

Instead of breaking out of silent mode when raising the volume
using the keys, prevent the change and display a visual hint up
in the user interface.

Bug:15330217
Change-Id: I74aae44319aadcd6db9841c7799967607f5a1617

10 years agoQuickSettings: Icon updates + BT connecting state.
John Spurlock [Sun, 1 Jun 2014 04:04:53 +0000 (00:04 -0400)]
QuickSettings: Icon updates + BT connecting state.

Bug:15186962
Change-Id: I56de6f3cabcb36b13617d4027323a078cceb9587

10 years agoVolumeZen: Update icon and fix handler bug.
John Spurlock [Sun, 1 Jun 2014 02:21:52 +0000 (22:21 -0400)]
VolumeZen: Update icon and fix handler bug.

Bug:15186962
Change-Id: Iaeae85e185b60c7afa573ebfda331eb41a6b8db8

10 years agoVolumeZen: Pulse silent mode icon on disabled slider touch.
John Spurlock [Sun, 1 Jun 2014 00:15:59 +0000 (20:15 -0400)]
VolumeZen: Pulse silent mode icon on disabled slider touch.

Bug:15330217
Change-Id: Icb54e5ea0466bb5fbd7e08b99e8f0dac15ded447

10 years agoMerge "VolumeZen: Slider icon as ringer-mode toggle." into lmp-preview-dev
John Spurlock [Sat, 31 May 2014 23:18:12 +0000 (23:18 +0000)]
Merge "VolumeZen: Slider icon as ringer-mode toggle." into lmp-preview-dev

10 years agoVolumeZen: Slider icon as ringer-mode toggle.
John Spurlock [Sat, 31 May 2014 23:11:40 +0000 (19:11 -0400)]
VolumeZen: Slider icon as ringer-mode toggle.

- When manipulating the ringer/notification stream, the volume
  slider icon on the left now serves as a toggle.  Single-press
  for vibrate, long-press for silent.
- Disable slider when silent.
- Add touch feedback to slider icon when clickable.
- Vibrate when toggling to vibrate.
- Play sound when toggling to audible.
- Adjust the slider icon padding so it appears to be square,
  and the same size as the icon on the right.

Bug:15330217
Change-Id: Id7262d9315e6e761e1d5750714c356c3ac735951

10 years agoQuickSettings: Guard against bad input to handleShowDetail.
John Spurlock [Sat, 31 May 2014 16:54:58 +0000 (12:54 -0400)]
QuickSettings: Guard against bad input to handleShowDetail.

Bug:15326440
Change-Id: I473cedb2c41dadf88596ea54a8f8a881ca4e27ba

10 years agoMerge "Overscroll header when expanding the panel." into lmp-preview-dev
Jorim Jaggi [Sat, 31 May 2014 12:21:11 +0000 (12:21 +0000)]
Merge "Overscroll header when expanding the panel." into lmp-preview-dev

10 years agoOverscroll header when expanding the panel.
Jorim Jaggi [Fri, 30 May 2014 15:02:20 +0000 (17:02 +0200)]
Overscroll header when expanding the panel.

Bug: 14486987
Change-Id: I563aabf273328d733d7452af7f54db28934df9d9

10 years agoMerge "Update HUN visuals to UX spec" into lmp-preview-dev
Jorim Jaggi [Sat, 31 May 2014 11:44:48 +0000 (11:44 +0000)]
Merge "Update HUN visuals to UX spec" into lmp-preview-dev

10 years agoUpdate HUN visuals to UX spec
Adrian Roos [Wed, 28 May 2014 15:08:13 +0000 (17:08 +0200)]
Update HUN visuals to UX spec

Adds gradient, fixes wrong padding on tablets
and adds a callback mode to swipe helper.

Bug: 15106201
Change-Id: I9c3f2d24665cb3de8e70904893f56c928b0caabb

10 years agoMerge "Collapse contentInsets and View margins in Toolbars" into lmp-preview-dev
Adam Powell [Sat, 31 May 2014 01:54:48 +0000 (01:54 +0000)]
Merge "Collapse contentInsets and View margins in Toolbars" into lmp-preview-dev

10 years agoCollapse contentInsets and View margins in Toolbars
Adam Powell [Sat, 31 May 2014 01:52:37 +0000 (18:52 -0700)]
Collapse contentInsets and View margins in Toolbars

As content insets are meant to help line up the edges of views with
the content in adjacent ViewGroups, collapse individual view margins
with the insets to preserve this property. Margins still define a
minimum spacing between adjacent sibling views or the edges of the
Toolbar container.

Bug 15328526

Change-Id: I786ccdbed6b40930250fa22e2a6d0376d759f2d2

10 years agoMerge "Fade scrim in unlock animation." into lmp-preview-dev
Jorim Jaggi [Sat, 31 May 2014 01:09:18 +0000 (01:09 +0000)]
Merge "Fade scrim in unlock animation." into lmp-preview-dev

10 years agoMerge "AudioManager: add audio port gain control" into lmp-preview-dev
Eric Laurent [Sat, 31 May 2014 00:49:57 +0000 (00:49 +0000)]
Merge "AudioManager: add audio port gain control" into lmp-preview-dev

10 years agoMerge "audio routing update listener" into lmp-preview-dev
Eric Laurent [Sat, 31 May 2014 00:49:43 +0000 (00:49 +0000)]
Merge "audio routing update listener" into lmp-preview-dev

10 years agoMerge "AudioSystem: added JNI for routing extensions" into lmp-preview-dev
Eric Laurent [Sat, 31 May 2014 00:49:26 +0000 (00:49 +0000)]
Merge "AudioSystem: added JNI for routing extensions" into lmp-preview-dev

10 years agoFade scrim in unlock animation.
Jorim Jaggi [Fri, 30 May 2014 21:17:03 +0000 (23:17 +0200)]
Fade scrim in unlock animation.

This also introduces a startTime which gets sent from window manager
to SystemUI, which tells when the animation should start, to allow
for a more synchronized animation with fading out the scrim and
fading in the activity behind.

Bug: 15163546
Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937

10 years agoMerge "Fix IME animation." into lmp-preview-dev
Dianne Hackborn [Sat, 31 May 2014 00:47:06 +0000 (00:47 +0000)]
Merge "Fix IME animation." into lmp-preview-dev

10 years agoFix IME animation.
Dianne Hackborn [Sat, 31 May 2014 00:45:49 +0000 (17:45 -0700)]
Fix IME animation.

Change-Id: I8999c243a73dbff4ee9b06ebe199e4690286769d

10 years agoAudioManager: add audio port gain control
Eric Laurent [Tue, 20 May 2014 02:33:26 +0000 (19:33 -0700)]
AudioManager: add audio port gain control

Implement AudioManager.setAudioPortGain() API.

Bug: 14815883.

Change-Id: Ib54bd1fd1392c474f4767a00228b0a617c51ec5e

10 years agoaudio routing update listener
Eric Laurent [Sat, 3 May 2014 01:33:15 +0000 (18:33 -0700)]
audio routing update listener

Implement audio port and audio patch
callback infrastructure for clients to receive
notifications when audio routing changes occur via the
OnAudioPortUpdateListener interface.

Bug: 14815883.

Change-Id: I32cbba64eca7369871aec235ff100de1f0c2d344

10 years agoAudioSystem: added JNI for routing extensions
Eric Laurent [Tue, 20 May 2014 02:02:51 +0000 (19:02 -0700)]
AudioSystem: added JNI for routing extensions

Bug: 14815883.

Change-Id: Ia0c0d14a8e3051a4bc0ce502b6e979135b170c97

10 years agoMerge "Fix name error in com.android.mediadrm.signer.xml" into lmp-preview-dev
Jeff Tinker [Sat, 31 May 2014 00:02:58 +0000 (00:02 +0000)]
Merge "Fix name error in com.android.mediadrm.signer.xml" into lmp-preview-dev

10 years agoMerge "Clean up voice API." into lmp-preview-dev
Dianne Hackborn [Fri, 30 May 2014 23:54:11 +0000 (23:54 +0000)]
Merge "Clean up voice API." into lmp-preview-dev

10 years agoMerge "Resurrect global actions, remove confirmation for Power off." into lmp-preview-dev
John Spurlock [Fri, 30 May 2014 23:51:13 +0000 (23:51 +0000)]
Merge "Resurrect global actions, remove confirmation for Power off." into lmp-preview-dev

10 years agoMerge "Per-app media directories on external storage." into lmp-preview-dev
Jeff Sharkey [Fri, 30 May 2014 23:47:00 +0000 (23:47 +0000)]
Merge "Per-app media directories on external storage." into lmp-preview-dev

10 years agoClean up voice API.
Dianne Hackborn [Fri, 30 May 2014 23:42:57 +0000 (16:42 -0700)]
Clean up voice API.

Add various java docs.

Switch to CharSequence where appropriate.

Add new request for canceling voice interaction.

Also update test app to follow API changes and be more better.

Change-Id: If27eeba53cf6444660adb7d37ea2ce0557c6c91f

10 years agoPer-app media directories on external storage.
Jeff Sharkey [Fri, 30 May 2014 22:38:35 +0000 (15:38 -0700)]
Per-app media directories on external storage.

This change defines per-app directories on external storage that
will be scanned and included in MediaStore.  This gives apps a way
to write content to secondary shared storage in a way that can
easily be surfaced to other apps.

Bug: 14382377
Change-Id: I4cb367c870509e76f0c2c598f01e2f699780030a

10 years agoMerge "Fix action bar title TextAppearance usage for Toolbar decor" into lmp-preview-dev
Adam Powell [Fri, 30 May 2014 23:21:33 +0000 (23:21 +0000)]
Merge "Fix action bar title TextAppearance usage for Toolbar decor" into lmp-preview-dev

10 years agoFix action bar title TextAppearance usage for Toolbar decor
Adam Powell [Fri, 30 May 2014 23:19:16 +0000 (16:19 -0700)]
Fix action bar title TextAppearance usage for Toolbar decor

Pass through the appropriate action bar styles for title/subtitle
TextAppearance.

Bug 15345937

Change-Id: I93c648cf60b4a63498d127dbd6eac2c1fae33aa7

10 years agoMerge changes I1fd178b6,I5093672e into lmp-preview-dev
Lajos Molnar [Fri, 30 May 2014 23:14:55 +0000 (23:14 +0000)]
Merge changes I1fd178b6,I5093672e into lmp-preview-dev

* changes:
  DO NOT MERGE: media.MediaCodec: hide NotificationCallback listener
  media.MediaCodec: document and fix-up setNotificationCallback

10 years agoMerge changes I16ad392e,Ie26a7d01 into lmp-preview-dev
RoboErik [Fri, 30 May 2014 22:18:53 +0000 (22:18 +0000)]
Merge changes I16ad392e,Ie26a7d01 into lmp-preview-dev

* changes:
  Refactor transport controls APIs
  API changes to sessions

10 years agoResurrect global actions, remove confirmation for Power off.
John Spurlock [Fri, 30 May 2014 21:48:54 +0000 (17:48 -0400)]
Resurrect global actions, remove confirmation for Power off.

Instead of fast forwarding to the power off confirmation dialog,
display the global actions dialog with a single item by default,
with no confirmation.

Re-configure the bugreport option, it will appear if specified
in developer settings.

Bug:15109463
Change-Id: I5a19df8684d661345e42ad305f64f01c271aae19

10 years agoMerge "DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback" into lmp...
Ihab Awad [Fri, 30 May 2014 21:50:51 +0000 (21:50 +0000)]
Merge "DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback" into lmp-preview-dev

10 years agoMerge "Camera2: update the range of metering weight" into lmp-preview-dev
Yin-Chia Yeh [Fri, 30 May 2014 21:41:41 +0000 (21:41 +0000)]
Merge "Camera2: update the range of metering weight" into lmp-preview-dev

10 years agoMerge "Change PersistableBundle API per council's request" into lmp-preview-dev
Craig Mautner [Fri, 30 May 2014 21:40:17 +0000 (21:40 +0000)]
Merge "Change PersistableBundle API per council's request" into lmp-preview-dev

10 years agoDO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback
Ihab Awad [Wed, 28 May 2014 23:46:42 +0000 (16:46 -0700)]
DO NOT MERGE. Allow ConnectionService to ask Telecomm for ringback

Provides a pass-through from the ConnectionService API to Telecomm allowing
a ConnectionService to either play the ringbacks on its own, or ask Telecomm
to play the ringbacks on its behalf.

Bug: 15190301
Change-Id: Ib0f2ce9bf798ec0df0e6d33559174c82de059a94

10 years agoMerge "Updating paddings to design spec." into lmp-preview-dev
Winson Chung [Fri, 30 May 2014 21:06:18 +0000 (21:06 +0000)]
Merge "Updating paddings to design spec." into lmp-preview-dev

10 years agoMerge "QuickSettings: Fix flash when expanding panel." into lmp-preview-dev
John Spurlock [Fri, 30 May 2014 20:29:17 +0000 (20:29 +0000)]
Merge "QuickSettings: Fix flash when expanding panel." into lmp-preview-dev

10 years agoQuickSettings: Fix flash when expanding panel.
John Spurlock [Fri, 30 May 2014 20:20:05 +0000 (16:20 -0400)]
QuickSettings: Fix flash when expanding panel.

Bug:15186962
Change-Id: Ib42776989d687f8873f7bd3c2567c31a23e0490f

10 years agoMerge "camera2: Change android.lens.focusRange to Pair<Float,Float>" into lmp-preview-dev
Igor Murashkin [Fri, 30 May 2014 20:19:32 +0000 (20:19 +0000)]
Merge "camera2: Change android.lens.focusRange to Pair<Float,Float>" into lmp-preview-dev

10 years agoAdd people signals to Zen mode.
Chris Wren [Wed, 28 May 2014 20:52:42 +0000 (16:52 -0400)]
Add people signals to Zen mode.

Depends-On: I51fcf689ddbee7715e3387b865f18a715887c943
Change-Id: I7c91dec1afeb54505426c4da59ec4d072a60c240

10 years agoMerge "Track Zen Mode status in the NotificationRecord" into lmp-preview-dev
Chris Wren [Fri, 30 May 2014 20:15:38 +0000 (20:15 +0000)]
Merge "Track Zen Mode status in the NotificationRecord" into lmp-preview-dev

10 years agoChange PersistableBundle API per council's request
Craig Mautner [Thu, 29 May 2014 17:27:32 +0000 (10:27 -0700)]
Change PersistableBundle API per council's request

Fixes bug 15192573.

Change-Id: Ib98ef132c8c12e68e805cb3c0b1f7ae75940f17c

10 years agoTrack Zen Mode status in the NotificationRecord
Chris Wren [Wed, 28 May 2014 20:40:57 +0000 (16:40 -0400)]
Track Zen Mode status in the NotificationRecord

This requires the record to be present in makeRankingUpdateForListener,
however, if the ranking object is created before the post to the handler,
then no cloning is necessary.

Depends-On: I907a1ff28123219db1c08889d723ad1b70b191ab
Change-Id: I51fcf689ddbee7715e3387b865f18a715887c943

10 years agoMerge "Compatibility fix for apps that construct Notification.Builders early" into...
Adam Powell [Fri, 30 May 2014 20:01:53 +0000 (20:01 +0000)]
Merge "Compatibility fix for apps that construct Notification.Builders early" into lmp-preview-dev

10 years agoMerge "Support legacy routes added by apps via ensureRouteToHost()." into lmp-preview-dev
Sreeram Ramachandran [Fri, 30 May 2014 19:47:50 +0000 (19:47 +0000)]
Merge "Support legacy routes added by apps via ensureRouteToHost()." into lmp-preview-dev

10 years agoMerge "Re-jigger layers" into lmp-preview-dev
John Reck [Fri, 30 May 2014 19:46:24 +0000 (19:46 +0000)]
Merge "Re-jigger layers" into lmp-preview-dev

10 years agoMerge "Address API review comments. 1. Moved le stuff to it's subpackage. Remove...
Wei Wang [Fri, 30 May 2014 19:39:11 +0000 (19:39 +0000)]
Merge "Address API review comments. 1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings. 2. Make all callbacks abstract classes instead of interfaces. 3. Moved AdvertisementData and ScanRecord out and removed AdvertiseBaseData 4. Removed newBuild and use new Builder for all builders. 5. Using setxxx in builders. 6. Misc other changes." into lmp-preview-dev

10 years agoMerge "Update showCallScreen to use Telecomm (1/6)" into lmp-preview-dev
Santos Cordon [Fri, 30 May 2014 19:36:41 +0000 (19:36 +0000)]
Merge "Update showCallScreen to use Telecomm (1/6)" into lmp-preview-dev

10 years agoCompatibility fix for apps that construct Notification.Builders early
Adam Powell [Fri, 30 May 2014 19:32:18 +0000 (12:32 -0700)]
Compatibility fix for apps that construct Notification.Builders early

Some apps in the wild are known to construct a Notification.Builder
from within their Activity constructor, passing said Activity instance
as the Context parameter. However at this point in the Activity's
lifecycle the ContextWrapper's base context has not yet been populated
and most calls to Context methods will fail.

Even though this was technically undefined behavior in the past, as
apps have little to no way to guess at these internal implementation
details it's probably best to preserve old expectations. Add a note
in Notification.Builder for future framework developers and remove the
offending call - the associated field was never used anyway.

ಠ_ಠ

Change-Id: I4cf3df10be14739babc8ae9a969d261a7ecf8beb

10 years agoMerge "Mark getRecentTasks() and getRunningTasks() as deprecated." into lmp-preview-dev
Dianne Hackborn [Fri, 30 May 2014 19:31:28 +0000 (19:31 +0000)]
Merge "Mark getRecentTasks() and getRunningTasks() as deprecated." into lmp-preview-dev

10 years agoMark getRecentTasks() and getRunningTasks() as deprecated.
Dianne Hackborn [Fri, 30 May 2014 19:30:35 +0000 (12:30 -0700)]
Mark getRecentTasks() and getRunningTasks() as deprecated.

Change-Id: Idba79d7a4c0b9f0929f8dd27f25bd6aa548f5622

10 years agoRe-jigger layers
John Reck [Fri, 30 May 2014 01:56:11 +0000 (18:56 -0700)]
Re-jigger layers

 Bug: 15185239
 Bug: 15238382

 Make DeferredLayerUpdater ref counted so that
 HardwareLayer:finalizer() works non-crashily on
 leaked layers
 Give DeferredLayerUpdater the ability to have a layer destroyer
 set so that leaked layers can still be recycled on the
 RenderThread
 Order layer updates based off of pushLayerUpdate() calls to fix
 issue with nested layers

Change-Id: I4449cee607f7e5126e02fed7464cf48038e3dfdf

10 years agoCamera2: update the range of metering weight
Yin-Chia Yeh [Wed, 28 May 2014 23:36:05 +0000 (16:36 -0700)]
Camera2: update the range of metering weight

Limit the range of metering weight to 0-1000.

Bug: 15315352
Change-Id: Iceb13b72508cb3c9f758bdcb1b69b6b11ec5aaf8

10 years agoUpdating paddings to design spec.
Winson Chung [Fri, 30 May 2014 01:30:51 +0000 (18:30 -0700)]
Updating paddings to design spec.

Change-Id: I11286937216494304c38c87280bc69ef9522c596

10 years agoUpdate showCallScreen to use Telecomm (1/6)
Santos Cordon [Thu, 29 May 2014 20:07:10 +0000 (13:07 -0700)]
Update showCallScreen to use Telecomm (1/6)

- Add API methods to InCallService and ITelecommService.
- Remove old methods from ITelephony.
- Route the TelephonyManager methods through ITelecommService instead of
  ITelephony.
- Update Lock screen to use TelephonyManager instead of ITelephony.

Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657

10 years agocamera2: Change android.lens.focusRange to Pair<Float,Float>
Igor Murashkin [Fri, 30 May 2014 17:49:00 +0000 (10:49 -0700)]
camera2: Change android.lens.focusRange to Pair<Float,Float>

Since the focus range is defined in diopters (1/distance), it just so
happens that in a range [near, far] near >= far which is against the
android.util.Range contract.

Change it to pair instead.

Also adds a marshaler for Pairs since they didn't have one before
(and aren't parcelable).

Bug: 15335269
Change-Id: If2f3259aeec072438a1c18c1b9728a4c81e92a40

10 years agoSupport legacy routes added by apps via ensureRouteToHost().
Sreeram Ramachandran [Thu, 22 May 2014 23:30:48 +0000 (16:30 -0700)]
Support legacy routes added by apps via ensureRouteToHost().

Change-Id: I0ee1ca89fdc859d75a89021ca8c1902811b1e4a9
(cherry picked from commit fb17b32550de624b7f476b70b7a2fc77f31dde7d)

10 years agoGuard against missing progress bars in window decor layouts
Adam Powell [Fri, 30 May 2014 18:00:00 +0000 (11:00 -0700)]
Guard against missing progress bars in window decor layouts

This is temporary; in general requesting the window feature means you
have the progress bars available. This can be removed once Toolbar
supports the additional progress bar features.

Bug 15329703

Change-Id: Ica520a4fb600fd132a88c5204197185d7e0689c9

10 years agoMerge "Fix bad casts in action bars" into lmp-preview-dev
Adam Powell [Fri, 30 May 2014 17:49:19 +0000 (17:49 +0000)]
Merge "Fix bad casts in action bars" into lmp-preview-dev

10 years agoMerge "QuickSettings: Maintain tile panel Y in detail mode." into lmp-preview-dev
John Spurlock [Fri, 30 May 2014 17:40:23 +0000 (17:40 +0000)]
Merge "QuickSettings: Maintain tile panel Y in detail mode." into lmp-preview-dev

10 years agoRefactor transport controls APIs
RoboErik [Thu, 29 May 2014 00:36:42 +0000 (17:36 -0700)]
Refactor transport controls APIs

This merges TransportPerformer into MediaSession + a
TransportControlsCallback and makes TransportController into an
inner class on MediaController called TransportControls. Also makes
the PlaybackState and Metadata part of the session APIs instead of
transport controls.

Change-Id: I16ad392e6d318abe3119ad5d89656d253af25e16

10 years agoFix bad casts in action bars
Adam Powell [Fri, 30 May 2014 17:28:14 +0000 (10:28 -0700)]
Fix bad casts in action bars

Not all DecorToolbars are themselves views. Use the interface
passthrough instead.

Bug 15335176

Change-Id: I88f1701822406d4204d344aef855a4a707e4c7ab

10 years agoMerge "Report runtime information to DDMS" into lmp-preview-dev
Sebastien Hertz [Fri, 30 May 2014 17:31:51 +0000 (17:31 +0000)]
Merge "Report runtime information to DDMS" into lmp-preview-dev

10 years agoQuickSettings: Maintain tile panel Y in detail mode.
John Spurlock [Fri, 30 May 2014 16:34:03 +0000 (12:34 -0400)]
QuickSettings: Maintain tile panel Y in detail mode.

Hide the brightness slider to reduce visual clutter.
Stabilize the tile panel further by preventing it from
shrinking to less than the tiles height.

Bug:15341870
Change-Id: I785ff9c13f8489e86e3bdc8dde45ebd39f9a1413

10 years agoMerge "More work on voice interaction visuals." into lmp-preview-dev
Dianne Hackborn [Fri, 30 May 2014 17:11:19 +0000 (17:11 +0000)]
Merge "More work on voice interaction visuals." into lmp-preview-dev

10 years agoMerge "Add global key mappings to dump output." into lmp-preview-dev
Tim Kilbourn [Fri, 30 May 2014 17:09:12 +0000 (17:09 +0000)]
Merge "Add global key mappings to dump output." into lmp-preview-dev

10 years agoMerge "DO NOT MERGE - Wifi Passpoint API change" into lmp-preview-dev
Yuhao Zheng [Fri, 30 May 2014 17:08:07 +0000 (17:08 +0000)]
Merge "DO NOT MERGE - Wifi Passpoint API change" into lmp-preview-dev

10 years agoMore work on voice interaction visuals.
Dianne Hackborn [Fri, 30 May 2014 01:35:45 +0000 (18:35 -0700)]
More work on voice interaction visuals.

There is now a special theme for voice interaction activities
to use, so they can be a panel that is better intergrated with
the rest of the voice interaction experience.  This is still
not completely working, I have some hacks in the demo app to
get it right; I'll fix that in a future change.

Also improve VoiceInteractor to be retained across activity
instances, for things like rotation.

And bump up the number of concurrent broadcasts that are allowed
on non-svelte devices, since they can handle more and this makes
the boot experience better when dispatching BOOT_COMPLETED.

Change-Id: Ie86b5fd09b928da20d645ec2200577dee3e6889d

10 years agoAdd global key mappings to dump output.
Tim Kilbourn [Thu, 29 May 2014 23:08:10 +0000 (16:08 -0700)]
Add global key mappings to dump output.

Example:

    mKeyMapping={
      KEYCODE_FOO=com.example/com.example.KeyReceiver
    }

Change-Id: I03ed8327cebf245ff1e3e5f2aaef3cdec1b94d98

10 years agoMerge "DO NOT MERGE: Revert "Make Wifi WPS API available on application layer"" into...
Vinit Deshpande [Fri, 30 May 2014 15:55:54 +0000 (15:55 +0000)]
Merge "DO NOT MERGE: Revert "Make Wifi WPS API available on application layer"" into lmp-preview-dev

10 years agoMerge "Tweak LauncherApps API based on feedback" into lmp-preview-dev
Amith Yamasani [Fri, 30 May 2014 15:49:20 +0000 (15:49 +0000)]
Merge "Tweak LauncherApps API based on feedback" into lmp-preview-dev

10 years agoReduced overexpansion when expanding the panel
Selim Cinek [Fri, 30 May 2014 15:01:21 +0000 (17:01 +0200)]
Reduced overexpansion when expanding the panel

Bug: 14486987
Change-Id: Ic1546e1661e3afe842b044abf636421d2620bddd

10 years agoMerge "Implemented the appear animation for the pattern security." into lmp-preview-dev
Selim Cinek [Fri, 30 May 2014 15:32:39 +0000 (15:32 +0000)]
Merge "Implemented the appear animation for the pattern security." into lmp-preview-dev

10 years agoImplemented the appear animation for the pattern security.
Selim Cinek [Fri, 30 May 2014 01:33:06 +0000 (03:33 +0200)]
Implemented the appear animation for the pattern security.

Also refactored AppearAnimationUtils slightly to support this.

Bug: 15163546
Change-Id: I411fad20c410875dcf7bc465ea545ed90aac187e

10 years agoFix name error in com.android.mediadrm.signer.xml
Jeff Tinker [Fri, 30 May 2014 15:27:33 +0000 (08:27 -0700)]
Fix name error in com.android.mediadrm.signer.xml

Change-Id: I33811345d9e01180b736c6d90a43f58fcb45768a
related-to: 15341137

10 years agoMerge "Address HCE API review comments." into lmp-preview-dev
Martijn Coenen [Fri, 30 May 2014 14:52:47 +0000 (14:52 +0000)]
Merge "Address HCE API review comments." into lmp-preview-dev

10 years agoEagerly dismiss Keyguard when launching notifications and phone
Adrian Roos [Wed, 28 May 2014 12:10:27 +0000 (14:10 +0200)]
Eagerly dismiss Keyguard when launching notifications and phone

Uses the new code path when launching phone that delays the launch
until the Keyguard is actually dismissed, which fixes another way
for 14622312 to pop up. Also adds a flag to prevent the Keyguard
from waiting for the launch animation to finish.

Bug: 15280103
Bug: 14622312

Change-Id: Id24e40785c9f760648140e5572b1d39889d3666b

10 years agoMerge "Cache whether a password/pattern is set." into lmp-preview-dev
Jorim Jaggi [Fri, 30 May 2014 12:30:55 +0000 (12:30 +0000)]
Merge "Cache whether a password/pattern is set." into lmp-preview-dev

10 years agoDO NOT MERGE - Wifi Passpoint API change
Yuhao Zheng [Tue, 27 May 2014 17:35:02 +0000 (10:35 -0700)]
DO NOT MERGE - Wifi Passpoint API change

- hide package android.net.wifi.passpoint
- extend android.net.wifi APIs for Passpoint credential management
  > hide for preview

Bug: 15191967
Change-Id: Ic90818cf5c91e93dd7890774543e08b842edc594

10 years agoAdd a path for generic event from a session to an application in Tv Input Framework.
Youngsang Cho [Wed, 21 May 2014 11:54:03 +0000 (20:54 +0900)]
Add a path for generic event from a session to an application in Tv Input Framework.

Plus, Video size changed event is also added.

Bug: 14126559
Change-Id: I04c553481fbaf8d92adbcc34f3c9d26acc87b361

10 years agoMerge "VolumeZen: shadow protection for volume dialog." into lmp-preview-dev
John Spurlock [Fri, 30 May 2014 02:22:23 +0000 (02:22 +0000)]
Merge "VolumeZen: shadow protection for volume dialog." into lmp-preview-dev

10 years agoVolumeZen: shadow protection for volume dialog.
John Spurlock [Fri, 30 May 2014 02:20:14 +0000 (22:20 -0400)]
VolumeZen: shadow protection for volume dialog.

Bug:15186962
Change-Id: I8525e62348e2cc8b68b938d2f7d986f5cbe0273f

10 years agoTweak LauncherApps API based on feedback
Amith Yamasani [Wed, 28 May 2014 22:28:18 +0000 (15:28 -0700)]
Tweak LauncherApps API based on feedback

UserHandle must be after packageName/componentName.
Improved javadoc for density.
Added getApplicationInfo().
Remove synchronized methods.

Temporarily @hide the old APIs to make sure they continue to work
for unbundled launchers.

Bug: 15025908
Change-Id: Iee6336b54e1b4d5c43f1e643062327ff463cb695

10 years agoMerge "Adjust Network's SocketFactory to restrict host name resolution to that Networ...
Paul Jensen [Fri, 30 May 2014 01:45:51 +0000 (01:45 +0000)]
Merge "Adjust Network's SocketFactory to restrict host name resolution to that Network" into lmp-preview-dev

10 years agoMerge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev
Jose Lima [Fri, 30 May 2014 01:41:18 +0000 (01:41 +0000)]
Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev

10 years agoMerge "Fix NPE in onVisibilityChanged" into lmp-preview-dev
John Reck [Fri, 30 May 2014 01:01:16 +0000 (01:01 +0000)]
Merge "Fix NPE in onVisibilityChanged" into lmp-preview-dev

10 years agoQuickSettings: visual updates.
John Spurlock [Fri, 30 May 2014 00:51:09 +0000 (20:51 -0400)]
QuickSettings: visual updates.

- Update style for do not disturb subhead.
- Fix strict mode warning setting zen from volume panel.
- Longer delay in volume panel when expanded.
- Update zen icons.
- Update header peek height.
- Update detail pane back icon.

Bug:15186962
Change-Id: Icb8b95656f866bf9b0aa076d0b85c019a77e76c0