Merge "Remove the redundant getExpansionFraction() method from NotificationPanelViewController." into tm-qpr-dev

This commit is contained in:
Danny Burakov
2023-01-16 15:46:44 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}