Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Screen flickering when plug in/unplug USB keyboard/mouse #2017

Closed
itlancer opened this issue Jul 13, 2022 · 2 comments
Closed

[Android] Screen flickering when plug in/unplug USB keyboard/mouse #2017

itlancer opened this issue Jul 13, 2022 · 2 comments
Labels

Comments

@itlancer
Copy link

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):
#1194
#1003
#706
#151
#87
#6

Steps to Reproduce

  1. Launch any AIR application (even "empty") with any Android device.
  2. 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

@itlancer
Copy link
Author

Issue still exists with latest AIR 50.2.4.1.

@itlancer
Copy link
Author

Now it fixed. Tested with latest AIR 51.1.1.5.
Thanks!

But still actual issues:
#151
#2396
#87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant