UhOhListener triggered too soon

  • When I'm connected to my device, and disable bluetooth and turn it back up again,
    I get the UhOhListener with INCONSISTENT_NATIVE_DEVICE_STATE with RESTART_PHONE remedy.

    I want to use this callback to notify the user that Bluetooth is seriously wrong, but of course I don't want to show this when the user is turning Bluetooth off/on.

    My suggestion is to don't call this event while in the process of turning off / on bluetooth.

  • Great suggestion, thanks!