Add null check to Uri when getting the name to toast
am: c000d2ee0e

Change-Id: I7d08bd276ed723135f959a066939e081e2491e34