Commit d3b72b31 authored by narinder Rana's avatar narinder Rana
Browse files

Clean some code

parent 2709b5a6
Pipeline #131632 failed with stage
in 3 minutes and 57 seconds
...@@ -65,11 +65,7 @@ class IntegrityVerificationTask( ...@@ -65,11 +65,7 @@ class IntegrityVerificationTask(
override fun doInBackground(vararg context: Context): Context { override fun doInBackground(vararg context: Context): Context {
try { try {
verificationSuccessful = if (isSystemApplication(fullData.packageName)) { verificationSuccessful = if (isSystemApplication(fullData.packageName)) {
verifyAPKSignature(context[0]) verifyAPKSignature(context[0])
// verifySystemSignature(context[0])
// verifySystemValues(context[0])
} else if (isfDroidApplication(fullData.packageName)) { } else if (isfDroidApplication(fullData.packageName)) {
verifyFdroidSignature(context[0]) verifyFdroidSignature(context[0])
} else { } else {
...@@ -141,11 +137,7 @@ class IntegrityVerificationTask( ...@@ -141,11 +137,7 @@ class IntegrityVerificationTask(
Log.e("TAG", ".................." + info.packageName) Log.e("TAG", ".................." + info.packageName)
Log.e("TAG", ".................." + info.signatures) Log.e("TAG", ".................." + info.signatures)
} }
return false; return false;
//
// return (fullData.basicData.id==systemJsonData.getString("project_id")
// && fullData.basicData.name==systemJsonData.getString("app_name"))
} }
private fun getFirstSignature(pkg: PackageInfo?): Signature? { private fun getFirstSignature(pkg: PackageInfo?): Signature? {
......
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