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

Commit 19ab2ed1 authored by Aran Ink's avatar Aran Ink Committed by android-build-merger
Browse files

Merge "Fix marquee animating in QuickSettings when invisible to user." into qt-dev am: c70d1dc2

am: 5f7851df

Change-Id: Ie764f9c62840ffbfcb7598098e15175634073f67
parents 5b2d7287 5f7851df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
    android:layout_below="@id/quick_status_bar_system_icons"
    android:paddingStart="@dimen/status_bar_padding_start"
    android:paddingEnd="@dimen/status_bar_padding_end"
    android:visibility="invisible"
    android:theme="@style/QSHeaderTheme">

        <com.android.systemui.qs.QSHeaderInfoLayout
+5 −0
Original line number Diff line number Diff line
@@ -461,6 +461,11 @@ public class QuickStatusBarHeader extends RelativeLayout implements

        if (mHeaderTextContainerAlphaAnimator != null) {
            mHeaderTextContainerAlphaAnimator.setPosition(keyguardExpansionFraction);
            if (keyguardExpansionFraction > 0) {
                mHeaderTextContainerView.setVisibility(VISIBLE);
            } else {
                mHeaderTextContainerView.setVisibility(INVISIBLE);
            }
        }
        if (mPrivacyChipAlphaAnimator != null) {
            mPrivacyChip.setExpanded(expansionFraction > 0.5);
+5 −0
Original line number Diff line number Diff line
@@ -48,6 +48,11 @@ public class AutoMarqueeTextView extends TextView {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    @Override
    protected void onFinishInflate() {
        onVisibilityAggregated(isVisibleToUser());
    }

    @Override
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();