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

Commit 6a1f0142 authored by Michal Brzezinski's avatar Michal Brzezinski Committed by Michał Brzeziński
Browse files

Removing logs introduced to debug b/219589379

Logs were added to better debug occurrences of b/219589379 - quick settings not visible after expanding split shade.
There were no new reports of that for several weeks now so these logs should not be needed anymore.

Fixes: 269742565
Test: just removing logs
Change-Id: I5909117d4878d4498f2d1fdd7ca13fc6c715e24f
parent 4c34ffcf
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -780,7 +780,6 @@ public class QuickSettingsController implements Dumpable {

    /** update Qs height state */
    public void setExpansionHeight(float height) {
        checkCorrectSplitShadeState(height);
        int maxHeight = getMaxExpansionHeight();
        height = Math.min(Math.max(
                height, getMinExpansionHeight()), maxHeight);
@@ -802,14 +801,6 @@ public class QuickSettingsController implements Dumpable {
        }
    }

    /** TODO(b/269742565) Remove this logging */
    private void checkCorrectSplitShadeState(float height) {
        if (mSplitShadeEnabled && height == 0
                && mPanelViewControllerLazy.get().isShadeFullyExpanded()) {
            Log.wtfStack(TAG, "qsExpansion set to 0 while split shade is expanding or open");
        }
    }

    /** */
    public void setHeightOverrideToDesiredHeight() {
        if (isSizeChangeAnimationRunning() && isQsFragmentCreated()) {
@@ -1939,7 +1930,7 @@ public class QuickSettingsController implements Dumpable {
                target = getMaxExpansionHeight();
                break;
            case FLING_COLLAPSE:
                if (mSplitShadeEnabled) { // TODO:(b/269742565) remove below log
                if (mSplitShadeEnabled) {
                    Log.wtfStack(TAG, "FLING_COLLAPSE called in split shade");
                }
                setExpandImmediate(false);