Merge "Remove the redundant getExpansionFraction() method from NotificationPanelViewController." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
075021823a
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user