def freeze_rotation(self, freeze=True):
        self.server.jsonrpc.freezeRotation(freeze)
freeze or unfreeze the device rotation in current status.
dataset/ETHPy150Open xiaocong/uiautomator/uiautomator/__init__.py/AutomatorDevice.freeze_rotation