Language

StrictMode.VmPolicy.Builder.PermitUnsafeIntentLaunch Method

Definition

Permits your app to launch any Intent which originated from outside your app. Disabling this check is strongly discouraged , as violations may indicate security vulnerabilities in the design of your app, where a malicious app could trick you into granting Uri permissions or launching unexported components.

[Android.Runtime.Register("permitUnsafeIntentLaunch", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=31)]
public Android.OS.StrictMode.VmPolicy.Builder PermitUnsafeIntentLaunch();
[<Android.Runtime.Register("permitUnsafeIntentLaunch", "()Landroid/os/StrictMode$VmPolicy$Builder;", "", ApiSince=31)>]
member this.PermitUnsafeIntentLaunch : unit -> Android.OS.StrictMode.VmPolicy.Builder

Returns

The returned value is non-null.

Attributes

Remarks

Permits your app to launch any Intent which originated from outside your app. Disabling this check is strongly discouraged , as violations may indicate security vulnerabilities in the design of your app, where a malicious app could trick you into granting Uri permissions or launching unexported components.

Java documentation for android.os.StrictMode.VmPolicy.Builder.permitUnsafeIntentLaunch().

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