Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1g5 committed Sep 15, 2023
1 parent 04a3f44 commit 7c2beaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/src/org/commcare/activities/CommCareSetupActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
import org.commcare.tasks.ResourceEngineListener;
import org.commcare.tasks.RetrieveParseVerifyMessageListener;
import org.commcare.tasks.RetrieveParseVerifyMessageTask;
import org.commcare.utils.ConsumerAppsUtil;
import org.commcare.utils.ApkDependenciesUtils;
import org.commcare.utils.ConsumerAppsUtil;
import org.commcare.utils.MultipleAppsUtil;
import org.commcare.utils.Permissions;
import org.commcare.views.ManagedUi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import org.commcare.core.network.CaptivePortalRedirectException;
import org.commcare.engine.resource.installers.SingleAppInstallation;
import org.commcare.network.RateLimitedException;
import org.commcare.preferences.ServerUrls;
import org.commcare.preferences.HiddenPreferences;
import org.commcare.preferences.MainConfigurablePreferences;
import org.commcare.preferences.ServerUrls;
import org.commcare.resources.ResourceManager;
import org.commcare.resources.model.Resource;
import org.commcare.resources.model.ResourceTable;
Expand Down Expand Up @@ -57,7 +57,7 @@ public static boolean isUpdateReadyToInstall() {
* Creates a new application record in db
* @return newly created CommCare App
*/
public static CommCareApp getNewCommCareApp() {
private static CommCareApp getNewCommCareApp() {
ApplicationRecord newRecord =
new ApplicationRecord(PropertyUtils.genUUID().replace("-", ""),
ApplicationRecord.STATUS_UNINITIALIZED);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
package org.commcare.engine.resource.installers;

import org.commcare.CommCareApp;
import org.commcare.activities.CommCareSetupActivity;
import org.commcare.engine.resource.AppInstallStatus;
import org.commcare.engine.resource.ResourceInstallUtils;
import org.commcare.tasks.ResourceEngineTask;

import static org.commcare.engine.resource.ResourceInstallUtils.getNewCommCareApp;
import static org.commcare.engine.resource.ResourceInstallUtils.handleAppInstallResult;

/**
* Install CC app from the APK's asset directory
Expand Down

0 comments on commit 7c2beaa

Please sign in to comment.