{"push_id":599111440,"size":1,"distinct_size":1,"ref":"refs/heads/stable/cm-12.0-YNG1T","head":"9e729a248ce7001fa8607d3373f65a7f3c572edd","before":"b91e609a06709a8642287c8e987881d9d4d8a365","commits":[{"sha":"9e729a248ce7001fa8607d3373f65a7f3c572edd","author":{"email":"238a1843d81dd7fbe80b5c1b99515c4ba8c94d0d@cyngn.com","name":"Roman Birg"},"message":"Settings: fix potential NPE when resetting profiles\n\nWhen the user hits the positive button in the confirmation dialog to\nreset profiles, we force a refresh of the profiles list. This can lead\nto a NPE exception being thrown if it happens before the dialog actually\ngets dismissed (and the ProfilesList fragment is actually attached)\nsince the reload list calls getPreferenceScreen(), which can be null,\nsince it is not attached.\n\nAfter the dialog disappears, onResume() gets called in ProfilesList\nanyways, so there's no need for a forced refresh.\n\nChange-Id: I93de7115a69cc7545bf6a33de3a4abf5443658b9\nSigned-off-by: Roman Birg <roman@cyngn.com>\n(cherry picked from commit 4baea5b71567ad45a3c49c4a17c0d554da3bb486)","distinct":true,"url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Settings/commits/9e729a248ce7001fa8607d3373f65a7f3c572edd"}]}