fixes two log messages
This commit is contained in:
parent
74e395834d
commit
76a31602ed
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ public class TuskyApplication extends Application {
|
||||||
try {
|
try {
|
||||||
Security.addProvider(new BouncyCastleProvider());
|
Security.addProvider(new BouncyCastleProvider());
|
||||||
} catch (SecurityException e) {
|
} catch (SecurityException e) {
|
||||||
Log.d(TAG, "Permission to replace the security provider was denied.");
|
Log.e(TAG, "Permission to add the security provider was denied.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Provider replacement = new BouncyCastleProvider();
|
Provider replacement = new BouncyCastleProvider();
|
||||||
|
@ -80,7 +80,7 @@ public class TuskyApplication extends Application {
|
||||||
Security.removeProvider(providerName);
|
Security.removeProvider(providerName);
|
||||||
Security.insertProviderAt(replacement, priority);
|
Security.insertProviderAt(replacement, priority);
|
||||||
} catch (SecurityException e) {
|
} catch (SecurityException e) {
|
||||||
Log.d(TAG, "Permission to replace the security provider was denied.");
|
Log.e(TAG, "Permission to update a security provider was denied.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue