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

Commit f998ccf5 authored by Pechetty Sravani's avatar Pechetty Sravani Committed by Android (Google) Code Review
Browse files

Revert "Remove call to Log.wtf that causes jank"

This reverts commit 178e8aba.

Reason for revert: <Test Revert b/315070362>

Change-Id: I7fd350dad54e8070eb451d1f310b2f77c5c7c6ef
parent 178e8aba
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -794,6 +794,13 @@ public class QuickSettingsController implements Dumpable {

    /** update Qs height state */
    public void setExpansionHeight(float height) {
        // TODO(b/277909752): remove below log when bug is fixed
        if (mSplitShadeEnabled && mShadeExpandedFraction == 1.0f && height == 0
                && mBarState == SHADE) {
            Log.wtf(TAG,
                    "setting QS height to 0 in split shade while shade is open(ing). "
                            + "Value of isExpandImmediate() = " + isExpandImmediate());
        }
        int maxHeight = getMaxExpansionHeight();
        height = Math.min(Math.max(
                height, getMinExpansionHeight()), maxHeight);