Commit 7ac0be44 authored by narinder Rana's avatar narinder Rana
Browse files

gradlew ktlintFormat

parent 9a421be3
Pipeline #131977 passed with stage
in 4 minutes and 4 seconds
...@@ -61,7 +61,7 @@ class IntegrityVerificationTask( ...@@ -61,7 +61,7 @@ class IntegrityVerificationTask(
override fun doInBackground(vararg context: Context): Context { override fun doInBackground(vararg context: Context): Context {
try { try {
var packageName = getAPK_PackageName(context[0]); var packageName = getAPK_PackageName(context[0])
verificationSuccessful = if (isSystemApplication(packageName.toString())) { verificationSuccessful = if (isSystemApplication(packageName.toString())) {
verifyAPKSignature(context[0]) verifyAPKSignature(context[0])
} else if (isfDroidApplication(packageName.toString())) { } else if (isfDroidApplication(packageName.toString())) {
...@@ -130,12 +130,9 @@ class IntegrityVerificationTask( ...@@ -130,12 +130,9 @@ class IntegrityVerificationTask(
).absolutePath ).absolutePath
val info = pm.getPackageArchiveInfo(fullPath, 0) val info = pm.getPackageArchiveInfo(fullPath, 0)
if (info != null) { if (info != null) {
return info.packageName; return info.packageName
} } else
else return null
return null;
} }
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