Reset the screenshot preview intent on clear

Currently, we only reset the intent sent upon tapping the screenshot
preview when we get a new intent. This means that if you tap on the
preview after the animation is complete, but before the screenshot
has saved, you'll be sent to the edit app with the old (previous)
screenshot.

This change sets the intent to null when the screenshot is cleared,
so that tapping on it will do nothing until we can send the user
to the right place.

Bug: 161434853
Fix: 161434853
Bug: 161532249
Fix: 161532249
Test: manual
Change-Id: Id8542985cba73bab6d0c9cb35760d43403cee1d9
1 file changed