Fix TAG in account service as well

This commit is contained in:
mar-v-in 2014-06-06 17:42:28 +02:00
parent 55ca0841f6
commit 5601f1b76f

View File

@ -29,6 +29,7 @@ import android.os.Handler;
import android.os.IBinder; import android.os.IBinder;
import android.os.Message; import android.os.Message;
import android.widget.Toast; import android.widget.Toast;
import org.sufficientlysecure.keychain.Constants;
import org.sufficientlysecure.keychain.R; import org.sufficientlysecure.keychain.R;
import org.sufficientlysecure.keychain.util.Log; import org.sufficientlysecure.keychain.util.Log;
@ -73,7 +74,7 @@ public class DummyAccountService extends Service {
@Override @Override
public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
Log.d("DummyAccountService", "editProperties"); Log.d(Constants.TAG, "DummyAccountService.editProperties");
return null; return null;
} }
@ -82,41 +83,41 @@ public class DummyAccountService extends Service {
String[] requiredFeatures, Bundle options) throws NetworkErrorException { String[] requiredFeatures, Bundle options) throws NetworkErrorException {
response.onResult(new Bundle()); response.onResult(new Bundle());
toaster.toast(R.string.info_no_manual_account_creation); toaster.toast(R.string.info_no_manual_account_creation);
Log.d("DummyAccountService", "addAccount"); Log.d(Constants.TAG, "DummyAccountService.addAccount");
return null; return null;
} }
@Override @Override
public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options)
throws NetworkErrorException { throws NetworkErrorException {
Log.d("DummyAccountService", "confirmCredentials"); Log.d(Constants.TAG, "DummyAccountService.confirmCredentials");
return null; return null;
} }
@Override @Override
public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType,
Bundle options) throws NetworkErrorException { Bundle options) throws NetworkErrorException {
Log.d("DummyAccountService", "getAuthToken"); Log.d(Constants.TAG, "DummyAccountService.getAuthToken");
return null; return null;
} }
@Override @Override
public String getAuthTokenLabel(String authTokenType) { public String getAuthTokenLabel(String authTokenType) {
Log.d("DummyAccountService", "getAuthTokenLabel"); Log.d(Constants.TAG, "DummyAccountService.getAuthTokenLabel");
return null; return null;
} }
@Override @Override
public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType,
Bundle options) throws NetworkErrorException { Bundle options) throws NetworkErrorException {
Log.d("DummyAccountService", "updateCredentials"); Log.d(Constants.TAG, "DummyAccountService.updateCredentials");
return null; return null;
} }
@Override @Override
public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features)
throws NetworkErrorException { throws NetworkErrorException {
Log.d("DummyAccountService", "hasFeatures"); Log.d(Constants.TAG, "DummyAccountService.hasFeatures");
return null; return null;
} }
} }