hi everyone,
I have a crash from ERA (and from user report) which does not happen on Simulator and only on Venu.
here is the code:
function onEnterSleep() {
if(AoD && Sys.getDeviceSettings().requiresBurnInProtection){
BurnP=1;
if(gW==416&&AODf){BurnP=2;}
}else{Sl=true;}
Ui.requestUpdate();
}
the crash happens on line 4
gW is initiated with function onLayout(dc) {} (gW=dc.getWidth())
AODf is initiated function initialize()
Have I missed something? Should I test if gW==null?!
the odd thing is that it only happens on real Venu (not on EPIX)