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

Commit 07502182 authored by Danny Burakov's avatar Danny Burakov Committed by Android (Google) Code Review
Browse files

Merge "Remove the redundant `getExpansionFraction()` method from...

Merge "Remove the redundant `getExpansionFraction()` method from `NotificationPanelViewController`." into tm-qpr-dev
parents 75383262 fc1fc3e9
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -715,7 +715,7 @@ public final class NotificationPanelViewController implements Dumpable {
        updatePanelExpansionAndVisibility();
    };
    private final Runnable mMaybeHideExpandedRunnable = () -> {
        if (getExpansionFraction() == 0.0f) {
        if (getExpandedFraction() == 0.0f) {
            postToView(mHideExpandedRunnable);
        }
    };
@@ -5451,10 +5451,6 @@ public final class NotificationPanelViewController implements Dumpable {
                InteractionJankMonitor.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE);
    }

    private float getExpansionFraction() {
        return mExpandedFraction;
    }

    private ShadeExpansionStateManager getShadeExpansionStateManager() {
        return mShadeExpansionStateManager;
    }