Ver código fonte

removed unused class

Daniel Zlotin 8 anos atrás
pai
commit
3b5fc1e500

+ 0
- 19
android/app/src/main/java/com/reactnativenavigation/utils/IntentUtils.java Ver arquivo

@@ -1,19 +0,0 @@
1
-package com.reactnativenavigation.utils;
2
-
3
-import android.content.Intent;
4
-
5
-import com.reactnativenavigation.NavigationApplication;
6
-
7
-public class IntentUtils {
8
-    public static Intent getLauncherIntent() {
9
-        Intent intent = NavigationApplication.instance.getPackageManager().getLaunchIntentForPackage(NavigationApplication.instance.getPackageName());
10
-        if (intent == null)
11
-            intent = new Intent();
12
-        intent.setPackage(null);
13
-        intent.setFlags(0);
14
-        intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
15
-        intent.setAction(Intent.ACTION_MAIN);
16
-        intent.addCategory(Intent.CATEGORY_LAUNCHER);
17
-        return intent;
18
-    }
19
-}