From 4ae16a14d3651aff7aec14416122da8619b90fac Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Wed, 20 Mar 2013 18:02:26 +0100 Subject: [PATCH] Small fixes in dialog instantiation. --- .../transdroid/core/gui/navigation/DialogHolderActivity.java | 2 +- full/AndroidManifest.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/org/transdroid/core/gui/navigation/DialogHolderActivity.java b/core/src/org/transdroid/core/gui/navigation/DialogHolderActivity.java index 43451eca..55f94950 100644 --- a/core/src/org/transdroid/core/gui/navigation/DialogHolderActivity.java +++ b/core/src/org/transdroid/core/gui/navigation/DialogHolderActivity.java @@ -22,7 +22,7 @@ public class DialogHolderActivity extends SherlockFragmentActivity { * DialogFragment's class here only; a new instance will be created by this holder activity. */ public static void showDialog(Context context, Class dialogType) { - DialogHolderActivity_.intent(context).start(); + DialogHolderActivity_.intent(context).dialogType(dialogType.getName()).start(); } @AfterViews diff --git a/full/AndroidManifest.xml b/full/AndroidManifest.xml index 33c4ef62..17aff8b2 100644 --- a/full/AndroidManifest.xml +++ b/full/AndroidManifest.xml @@ -61,6 +61,7 @@ +