Merge "Update BIND_SHARED_ISOLATED_PROCESS documentation."

This commit is contained in:
Martijn Coenen
2023-01-11 08:17:02 +00:00
committed by Android (Google) Code Review

View File

@@ -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;