Now AndroidDevice#build_info returns a None when in fastboot and a dict otherwise.
I'm not quite sure if we were intentionally returning a None when the device is in fastboot. But I think making it strictly return a dict looks more reliable. So users won't get errors like
"TypeError: 'NoneType' object is not subscriptable"
Now AndroidDevice#build_info returns a None when in fastboot and a dict otherwise.
I'm not quite sure if we were intentionally returning a None when the device is in fastboot. But I think making it strictly return a dict looks more reliable. So users won't get errors like
"TypeError: 'NoneType' object is not subscriptable"
WDYT @xpconanfan ?
This change is![Reviewable](https://reviewable.io/review_button.svg)