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
d3b72b31
Commit
d3b72b31
authored
Aug 24, 2021
by
narinder Rana
Browse files
Clean some code
parent
2709b5a6
Pipeline
#131632
failed with stage
in 3 minutes and 57 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/apps/application/model/IntegrityVerificationTask.kt
View file @
d3b72b31
...
...
@@ -65,11 +65,7 @@ class IntegrityVerificationTask(
override
fun
doInBackground
(
vararg
context
:
Context
):
Context
{
try
{
verificationSuccessful
=
if
(
isSystemApplication
(
fullData
.
packageName
))
{
verifyAPKSignature
(
context
[
0
])
// verifySystemSignature(context[0])
// verifySystemValues(context[0])
}
else
if
(
isfDroidApplication
(
fullData
.
packageName
))
{
verifyFdroidSignature
(
context
[
0
])
}
else
{
...
...
@@ -141,11 +137,7 @@ class IntegrityVerificationTask(
Log
.
e
(
"TAG"
,
".................."
+
info
.
packageName
)
Log
.
e
(
"TAG"
,
".................."
+
info
.
signatures
)
}
return
false
;
//
// return (fullData.basicData.id==systemJsonData.getString("project_id")
// && fullData.basicData.name==systemJsonData.getString("app_name"))
}
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