-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App install Refactor #2704
App install Refactor #2704
Conversation
@damagatchi retest this please |
@damagatchi retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shubham1g5 this looks good to me, I just left a minor comment
|
||
public static CommCareApp startAppInstallAsync(boolean shouldSleep, int taskId, CommCareTaskConnector connector, | ||
String installRef) { | ||
CommCareApp ccApp = getNewCommCareApp(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Can we consider renaming this to something more descriptive, something like createNewCommCareApp
, I see that it was renamed from getCommCareApp
but I see the use of get
as misleading as it seems that we are retrieving an existing element.
58c52ca
@damagatchi retest this please |
Summary
Move app install handling to utils class for easy accessibility to Connect Classes.
Best reviewed by commit
Safety Assurance
Automated test coverage
All our tests test for App installs
Safety story
minor refactor that seemingly is no-op with a good test coverage around refactored code.