Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
App Lounge
Commits
7ac0be44
Commit
7ac0be44
authored
Aug 26, 2021
by
narinder Rana
Browse files
gradlew ktlintFormat
parent
9a421be3
Pipeline
#131977
passed with stage
in 4 minutes and 4 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/apps/application/model/IntegrityVerificationTask.kt
View file @
7ac0be44
...
...
@@ -61,7 +61,7 @@ class IntegrityVerificationTask(
override
fun
doInBackground
(
vararg
context
:
Context
):
Context
{
try
{
var
packageName
=
getAPK_PackageName
(
context
[
0
])
;
var
packageName
=
getAPK_PackageName
(
context
[
0
])
verificationSuccessful
=
if
(
isSystemApplication
(
packageName
.
toString
()))
{
verifyAPKSignature
(
context
[
0
])
}
else
if
(
isfDroidApplication
(
packageName
.
toString
()))
{
...
...
@@ -130,12 +130,9 @@ class IntegrityVerificationTask(
).
absolutePath
val
info
=
pm
.
getPackageArchiveInfo
(
fullPath
,
0
)
if
(
info
!=
null
)
{
return
info
.
packageName
;
}
else
return
null
;
return
info
.
packageName
}
else
return
null
}
private
fun
getFirstSignature
(
pkg
:
PackageInfo
?):
Signature
?
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment