Skip to content

Commit

Permalink
[android][navigation bar] re-apply full screen config on window focus (
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzach committed Apr 20, 2020
1 parent 960f6b6 commit 5d99c0f
Showing 1 changed file with 11 additions and 0 deletions.
Expand Up @@ -268,6 +268,17 @@ protected void onResume() {
registerForNotifications();
}

@Override
public void onWindowFocusChanged(boolean hasFocus) {
super.onWindowFocusChanged(hasFocus);
// Check for manifest to avoid calling this when first loading an experience
if (hasFocus && mManifest != null) {
runOnUiThread(() -> {
ExperienceActivityUtils.setNavigationBar(mManifest, ExperienceActivity.this);
});
}
}

public void soloaderInit() {
if (mDetachSdkVersion != null) {
SoLoader.init(this, false);
Expand Down

0 comments on commit 5d99c0f

Please sign in to comment.