TC51 - Scanner after sleeping

Hello,

We have an web application on Enterprise browser (1.8) and use entreprise home screen (2.7.3)

We have an issue with the scanner on the TC51.

While using it with our application, everything goes well.

But when the TC51 wake from the sleeping mode, the scanner is not correctly restarted, we just have the red pointer and not the red area and impossible to scan.

We must restart the app to retrieve a functionnal scanner.

We have the following instruction in our source to initialize the scanner but seem not working when wake from sleeping mode.

EB.Application.setApplicationNotify(androidEvent);

function androidEvent(e)

{

     EB.Barcode.disable;

     //event que l'écran est allumé

     if (e.applicationEvent = 'ScreenOn')

     {

          EB.Barcode.enable({allDecoders:true},fnBarcodeScanned);

     }

}

There is an configuration in Android or enterprise browser or enterprise home screen to settle this issues

thank you