aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-08-06 10:34:13 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2015-08-06 10:34:13 +0200
commit3dbe0033dcf090b0c34f67c2f7440e3023eba060 (patch)
tree8cb7709cdfccc9275d376febc649c0118a808f6b /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java
parent8fb3d1e16612cc63cb58a4cbbab38b08e0469ee0 (diff)
parent37864a9d42436081eb6132dc0c8b1e0868a15272 (diff)
downloadopen-keychain-3dbe0033dcf090b0c34f67c2f7440e3023eba060.tar.gz
open-keychain-3dbe0033dcf090b0c34f67c2f7440e3023eba060.tar.bz2
open-keychain-3dbe0033dcf090b0c34f67c2f7440e3023eba060.zip
Merge pull request #1473 from open-keychain/orbot-helper
Updated OrbotHelper with the latest NetCipher
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java
index b2b71b364..82d1be4ed 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/dialog/SupportInstallDialogFragment.java
@@ -20,6 +20,7 @@ package org.sufficientlysecure.keychain.ui.dialog;
import android.app.Dialog;
import android.os.Bundle;
import android.os.Messenger;
+import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import org.sufficientlysecure.keychain.ui.util.InstallDialogFragmentHelper;
@@ -34,7 +35,7 @@ public class SupportInstallDialogFragment extends DialogFragment {
* and "Cancel") and an optional third button. Callbacks are provided only for the middle button, if set.
*
* @param messenger required only for callback from middle button if it has been set
- * @param title
+ * @param title xml resource for title of the install dialog
* @param message content of dialog
* @param packageToInstall package name of application to install
* @param middleButton if not null, adds a third button to the app with a call back
@@ -57,16 +58,17 @@ public class SupportInstallDialogFragment extends DialogFragment {
/**
* To create a DialogFragment with only two buttons
*
- * @param title
- * @param message
- * @param packageToInstall
+ * @param title xml string resource for title of the dialog
+ * @param message xml string resource to display as dialog body
+ * @param packageToInstall name of package to install
* @return
*/
public static SupportInstallDialogFragment newInstance(int title, int message,
- String packageToInstall) {
+ String packageToInstall) {
return newInstance(null, title, message, packageToInstall, -1, false);
}
+ @NonNull
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {