Commit 43737ec8 authored by narinder Rana's avatar narinder Rana
Browse files

Toast message test

parent 6e869802
Pipeline #106369 passed with stage
in 3 minutes and 6 seconds
......@@ -129,12 +129,12 @@ class IntegrityVerificationTask(
apkInputStream.close()
apkSignatureInputStream.close()
publicKeyInputStream.close()
Toast.makeText(context, R.string.Signature_verification_failed, Toast.LENGTH_LONG).show();
Toast.makeText(context, context.resources.getString(R.string.Signature_verification_failed), Toast.LENGTH_LONG).show();
return signature.verify()
} catch (e: Exception) {
e.printStackTrace()
//Toast message if we want to show message to user
Toast.makeText(context, R.string.Signature_verification_failed, Toast.LENGTH_LONG).show();
Toast.makeText(context, context.resources.getString(R.string.Signature_verification_failed), Toast.LENGTH_LONG).show();
}
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment