Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit f8ae170

Browse files
committed
[master_chooser] bugfix launch mode for the master chooser.
The singleTask launch mode now causes startActivityForResult to immediately cancel and return. Even though the master chooser would continue, any subsequent calls to finish would not return any meaningful activity result because it had already returned a cancelled result as it started. http://stackoverflow.com/questions/8960072/onactivityresult-with-launchmode-singletask This fixes #231. It may also have something to do with rosjava/android_remocons#61.
1 parent 79b2960 commit f8ae170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: android_10/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<activity
1818
android:name="org.ros.android.MasterChooser"
1919
android:label="@string/app_name"
20-
android:launchMode="singleTask"/>
20+
android:launchMode="standard"/>
2121

2222
<service android:name="org.ros.android.NodeMainExecutorService"
2323
tools:ignore="ExportedService">

0 commit comments

Comments
 (0)