Mark the OpenRocketViewer activity as finishOnTaskLaunch so when the application is restarted from the launcher, it goes to the Main activity which can test if the application has been unloaded from memory.

This commit is contained in:
Kevin Ruland 2012-06-18 21:02:31 +00:00
parent eb1c257ab5
commit 4d7d6455c9

View File

@ -56,7 +56,9 @@
android:scheme="file" />
</intent-filter>
</activity>
<activity android:name=".android.rocket.OpenRocketViewer" />
<activity
android:name=".android.rocket.OpenRocketViewer"
android:finishOnTaskLaunch="true" />
<activity android:name=".android.PreferencesActivity" >
<intent-filter>
<action android:name="net.sf.openrocket.android.PreferencesActivity" />