In my multilingual application I want to fresh restart my application from the launcher activity. But I am unable to do so. I have changed the application manifest by removing the
locale
from the
android:configChanges="orientation|keyboardHidden"
but its not working for me. Manifest:
<application
android:name=".Global.MyApp"
android:allowBackup="true"
android:icon="@drawable/login_meter"
android:label="@string/app_name"
android:largeHeap="true"
android:supportsRtl="true"
android:theme="@style/AppTheme">
.....
.....
<activity
android:name=".SplashActivity"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="@style/SplashTheme"
>
<intent-filter>
....
</intent-filter>
</activity>
....
....
</application>