How to completely disable MultiWindow support in LIBGDX game

亡梦爱人 提交于 2019-12-01 11:54:28

问题


I'm getting alot of memory allocations in my render thread and I've traced the cause to MultiWindow support which is weird because I have this feature disabled on my phone. I've added to AndroidManifest the following (based on this) code inside the application tag but with no luck, I still get unwanted memory allocations (only when I touch the screen):

<meta-data android:name="com.sec.android.support.multiwindow" android:value="false" />
<meta-data android:name="com.samsung.android.sdk.multiwindow.multiinstance.enable"
            android:value="false" />

How can I completely disable the MultiWindow feature from inside the apk?

来源:https://stackoverflow.com/questions/29290757/how-to-completely-disable-multiwindow-support-in-libgdx-game

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!