Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Intent action : ACTION_DELETE , App crashes after I hit cancel second time #29

@amitjain231

Description

@amitjain231

I had implemented package deletion app and intend to use ACTION_DELETE and refreshing the page after deletion of the selected package on my list.

Sequence of steps:
1> Select the package and click on delete (which runs the below intent code),
2> Click Cancel , hit delete again and hit cancel button again.. This time App crashes
Attached is the logcat..
Intent_issue_LogCat.txt

Error reported:
java.lang.RuntimeException: Failure delivering result ResultInfo

Code to launch delete package :
android_intent.Intent()
..setAction(android_action.Action.ACTION_DELETE)
..setData(Uri.parse("package:${app.packageName}"))
..startActivityForResult().then((data) => print(data));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions