commit | c009b8a4961451c3ab2d9fecb8c4559adc55425d | [log] [tgz] |
---|---|---|
author | PauloftheWest <paulofthewest@google.com> | Tue Sep 09 10:04:46 2014 -0700 |
committer | PauloftheWest <paulofthewest@google.com> | Tue Sep 09 10:12:00 2014 -0700 |
tree | 475668da3882410592550ea4f71aa6b340b872ff | |
parent | 574db4269528c7277f6e14a44156909fdb063190 [diff] |
Fixed a Null Pointer Error in Bluetooth Settings. + The root of the problem is that the callback for a device change may be set before the fragment has a layout. Then if a change does come in, getView() would return null. This fix delays registering the callback until appropiate. Bug: 17404518 Change-Id: Ibd0e90f82593d45729f427bcc2e40fe9195eb42a