Add a request code for derived activities to start from.
This allows derived activities to use their own activity request codes
that don't overlap with the ones used in Launcher.
Change-Id: I1337dde550c6bd748dad80e7c62ea6ce15c17374
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 3adfb95..46943b5 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -128,6 +128,12 @@
private static final int REQUEST_BIND_APPWIDGET = 11;
+ /**
+ * IntentStarter uses request codes starting with this. This must be greater than all activity
+ * request codes used internally.
+ */
+ protected static final int REQUEST_LAST = 100;
+
static final String EXTRA_SHORTCUT_DUPLICATE = "duplicate";
static final int SCREEN_COUNT = 5;