From 82d22040c9b5284638bf032f89d709f71c10bfc2 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Tue, 3 Jan 2023 10:22:07 +0000 Subject: [PATCH] Update BIND_SHARED_ISOLATED_PROCESS documentation. Bug: 243554393 Test: N/A Change-Id: I6453544f4ce3551835505d2406a467b02bc13614 --- core/java/android/content/Context.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 7d7232e36d72c..2732202699660 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -408,7 +408,12 @@ public abstract class Context { * will cause the isolated service to be co-located in the same shared isolated process. * * Note that the shared isolated process is scoped to the calling app; once created, only - * the calling app can bind additional isolated services into the shared process. + * the calling app can bind additional isolated services into the shared process. However, + * the services themselves can come from different APKs and therefore different vendors. + * + * Only services that set the {@link android.R.attr#allowSharedIsolatedProcess} attribute + * to {@code true} are allowed to be bound into a shared isolated process. + * */ public static final int BIND_SHARED_ISOLATED_PROCESS = 0x00002000;