Android 6 : Stage3D AIR application fails to return from background
Problem description:
AIR for android application with <application android:hardwareAccelerated="true"> will stuck and be unresponsive if brought to foreground from background in Android 6.0 (Marshmallow).
We did some test with in Nexus(Android 6.0) device, and were able to reproduce the issue with Starling sample project.
App failed to continue when attempted to switch between apps second time, though our app failed at first attempt.
Reproduction:
Application was packaged with latest AIR SDK (19.0.0.213), in Nexus 5 / 7 (both Android 6)
App expected to continue running, but actually stucks (black screen) and OS prompts to terminate unreponsive app at second attempt to bring it foreground.
Turning off hardware acceleration seems to circumvent the issue, at performance cost. (<application android:hardwareAccelerated="false">)
We'd like to hear from other developers who tested their app (especially Stage3D apps) in Android 6 Marshmallow.
Currently we have no choice but to tell customers to refrain from upgrading their OS version.
