Skip to content

Commit dedfec4

Browse files
committed
hardcode the name of Activity in Manifest file
Signed-off-by: Umair Khan <[email protected]>
1 parent 605ee18 commit dedfec4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/processing/mode/android/Manifest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ protected void writeBuild(File file, String className,
220220
}
221221
app.setString("android:debuggable", debug ? "true" : "false");
222222

223-
XML activity = app.getChild("activity");
223+
// XML activity = app.getChild("activity");
224224
// the '.' prefix is just an alias for the full package name
225225
// http://developer.android.com/guide/topics/manifest/activity-element.html#name
226-
activity.setString("android:name", "." + className); // this has to be right
226+
// activity.setString("android:name", "." + className); // this has to be right
227227

228228
PrintWriter writer = PApplet.createWriter(file);
229229
writer.print(mf.toString());

0 commit comments

Comments
 (0)