Merge "Remove the redundant getExpansionFraction() method from NotificationPanelViewController." into tm-qpr-dev am: 075021823a am: 6f49f1bfc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20980291 Change-Id: I96aeff635e338c28ed9779dd84afed6d8a8d451c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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