=== modified file 'android/src/org/linaro/glmark2/EditorActivity.java'
@@ -88,7 +88,7 @@
runButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent(EditorActivity.this, Glmark2Activity.class);
- String args = "-b " + getBenchmarkDescriptionText();
+ String args = "-b \"" + getBenchmarkDescriptionText() + "\"";
intent.putExtra("args", args);
startActivity(intent);
}
=== modified file 'android/src/org/linaro/glmark2/MainActivity.java'
@@ -323,7 +323,7 @@
Intent intent = new Intent(MainActivity.this, Glmark2Activity.class);
String args = "";
for (int i = 0; i < benchmarks.size() - 1; i++)
- args += "-b " + benchmarks.get(i) + " ";
+ args += "-b \"" + benchmarks.get(i) + "\" ";
if (prefs.getBoolean("run_forever", false))
args += "--run-forever ";
if (prefs.getBoolean("log_debug", false))