diff options
author | Daniel Haß <mail@danielhass.de> | 2014-06-15 20:03:40 +0200 |
---|---|---|
committer | Daniel Haß <mail@danielhass.de> | 2014-06-16 12:37:51 +0200 |
commit | e48d5e4474a19cb81fa1842f35c85906c6ce5132 (patch) | |
tree | 00f94cc5ae95e6a3d7bc257234695c5394158934 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain | |
parent | 998f6166077693781f79268d191b776516d04cab (diff) | |
download | open-keychain-e48d5e4474a19cb81fa1842f35c85906c6ce5132.tar.gz open-keychain-e48d5e4474a19cb81fa1842f35c85906c6ce5132.tar.bz2 open-keychain-e48d5e4474a19cb81fa1842f35c85906c6ce5132.zip |
Replaced AppMsg with notify wrapper call
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFileFragment.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFileFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFileFragment.java index d953e2591..6805ae49a 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFileFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptFileFragment.java @@ -24,6 +24,7 @@ import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.Messenger; +import android.provider.SyncStateContract; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -39,6 +40,7 @@ import org.sufficientlysecure.keychain.helper.FileHelper; import org.sufficientlysecure.keychain.pgp.PgpDecryptVerifyResult; import org.sufficientlysecure.keychain.service.KeychainIntentService; import org.sufficientlysecure.keychain.service.KeychainIntentServiceHandler; +import org.sufficientlysecure.keychain.ui.adapter.Notify; import org.sufficientlysecure.keychain.ui.dialog.DeleteFileDialogFragment; import org.sufficientlysecure.keychain.ui.dialog.FileDialogFragment; import org.sufficientlysecure.keychain.util.Log; @@ -115,7 +117,8 @@ public class DecryptFileFragment extends DecryptFragment { } if (mInputFilename.equals("")) { - AppMsg.makeText(getActivity(), R.string.no_file_selected, AppMsg.STYLE_ALERT).show(); + //AppMsg.makeText(getActivity(), R.string.no_file_selected, AppMsg.STYLE_ALERT).show(); + Notify.showNotify(getActivity(), R.string.no_file_selected, Notify.Style.ERROR); return; } |