commit | e724ee4b04d121556e9764f72f9b921a0e16392a | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Wed Aug 31 11:20:27 2011 -0700 |
committer | Gilles Debunne <debunne@google.com> | Thu Sep 01 16:58:05 2011 -0700 |
tree | fcaffbb30d67c73407eeda7eb7af5df42b1f9837 | |
parent | 38e1c7a8a614a491747d08f91aa6eceaee8123fb [diff] |
Fix for NPE in Switch Happens when the checked state is set in XML in the CompoundButton constructor. The drawable are not yet loaded at that point. This still work since the Switch constructor calls setChecked, which will invalidate. Change-Id: I76459307e77596ce0f2759e9449eb42287c6bad7