This question was similar to my original question, but I think there is a better way to approach a solution.
getIntent returns wrong intent when setIntent is followe
I found a solution that appears to work, but I expect there is a better way to do it.
if (getIntent() != null && getIntent().getData() != null) {
String data = getIntent().getDataString();
getIntent().setData(null);
setIntent(null);
I think the setIntent
isn't of any use, but the setData(null)
seems to do the trick.