Fixed keyboard inset after screen off / lost focus

master
M66B 3 weeks ago
parent 9917eb583e
commit 4ac3307a5b

@ -248,6 +248,10 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override
public void onWindowFocusChanged(boolean hasFocus) {
hasWindowFocus = hasFocus;
Window window = getWindow();
View view = (window == null ? null : window.getDecorView());
if (view != null)
view.requestApplyInsets();
}
@Override

Loading…
Cancel
Save