升级sdk
This commit is contained in:
parent
bfe54cca00
commit
f850de3096
@ -111,6 +111,8 @@ public class UnityPlayerActivity extends Activity implements IUnityPlayerLifecyc
|
|||||||
{
|
{
|
||||||
super.onPause();
|
super.onPause();
|
||||||
|
|
||||||
|
MultiWindowSupport.saveMultiWindowMode(this);
|
||||||
|
|
||||||
if (MultiWindowSupport.getAllowResizableWindow(this))
|
if (MultiWindowSupport.getAllowResizableWindow(this))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -123,7 +125,7 @@ public class UnityPlayerActivity extends Activity implements IUnityPlayerLifecyc
|
|||||||
{
|
{
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
|
||||||
if (MultiWindowSupport.getAllowResizableWindow(this))
|
if (MultiWindowSupport.getAllowResizableWindow(this) && !MultiWindowSupport.isMultiWindowModeChangedToTrue(this))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
mUnityPlayer.resume();
|
mUnityPlayer.resume();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user