Fixing TAG and string resource

This commit is contained in:
mar-v-in 2014-06-06 17:39:11 +02:00
parent 9d02bc85e2
commit 55ca0841f6
2 changed files with 4 additions and 4 deletions

View File

@ -24,6 +24,7 @@ import android.content.ContentProviderClient;
import android.content.Intent;
import android.content.SyncResult;
import android.os.*;
import org.sufficientlysecure.keychain.Constants;
import org.sufficientlysecure.keychain.KeychainApplication;
import org.sufficientlysecure.keychain.helper.ContactHelper;
import org.sufficientlysecure.keychain.helper.EmailKeyHelper;
@ -51,13 +52,13 @@ public class ContactSyncAdapterService extends Service {
case KeychainIntentServiceHandler.MESSAGE_UPDATE_PROGRESS:
if (data.containsKey(KeychainIntentServiceHandler.DATA_PROGRESS) &&
data.containsKey(KeychainIntentServiceHandler.DATA_PROGRESS_MAX)) {
Log.d("Keychain/ContactSync/DownloadKeys", "Progress: " +
Log.d(Constants.TAG, "Progress: " +
data.getInt(KeychainIntentServiceHandler.DATA_PROGRESS) + "/" +
data.getInt(KeychainIntentServiceHandler.DATA_PROGRESS_MAX));
return false;
}
default:
Log.d("Keychain/ContactSync/DownloadKeys", "Syncing... " + msg.toString());
Log.d(Constants.TAG, "Syncing... " + msg.toString());
return false;
}
}

View File

@ -519,8 +519,7 @@
<string name="can_sign_not">cannot sign</string>
<string name="error_encoding">Encoding error</string>
<string name="error_no_encrypt_subkey">No encryption subkey available!</string>
<string name="info_no_manual_account_creation">Do not create OpenKeychain-Accounts manually.
For more information, see Help.</string>
<string name="info_no_manual_account_creation">Do not create OpenKeychain-Accounts manually.\nFor more information, see Help.</string>
<string name="contact_show_key">Show key (%s)</string>
</resources>