airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
201 stars 11 forks source link

Android 64 bit Device- Not able to hide app information in recent apps screen while back grounding #431

Open mprabhu33 opened 4 years ago

mprabhu33 commented 4 years ago

VAPT(Vulnerability Assessment and Penetration Testing ) team observed that android application allows to view information in recent apps screen while back grounding. Risk: Attacker or malicious application can extract information from the screen in the Recent Apps task switcher.

Added Event.DEACTIVATE in the main application page and in deactivate handler method try to active view as visible=false and alpha=0. Not working in android 64 bit device. Same code working on windows simulator.

Describe your problem in detail. Include the following information: AIR SDK Version: 33.1.1.98 Device - Android 64 bit

Steps to Reproduce

Sample Code: <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.TestAppHomeView" applicationDPI="240" activate="view1_activateHandler(event)" deactivate="view1_deactivateHandler(event)">

protected function view1_deactivateHandler(event:Event):void { if(this.navigator && this.navigator.activeView) { this.navigator.activeView.visible = false; this.navigator.activeView.alpha = 0; }

        }

Sample Project: DeactivateEvent.zip

Sample Screen Content: Content

Not working on 64- bit Android device. Not Working on Android

Working on Windows simulator Working Switch apps - Hide

Known Workarounds

No Workarounds

Kindly let me know, how to hide the content when the app is in recent app section or background? Any workaround?

mprabhu33 commented 4 years ago

Any workaround?