Mercurial > dwindows
view android/AndroidManifest.xml @ 2511:0945d0428dfe
Android: New workaround for activity relaunch at startup.
This workaround should prevent complete startup failure, but it
does institute a 10 second delay, to see if we get called again.
Hoping one day to figure out why this is happening and remove
this completely, but if we can't, this delay can be used to show
a splash screen in the future.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 07 May 2021 10:29:47 +0000 |
parents | 25c56d77d016 |
children | c0be28906839 |
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"/> <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"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>