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

Commit 37e0b0c2 authored by Jing Ji's avatar Jing Ji
Browse files

Update doc for ApplicationExitInfo.getDefiningUid

Bug: 152328176
Test: atest CtsAppExitTestCases:ActivityManagerAppExitInfoTest
Change-Id: Ic5d6b55a58b2eddb7b62c186adcbae748d9fde0a
parent 9c493f47
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -499,9 +499,11 @@ public final class ApplicationExitInfo implements Parcelable {

    /**
     * Return the defining kernel user identifier, maybe different from {@link #getRealUid} and
     * {@link #getPackageUid}, if an external service was bound with the flag
     * {@link android.content.Context#BIND_EXTERNAL_SERVICE} - in this case, this field here
     * will be the kernel user identifier of the external service provider.
     * {@link #getPackageUid}, if an external service has the
     * {@link android.R.styleable#AndroidManifestService_useAppZygote android:useAppZygote} set
     * to <code>true<code> and was bound with the flag
     * {@link android.content.Context#BIND_EXTERNAL_SERVICE} - in this case, this field here will
     * be the kernel user identifier of the external service provider.
     */
    public int getDefiningUid() {
        return mDefiningUid;