From 0e95173de0faec26e0f131a4701bfd212418d1c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Mon, 11 Feb 2019 15:27:15 +0100 Subject: [PATCH] Fix typo in getAppStartIntents --- src/android/BackgroundModeExt.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")),