OSDN Git Service

Implement correct music widget positioning in keyguard
authorJim Miller <jaggies@google.com>
Tue, 30 Oct 2012 02:11:50 +0000 (19:11 -0700)
committerJim Miller <jaggies@google.com>
Tue, 30 Oct 2012 21:06:09 +0000 (14:06 -0700)
commitbdca3c0a21ba15e8bb6d7ef0ca1b7e8024f98f19
treec1230768bd2dd8a224beb0c1faafc3440c8ae879
parent6249804eadc10d08cb09ad6e226186ee3c2159da
Implement correct music widget positioning in keyguard

This always inserts the music widget to the left of the camera
widget if it exists or as the right-most widget when music is
playing.

Fixes bug 7425361

Change-Id: Ida992fbdde254a2de0ab12c63e003ccfeab7a94a
policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
policy/src/com/android/internal/policy/impl/keyguard/KeyguardTransportControlView.java
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java