共用方式為


UiAutomation.DropShellPermissionIdentity Method

Definition

Drop the shell permission identity adopted by a previous call to #adoptShellPermissionIdentity().

[Android.Runtime.Register("dropShellPermissionIdentity", "()V", "", ApiSince=29)]
public void DropShellPermissionIdentity ();
[<Android.Runtime.Register("dropShellPermissionIdentity", "()V", "", ApiSince=29)>]
member this.DropShellPermissionIdentity : unit -> unit
Attributes

Remarks

Drop the shell permission identity adopted by a previous call to #adoptShellPermissionIdentity(). If you did not adopt the shell permission identity this method would be a no-op.

Java documentation for android.app.UiAutomation.dropShellPermissionIdentity().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to