commit | 45a9da5076f4482e82ada5f394a9e69f730b9734 | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Thu Oct 09 09:44:18 2014 -0700 |
committer | Adam Powell <adamp@google.com> | Thu Oct 09 09:47:03 2014 -0700 |
tree | ab465e0b22d3bafde561a0b1103d6eac7d4391f7 | |
parent | e6411c76c44930cd893b78ea9f59f26a4a441881 [diff] |
Throw a more descriptive exception when adding null to a ViewGroup Help developers during debugging bad calls to addView by throwing an IllegalArgumentException earlier rather than implicitly tossing NPE the first time the child view is accessed. Change-Id: I4a554635815a5d0b415f637b93592fb45973f26d