Adobe-Runtime-Support
Adobe-Runtime-Support copied to clipboard
[Android] Screen flickering when plug in/unplug USB keyboard/mouse
Problem Description
Screen flickering when plug in/unplug USB keyboard/mouse to Android device. It happens only with AIR applications and interrupt smooth UX in cases when users need to plug in/unplug USB keyboard/mouse.
Tested with multiple AIR versions, even with latest AIR 33.1.1.889 with multiple different Android devices with different OS versions and architectures with different USB keyboards/mouses.
Same problem in all cases.
It works fine with non-AIR applications.
There is no such issue with USB cameras.
There is no such issue with Windows/macOS devices.
renderMode and containsVideo values no matter.
Related issues (not the same): https://github.com/airsdk/Adobe-Runtime-Support/issues/1194 https://github.com/airsdk/Adobe-Runtime-Support/issues/1003 https://github.com/airsdk/Adobe-Runtime-Support/discussions/706 https://github.com/airsdk/Adobe-Runtime-Support/issues/151 https://github.com/airsdk/Adobe-Runtime-Support/issues/87 https://github.com/airsdk/Adobe-Runtime-Support/issues/6
Steps to Reproduce
- Launch any AIR application (even "empty") with any Android device.
- Plug in or unplug USB keyboard/mouse to Android device.
Application example with sources attached. android_peripheral_usb_flickering_bug.zip
package {
import flash.display.Sprite;
public class AndroidPeripheralUSBFlickeringBug extends Sprite {
public function AndroidPeripheralUSBFlickeringBug() {
}
}
}
Actual Result: Screen blink with black.
Expected Result: No screen flickering.
Known Workarounds
none