Commit 2636a818 authored by narinder Rana's avatar narinder Rana
Browse files

Toast message

parent 43737ec8
Pipeline #106373 passed with stage
in 3 minutes and 39 seconds
......@@ -129,11 +129,9 @@ class IntegrityVerificationTask(
apkInputStream.close()
apkSignatureInputStream.close()
publicKeyInputStream.close()
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, 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