Open manastungare opened 7 years ago
Thanks, Manas. I agree with your description the expected behavior. It looks like a bug, maybe introduced with Android N.
For anyone wanting to take a look, the responsible class is UITweaker
, instantiated from DeviceViewController
. The device enters demo mode with uiTweaker.start() - and although .end() is never called, the device seems to make its way out of demo mode too soon.
Hey Morten,
Thanks for an awesome tool! Here’s my experience with Demo Mode:
And then:
Instead, a better workflow would be to enable Demo Mode once, and stay in Demo Mode until the user explicitly turns it off.
This way, all screenshots will be (relatively) instant, with no need to toggle it on/off between successive screenshots.
(I’m not a Mac programmer, else I’d have looked into implementing this myself, but if I ever do get into it, I’ll send a PR your way. Until then, here’s an Issue if someone wants to pick up and run with it.)
Thanks!