public void setHeight(int height) {
    if (isJB()) {
      this.height = height;
    } else {
      ShadowDisplayManager.changeDisplay(realObject.getDisplayId(),
          di -> di.appHeight = height);
    }
  }
public void setHeight(int height) {
    if (isJB()) {
      this.height = height;
    } else {
      ShadowDisplayManager.changeDisplay(realObject.getDisplayId(),
          di -> di.appHeight = height);
    }
  }
public void setHeight ( int height ) { if ( isJB ( ) ) { this . height = height ; } else { ShadowDisplayManager . changeDisplay ( realObject . getDisplayId ( ) , di -> di . appHeight = height ) ; } }
Changes the height available to the application for this display.

Any registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be
notified of the change.

@param height new height in pixels
Changes the height available to the application for this display .