diff --git a/src/android/BackgroundModeExt.java b/src/android/BackgroundModeExt.java index 380d4a8..ed76598 100644 --- a/src/android/BackgroundModeExt.java +++ b/src/android/BackgroundModeExt.java @@ -220,7 +220,7 @@ public class BackgroundModeExt extends CordovaPlugin { Activity activity = cordova.getActivity(); PackageManager pm = activity.getPackageManager(); - for (Intent intent : getAppstartIntents()) + for (Intent intent : getAppStartIntents()) { if (pm.resolveActivity(intent, MATCH_DEFAULT_ONLY) != null) { @@ -418,7 +418,7 @@ public class BackgroundModeExt extends CordovaPlugin { /** * Returns list of all possible intents to present the app start settings. */ - private List getAppstartIntents() + private List getAppStartIntents() { return Arrays.asList( new Intent().setComponent(new ComponentName("com.miui.securitycenter","com.miui.permcenter.autostart.AutoStartManagementActivity")),