Skip to content

Commit

Permalink
Fix typo in getAppStartIntents
Browse files Browse the repository at this point in the history
  • Loading branch information
katzer committed Feb 11, 2019
1 parent 157b34f commit 0e95173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/android/BackgroundModeExt.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private void openAppStart (Object arg)
Activity activity = cordova.getActivity();
PackageManager pm = activity.getPackageManager();

for (Intent intent : getAppstartIntents())
for (Intent intent : getAppStartIntents())
{
if (pm.resolveActivity(intent, MATCH_DEFAULT_ONLY) != null)
{
Expand Down Expand Up @@ -418,7 +418,7 @@ private Object getService(String name)
/**
* Returns list of all possible intents to present the app start settings.
*/
private List<Intent> getAppstartIntents()
private List<Intent> getAppStartIntents()
{
return Arrays.asList(
new Intent().setComponent(new ComponentName("com.miui.securitycenter","com.miui.permcenter.autostart.AutoStartManagementActivity")),
Expand Down

0 comments on commit 0e95173

Please sign in to comment.