前两天刚刚更新了as3.6,预感不妙,因为那只蝙蝠的原因才下定决心开始从头学习,然后中间也遇到了很多问题,都有惊无险的解决了,但是今天遇到一个诡异的bug。
//切换横竖屏
if (mod.getDataInfo(this,"zx_set_loc.xml").equals("h"))
{
BangScreenTools.getBangScreenTools().transparentStatusCutout(getWindow(), this);
this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
}
else
{
BangScreenTools.getBangScreenTools().transparentStatusCutout(getWindow(), this);
this.setRequestedO