Created enum MessageStatus in KeychainIntentServiceHandler and enum IOType

in KeychainIntentService and replaced int constants with them. Fixed some
typos.
This commit is contained in:
danielnelz
2015-03-09 20:09:05 +01:00
parent 3fe7fa202c
commit 17301be2ca
18 changed files with 106 additions and 73 deletions

View File

@@ -124,7 +124,7 @@ public class ExportHelper {
// 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 data = message.getData();