commit | 5c52bb885d49475ad8c8ed2d49fc669c9d865431 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Tue Dec 09 15:09:38 2014 -0800 |
committer | Tyler Gunn <tgunn@google.com> | Tue Dec 09 15:09:38 2014 -0800 |
tree | 71231eeef8d2f0d6b8b739a8cbe8998b1c21a3d5 | |
parent | f5dc3a523b76722e7696831edb8b4555f7430a7d [diff] |
Fix potential NPE when generating accessibility text. Traced through the original bug report; the problem is that a call to TextUtils.expandTemplate was being made with a null 2nd parameter. I traced through the callers to find out where a null could be introduced and I was unable to identify a potential source. This change introduces a last-ditch null check to protect against problems upstream. Bug: 18684529 Change-Id: I7b608dfedf052d6933e94d1f23a658763b66059a