Ensure a toast shows when uploading an invalid file

Bug: 62034
Change-Id: I56ac12dff9566496dadcde8470022a41ce2ebc77
Merge "Ensure a toast shows when uploading an invalid file"