Mercurial > dwindows
view android/AndroidManifest.xml @ 2810:e0ac1ef1c85b
Android: JNI changes to address potential memory/object leaks.
While I haven't done any memory leak testing, while researching how to
improve performance, it has come to my attention that I should be releasing
various objects. Particularly java string related references.
Always call DeleteLocalRef() after NewStringUTF() and...
Always call ReleaseStringUTFChars() after GetStringUTFChars().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 26 Jul 2022 19:40:46 +0000 |
parents | 61821532faa0 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.dbsoft.dwindows"> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:usesCleartextTraffic="true" android:theme="@style/Theme.Dwtest"> <activity android:name=".DWindows" android:configChanges="orientation|screenSize|screenLayout|keyboardHidden" android:screenOrientation="fullSensor" android:persistent="true" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>