commit | 676751ebbd8b6d9aee52e11b13a01797ac2ce0ba | [log] [tgz] |
---|---|---|
author | Fabrice Di Meglio <fdimeglio@google.com> | Wed May 21 13:58:46 2014 -0700 |
committer | Fabrice Di Meglio <fdimeglio@google.com> | Wed May 21 13:58:46 2014 -0700 |
tree | fc7e13471f673a063ae2e5baea01506da41fc284 | |
parent | a5e1d3037f9647b693a4347dd8c7f97067eacce4 [diff] |
Fix bug #15115542 Ripple effect is crashing Settings with java.lang.NullPointerException - for having the tint attribute to be populated you need to have the Theme passed. This is why Fragment.getActivity().getDrawable(...) should be used instead of Fragment.getResources().getDrawable(...) Change-Id: I945eca98e1d73fda3b290a6ababfd1fb41118d8f