[Chromecast] Use Activity.setTurnScreenOn on 27+.
The old way of setting a flag on Window is deprecated, and doesn't work correctly on some newer devices. Bug: internal b/122813747 Test: unittests, P and pre-O manual tests Change-Id: I593c287b755ba2dd68221820621af2e955b1fd65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1548555Reviewed-by:Simeon Anfinrud <sanfin@chromium.org> Commit-Queue: Thoren Paulson <thoren@chromium.org> Cr-Commit-Position: refs/heads/master@{#646608}
Showing
Please register or sign in to comment