Merge "Add wtf log if notification panel height is NaN"
This commit is contained in:
committed by
Android (Google) Code Review
commit
b820ccef45
@@ -2038,8 +2038,8 @@ public class NotificationPanelViewController extends PanelViewController {
|
||||
maxHeight = calculatePanelHeightShade();
|
||||
}
|
||||
maxHeight = Math.max(min, maxHeight);
|
||||
if (maxHeight == 0) {
|
||||
Log.wtf(TAG, "maxPanelHeight is 0. getOverExpansionAmount(): "
|
||||
if (maxHeight == 0 || isNaN(maxHeight)) {
|
||||
Log.wtf(TAG, "maxPanelHeight is invalid. getOverExpansionAmount(): "
|
||||
+ getOverExpansionAmount() + ", calculatePanelHeightQsExpanded: "
|
||||
+ calculatePanelHeightQsExpanded() + ", calculatePanelHeightShade: "
|
||||
+ calculatePanelHeightShade() + ", mStatusBarMinHeight = "
|
||||
|
||||
Reference in New Issue
Block a user