Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask_android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
bitmask_android
Commits
aa780e96
Commit
aa780e96
authored
5 months ago
by
cyberta
Committed by
cyberta
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
revert removal of certificate check in Provider setup v3
parent
c62e3388
No related branches found
No related tags found
1 merge request
!324
Release 1.5.0RC1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3.java
+12
-0
12 additions, 0 deletions
...eap/bitmaskclient/providersetup/ProviderApiManagerV3.java
with
12 additions
and
0 deletions
app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3.java
+
12
−
0
View file @
aa780e96
...
...
@@ -244,6 +244,18 @@ public class ProviderApiManagerV3 extends ProviderApiManagerBase implements IPro
return
currentDownload
;
}
currentDownload
=
validateProviderDetails
(
provider
);
//provider certificate invalid
if
(
currentDownload
.
containsKey
(
ERRORS
))
{
currentDownload
.
putParcelable
(
PROVIDER_KEY
,
provider
);
return
currentDownload
;
}
//no provider json or certificate available
if
(
currentDownload
.
containsKey
(
BROADCAST_RESULT_KEY
)
&&
!
currentDownload
.
getBoolean
(
BROADCAST_RESULT_KEY
))
{
resetProviderDetails
(
provider
);
}
if
(!
provider
.
hasDefinition
())
{
currentDownload
=
getAndSetProviderJson
(
provider
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment