Skip to content
Commit 45a9da50 authored by Adam Powell's avatar Adam Powell
Browse files

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
parent e6411c76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment