Skip to content

Commit

Permalink
fix(android): removes setOnExitAnimationListener when fade out is dis…
Browse files Browse the repository at this point in the history
…abled to prevent crashes on OnePlus and Oppo devices on hide
  • Loading branch information
ItsChaceD committed Mar 15, 2024
1 parent d5483ce commit 0d77330
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"ci:publish:rc": "lerna publish prerelease --conventional-commits --conventional-prerelease --preid rc --force-publish --dist-tag next-5 --yes",
"ci:publish:latest": "lerna publish --conventional-commits --dist-tag latest --no-verify-access --yes",
"ci:publish:latest-from-pre": "lerna publish --conventional-graduate --conventional-commits --dist-tag latest --no-verify-access --force-publish --yes",
"ci:publish:dev": "lerna publish prerelease --conventional-commits --conventional-prerelease --preid dev-$(date +\"%Y%m%dT%H%M%S\") --force-publish --no-changelog --no-git-tag-version --dist-tag dev-5 --no-push --yes"
"ci:publish:dev": "lerna publish prerelease --conventional-commits --conventional-prerelease --preid dev-$(date +\"%Y%m%dT%H%M%S\") --force-publish --no-changelog --no-git-tag-version --dist-tag dev-5 --no-push --yes --allowBranch fix/5x-splash-screen-hide-crash"
},
"devDependencies": {
"@actions/core": "^1.9.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,6 @@ public void onAnimationEnd(Animator animation) {
isVisible = false;
}
);
} else {
windowSplashScreen.setOnExitAnimationListener(
windowSplashScreenView -> {
isHiding = false;
isVisible = false;
windowSplashScreenView.remove();
}
);
}

// Set Pre Draw Listener & Delay Drawing Until Duration Elapses
Expand Down

0 comments on commit 0d77330

Please sign in to comment.