When using a Bluetooth keyboard the "enter" key wouldn't work to submit the pin dialog because hardware keyboards always have an IME action int of 0. Additionally, I noticed maybe 1 in 4 times my unlocked and canceled callbacks weren't being hit because when getting the runnable from the WeakReference it was null.
When using a Bluetooth keyboard the "enter" key wouldn't work to submit the pin dialog because hardware keyboards always have an IME action int of 0. Additionally, I noticed maybe 1 in 4 times my unlocked and canceled callbacks weren't being hit because when getting the runnable from the WeakReference it was null.