Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a83b4cfc authored by Robert Sesek's avatar Robert Sesek Committed by android-build-merger
Browse files

Merge "Add clarifying documentation to Context.BIND_EXTERNAL_SERVICE." into nyc-dev

am: f45bc095

* commit 'f45bc095':
  Add clarifying documentation to Context.BIND_EXTERNAL_SERVICE.

Change-Id: Ie16d11c4aaa515a570b8b717241d556903198d24
parents 8e5c3a00 f45bc095
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -342,6 +342,14 @@ public abstract class Context {
     * {@link android.R.attr#isolatedProcess isolated},
     * {@link android.R.attr#isolatedProcess isolated},
     * {@link android.R.attr#externalService external} service.  This binds the service into the
     * {@link android.R.attr#externalService external} service.  This binds the service into the
     * calling application's package, rather than the package in which the service is declared.
     * calling application's package, rather than the package in which the service is declared.
     * <p>
     * When using this flag, the code for the service being bound will execute under the calling
     * application's package name and user ID.  Because the service must be an isolated process,
     * it will not have direct access to the application's data, though.
     *
     * The purpose of this flag is to allow applications to provide services that are attributed
     * to the app using the service, rather than the application providing the service.
     * </p>
     */
     */
    public static final int BIND_EXTERNAL_SERVICE = 0x80000000;
    public static final int BIND_EXTERNAL_SERVICE = 0x80000000;