In case this helps: I recommend you applying this https://gist.github.com/kyryl-bogach/86eac430c4135ae6b200c6467da081a4. I just made it to work all out of the box features: rotation, lock/unlock rotation, touchscreen, tablet mode that blocks touchpad and keyboard... etc
Activity