Remove the redundant getExpansionFraction() method from NotificationPanelViewController.
Bug: 254245550. Test: Manually tested on a device. Change-Id: I6e5cf7c433d6dc1eaa5864401b71bd82ce955c73
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user