Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Toast message test

parent 6e869802
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;