Fix crash due to TextView.getText() returning null. am: 8f22de0e7f
am: e6a5d22b42  -s ours

Change-Id: I95498146d6e7b4df48d5feb41e8c69150993d0dc