Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a461bc6b authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "Fix empty page being activated if music controls are disabled and music...

Merge "Fix empty page being activated if music controls are disabled and music is playing." into cm-10.2
parents 54982311 6ab19515
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1588,7 +1588,7 @@ public class KeyguardHostView extends KeyguardViewBase {
            mAppWidgetToShow = AppWidgetManager.INVALID_APPWIDGET_ID;
        }
        // if music playing, show transport
        if (musicTransportState == TRANSPORT_VISIBLE) {
        if (musicTransportState == TRANSPORT_VISIBLE && mTransportShouldBeVisible) {
            if (DEBUG) Log.d(TAG, "Music playing, show transport");
            return mAppWidgetContainer.getWidgetPageIndex(getOrCreateTransportControl());
        }