This repository was archived by the owner on Jan 13, 2023. It is now read-only.
  
  
  
  
  
Description
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));