Skip to content

Commit

Permalink
Merge pull request #301 from liaxim/singleTask
Browse files Browse the repository at this point in the history
Mark all samples's activities "singleTask" to prevent a crash
  • Loading branch information
thomasflynn committed Nov 9, 2015
2 parents 22e567c + 02cbb36 commit b9c259d
Show file tree
Hide file tree
Showing 32 changed files with 35 additions and 3 deletions.
1 change: 1 addition & 0 deletions GVRf/Sample/collision/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<activity
android:name="org.gearvrf.collisiondetection.CollisionActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/eye-picking/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<activity
android:name="org.gearvrf.eyepickingsample.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gamepad/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<activity
android:name="org.gearvrf.gamepad.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-cubemap/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<activity
android:name="org.gearvrf.cubemap.CubemapActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-litshader/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<activity
android:name="org.gearvrf.litshader.LitshaderActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-outlinesample/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<activity
android:name="org.gearvrf.gvroutlinesample.OutlineActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-pickandmove/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<activity
android:name="org.gearvrf.pickandmove.PickandmoveActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-sample/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<activity
android:name="org.gearvrf.sample.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-test-screenshot3Dresult/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<activity
android:name="org.gearvrf.testscreenshot3Dresult.TestScreenshot3DResultActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-testcube/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<activity
android:name="org.gearvrf.testcube.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-video/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<activity
android:name="org.gearvrf.video.VideoActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvr-vuforia/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<activity
android:name="org.gearvrf.vuforiasample.VuforiaSampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrbulletsample/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<activity
android:name="org.gearvrf.bulletsample.BulletSampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrcockpit_v1_5_0/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
android:name="org.gearvrf.cockpit.CockpitActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrexposeapisample/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<activity
android:name="org.gearvrf.gvrexposeapisample.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
3 changes: 2 additions & 1 deletion GVRf/Sample/gvrf_controls_sample/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<activity
android:name="org.gearvrf.controls.MainActivity"
android:label="@string/app_name"
android:screenOrientation="landscape" >
android:screenOrientation="landscape"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
3 changes: 2 additions & 1 deletion GVRf/Sample/gvrf_immersivepedia/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
<activity
android:name="org.gearvrf.immersivepedia.MainActivity"
android:label="@string/app_name"
android:screenOrientation="landscape" >
android:screenOrientation="landscape"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
3 changes: 2 additions & 1 deletion GVRf/Sample/gvrf_keyboard_sample/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
<activity
android:name="org.gearvrf.keyboard.main.MainActivity"
android:label="@string/app_name"
android:screenOrientation="landscape" >
android:screenOrientation="landscape"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrjassimpmodelloader/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<activity
android:name="org.gearvrf.jassimpmodelloader.JassimpModelLoaderActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvropacityanigallery/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<activity
android:name="org.gearvrf.opacityanigallery.GalleryActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrpanoramasstereoimagesample_v1_5_0/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
android:name="org.gearvrf.panoramasstereoimagesample.SampleActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrperformancetest_v1_5_0/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
android:name="org.gearvrf.performancetest.TestActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrsixaxissensortest_v1_5_0/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
android:name="org.gearvrf.sixaxissensortest.TestActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/gvrtextviewsample/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<activity
android:name="org.gearvrf.gvrtextviewsample.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/lod-test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
<activity android:name="LODTestActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/model-viewer/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<activity
android:name="org.gearvrf.modelviewer.ViewerActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/nonglthreadupdate/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<activity
android:name="org.gearvrf.nonglthreadupdate.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/scene-objects/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
<activity android:name="SceneObjectActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/simple-gallery/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<activity
android:name="org.gearvrf.simplegallery.GalleryActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/simple-sample/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<activity
android:name="org.gearvrf.simplesample.SampleActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/solar-system/AndroidManifest.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<activity
android:name="org.gearvrf.solarsystem.SolarActivity"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
1 change: 1 addition & 0 deletions GVRf/Sample/transparency-test/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
<activity android:name="TransparencyTest"
android:screenOrientation="landscape"
android:launchMode="singleTask"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down

0 comments on commit b9c259d

Please sign in to comment.