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

Commit fc1fc3e9 authored by Danny Burakov's avatar Danny Burakov
Browse files

Remove the redundant `getExpansionFraction()` method from `NotificationPanelViewController`.

Bug: 254245550.
Test: Manually tested on a device.
Change-Id: I6e5cf7c433d6dc1eaa5864401b71bd82ce955c73
parent b4c0f42b
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -704,7 +704,7 @@ public final class NotificationPanelViewController implements Dumpable {
        updatePanelExpansionAndVisibility();
    };
    private final Runnable mMaybeHideExpandedRunnable = () -> {
        if (getExpansionFraction() == 0.0f) {
        if (getExpandedFraction() == 0.0f) {
            postToView(mHideExpandedRunnable);
        }
    };
@@ -5370,10 +5370,6 @@ public final class NotificationPanelViewController implements Dumpable {
                InteractionJankMonitor.CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE);
    }

    private float getExpansionFraction() {
        return mExpandedFraction;
    }

    private ShadeExpansionStateManager getShadeExpansionStateManager() {
        return mShadeExpansionStateManager;
    }