Ensure that text passed in is non-null.

Bug:3183112
Change-Id: Icf00e2793cb9b62dd0ebb4f60b8ddcafea3e581f
1 file changed