- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 22 Jul 2019 13:48:03 -0700
- To: w3c/screen-orientation <screen-orientation@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 22 July 2019 20:48:30 UTC
I think it might be sufficient to just IPC over to Android and do the call to `setRequestedOrientation()` and then resolve the promise in the task that’s doing the request. Even if it doesn’t change, it should prevent the race condition with `.exitFullScreen()`. So, we would just return the promise here, instead of dropping it on the floor: https://github.com/mozilla/gecko-dev/blob/master/dom/base/ScreenOrientation.cpp#L377 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/screen-orientation/issues/104#issuecomment-513947948
Received on Monday, 22 July 2019 20:48:30 UTC