The template opens the login screen when opened. This is done to have the template support both users who wish to use the login screen and others who wish to disable it.
If you wish to completely remove the login screen and prevent the login screen from flashing follow this guide:
1) Open AndroidManifest.xml
2) You are interested in the following lines 30-45:
<activity android:name=".SplashScreenActivity" android:hardwareAccelerated="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".MainActivity" android:hardwareAccelerated="true"> <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> </activity>
3) replace the intent filters as follows:
<activity android:name=".SplashScreenActivity" android:hardwareAccelerated="true"> </activity> <activity android:name=".MainActivity" android:hardwareAccelerated="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> </activity>