Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
fix(apps): add thread manager
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Hernandez <[email protected]>
  • Loading branch information
rafaelje authored and Hector Rondon committed Oct 3, 2018
1 parent 8b6b175 commit ce00727
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public void process(Context context) {
String versionCode = jsonObj.getString("versionCode");
String taskId = jsonObj.getString("taskId");

<<<<<<< HEAD
ApplicationData apps = new ApplicationData(context);
Application[] appsArray = apps.getApplicationsById(id);

Expand All @@ -116,6 +117,13 @@ public void process(Context context) {
}
} catch (Exception ex) {
FlyveLog.e(ex.getMessage());
=======
// execute the policy
PoliciesController policiesController = new PoliciesController(context, this.client);
policiesController.installPackage(deployApp, id, versionCode, taskId);
} catch (Exception ex) {
FlyveLog.e("");
>>>>>>> d8b9c459... fix(apps): add thread manager
}
}
}
Expand Down

0 comments on commit ce00727

Please sign in to comment.