Intent.RemoveLaunchSecurityProtection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When an intent comes from another app or component as an embedded extra intent, the system creates a token to identify the creator of this foreign intent. If this token is missing or invalid, the system will block the launch of this intent. If it contains a valid token, the system will perform verification against the creator to block launching target it has no permission to launch or block it from granting URI access to the tagert it cannot access. This method provides a way to opt out this feature.
[Android.Runtime.Register("removeLaunchSecurityProtection", "()V", "GetRemoveLaunchSecurityProtectionHandler", ApiSince=36)]
public virtual void RemoveLaunchSecurityProtection();
[<Android.Runtime.Register("removeLaunchSecurityProtection", "()V", "GetRemoveLaunchSecurityProtectionHandler", ApiSince=36)>]
abstract member RemoveLaunchSecurityProtection : unit -> unit
override this.RemoveLaunchSecurityProtection : unit -> unit
- Attributes
Remarks
When an intent comes from another app or component as an embedded extra intent, the system creates a token to identify the creator of this foreign intent. If this token is missing or invalid, the system will block the launch of this intent. If it contains a valid token, the system will perform verification against the creator to block launching target it has no permission to launch or block it from granting URI access to the tagert it cannot access. This method provides a way to opt out this feature.
Java documentation for android.content.Intent.removeLaunchSecurityProtection().
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.