I have found issue in keyboard height calculation after device rotate.
The solution is to calculate keyboard height initialValue - rootViewRef.get().getHeight() in KeyboardWatcher.GlobalLayoutListener:onGlobalLayout() after keyboard has already finished slide from bottom animation.
I need hotfix for my project right now so I used new Handler().postDelayed(() -> {//onGlobalLayout method content//}, 1000); but there should be better solution