It would be great to pass an instance of `PreferenceStore` into the ctor of AndroidDevice, so that we didn't have to reference the spark singleton here. If this would introduce too many changes, so can address this in a follow-on CL.