Loading core/java/android/content/Intent.java +6 −0 Original line number Diff line number Diff line Loading @@ -4454,6 +4454,12 @@ public class Intent implements Parcelable, Cloneable { */ public static final String EXTRA_EPHEMERAL_TOKEN = "android.intent.extra.EPHEMERAL_TOKEN"; /** * The action that triggered an instant application resolution. * @hide */ public static final String EXTRA_INSTANT_APP_ACTION = "android.intent.extra.INSTANT_APP_ACTION"; /** * The version code of the app to install components from. * @hide Loading services/core/java/com/android/server/pm/InstantAppResolver.java +1 −0 Original line number Diff line number Diff line Loading @@ -258,6 +258,7 @@ public abstract class InstantAppResolver { if (origIntent.getData() != null) { intent.putExtra(Intent.EXTRA_EPHEMERAL_HOSTNAME, origIntent.getData().getHost()); } intent.putExtra(Intent.EXTRA_INSTANT_APP_ACTION, origIntent.getAction()); // We have all of the data we need; just start the installer without a second phase if (!needsPhaseTwo) { Loading Loading
core/java/android/content/Intent.java +6 −0 Original line number Diff line number Diff line Loading @@ -4454,6 +4454,12 @@ public class Intent implements Parcelable, Cloneable { */ public static final String EXTRA_EPHEMERAL_TOKEN = "android.intent.extra.EPHEMERAL_TOKEN"; /** * The action that triggered an instant application resolution. * @hide */ public static final String EXTRA_INSTANT_APP_ACTION = "android.intent.extra.INSTANT_APP_ACTION"; /** * The version code of the app to install components from. * @hide Loading
services/core/java/com/android/server/pm/InstantAppResolver.java +1 −0 Original line number Diff line number Diff line Loading @@ -258,6 +258,7 @@ public abstract class InstantAppResolver { if (origIntent.getData() != null) { intent.putExtra(Intent.EXTRA_EPHEMERAL_HOSTNAME, origIntent.getData().getHost()); } intent.putExtra(Intent.EXTRA_INSTANT_APP_ACTION, origIntent.getAction()); // We have all of the data we need; just start the installer without a second phase if (!needsPhaseTwo) { Loading