Browse Source

Small fixes in dialog instantiation.

pull/11/head
Eric Kok 12 years ago
parent
commit
4ae16a14d3
  1. 2
      core/src/org/transdroid/core/gui/navigation/DialogHolderActivity.java
  2. 1
      full/AndroidManifest.xml

2
core/src/org/transdroid/core/gui/navigation/DialogHolderActivity.java

@ -22,7 +22,7 @@ public class DialogHolderActivity extends SherlockFragmentActivity { @@ -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<? extends DialogFragment> dialogType) {
DialogHolderActivity_.intent(context).start();
DialogHolderActivity_.intent(context).dialogType(dialogType.getName()).start();
}
@AfterViews

1
full/AndroidManifest.xml

@ -61,6 +61,7 @@ @@ -61,6 +61,7 @@
<activity android:name="org.transdroid.core.gui.settings.RssfeedSettingsActivity_" />
<activity android:name="org.transdroid.core.gui.settings.NotificationSettingsActivity_" />
<activity android:name="org.transdroid.core.gui.settings.SystemSettingsActivity_" />
<activity android:name="org.transdroid.core.gui.navigation.DialogHolderActivity_" />
<!-- Search -->
<activity

Loading…
Cancel
Save