Skip to content

Commit

Permalink
if (activity != null)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamhowell13 committed Feb 8, 2024
1 parent db16355 commit a919eab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static void createPlayer(final Activity activity, final UnityPlayerCallba
callback.onReady();
return;
}
if (activity) {
if (activity != null) {
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
Expand Down

0 comments on commit a919eab

Please sign in to comment.