when the devices have a smartbar,I handle the smartbar on/off, and js use Dimensions get height is not correct,
i saw the code in ReactRootView.java。it use the OnGlobalLayoutListener'callback to notify the js.
but the emitUpdateDimensionsEvent function use DisplayMetricsHolder.getWindowDisplayMetrics() always get the same vaule.