commit | e921ce103054105d4325e80fb9d3999550bbeb2e | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Thu Feb 18 15:32:41 2016 -0800 |
committer | Adam Powell <adamp@google.com> | Thu Feb 18 15:32:41 2016 -0800 |
tree | 70a030df9c106ff47f3b65a0ef0b7300174f67a0 | |
parent | e22092227572db7e749e5cbb8139aa79a18fecd5 [diff] |
Fix a NPE with Fragment#setUserVisibleHint Fix a bug where calling setUserVisibleHint(true) before a fragment is attached to a FragmentManager would throw NPE. As the same fix has been made in frameworks/base, adjust FragmentCompat to guard against the pre-existing bug in older platform versions. Bug 27250018 Change-Id: Ifc72f2f16e728414e3ecd80fd34b933bcad73729