Skip to content

Address UnsafeImplicitIntentLaunch lint error #21085

@wzieba

Description

@wzieba

Expected behavior

UnsafeImplicitIntentLaunch lint error is not raised when running lint task.

Actual behavior

UnsafeImplicitIntentLaunch is reported 12 times.

Steps to reproduce the behavior

Remove UnsafeImplicitIntentLaunch from the lint baseline file and run lint task (after #21082 is merged).


From what I understood in my research, some Intent calls made for a system web browser are considered by lint to launch JetpackConnectionResultActivity, which only cares about wordpress://jetpack-connection?reason={error} type of links (not https). I'd appreciate a second check if this make sense. I'm also not sure what's the prefered solution - suppressing, or maybe there's something better like communicating to Intents that it should point to external components only?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions