diff options
author | danielnelz <daniel.nelz@outlook.com> | 2015-03-09 20:09:05 +0100 |
---|---|---|
committer | danielnelz <daniel.nelz@outlook.com> | 2015-03-09 20:09:05 +0100 |
commit | 17301be2cae4742f6ff508f984730a4d44e0a66a (patch) | |
tree | 17faab8db00011e030c0a09a5a57b6af884f201f /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java | |
parent | 3fe7fa202c790bb66d0f1b7e1396f3b9c62c90e5 (diff) | |
download | open-keychain-17301be2cae4742f6ff508f984730a4d44e0a66a.tar.gz open-keychain-17301be2cae4742f6ff508f984730a4d44e0a66a.tar.bz2 open-keychain-17301be2cae4742f6ff508f984730a4d44e0a66a.zip |
Created enum MessageStatus in KeychainIntentServiceHandler and enum IOType
in KeychainIntentService and replaced int constants with them. Fixed some
typos.
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java index d1df2906d..d0cea5f05 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java @@ -132,7 +132,7 @@ public class SafeSlingerActivity extends BaseActivity { // handle messages by standard KeychainIntentServiceHandler first super.handleMessage(message); - if (message.arg1 == KeychainIntentServiceHandler.MESSAGE_OKAY) { + if (message.arg1 == MessageStatus.OKAY.ordinal()) { // get returned data bundle Bundle returnData = message.getData(); if (returnData == null) { |