if (rotation == -1)
{
- ELOGF("ROTATION", "ZONE_ROT |UNKOWN SET|zone:%d|rot curr:%d, rot:%d",
+ ELOGF("ROTATION", "ZONE_ROT |UNKNOWN SET|zone:%d|rot curr:%d, rot:%d",
NULL, NULL, zone->num, zone->rot.curr, rotation);
return;
}
return;
}
- ELOGF("ROTATION", "ZONE_ROT |UNKOWN SET|zone:%d|rot curr:%d, rot:%d",
+ if (zone->rot.block.sys_auto_rot)
+ {
+ ELOGF("ROTATION", "ZONE_ROT |SKIP|zone:%d curr:%d rotation:%d. auto rotation is locked",
+ NULL, NULL, zone->num, zone->rot.curr, rotation);
+ zone->rot.unknown_state = EINA_FALSE;
+ return;
+ }
+
+ ELOGF("ROTATION", "ZONE_ROT |UNKNOWN SET|zone:%d|rot curr:%d, rot:%d",
NULL, NULL, zone->num, zone->rot.curr, rotation);
return;
}