commit | 0bab4fd8c3d0aa1ddd81132add83fe9445758fde | [log] [tgz] |
---|---|---|
author | Shakti Sahu <[email protected]> | Wed Dec 11 22:51:04 2019 |
committer | Shakti Sahu <[email protected]> | Wed Dec 11 22:51:04 2019 |
tree | 4e58c6fa264ad311443f48eb37f1b45d660dc96c | |
parent | 9212ceba157e759f700684f4e37c55c1bb3f6047 [diff] |
ThinWebView : SurfaceView zOrder issue This CL addresses the surface view transparent issue after screen off/on. This is one of the approaches to fix this. When screen is turned off, in versions >=P, we recreate the compositor surface. Also in Q, we use surface control, and use a Translucent surface. For translucent surfaces, we use zOrderMediaOverly. This CL fixes this issue by not setting zOrderMediaOverlay for the main compositor view when surface control is enabled. Another alternative is to recreate the ThinWebView surface after screen off/on, and order both of them correctly so that TWV surface is created after the main compositor. This CL follows the former approach. This CL also reverts back the setZOrderOnTop added recently in CL https://chromium-review.googlesource.com/c/chromium/src/+/1939892 (cherry picked from commit 211b705e40b2b4d81d0e147af7b281c340d01bcd) Bug: 1024622 Change-Id: I889a98aa18943bfbcd45797c031196640a822b88 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1954452 Commit-Queue: Shakti Sahu <[email protected]> Reviewed-by: David Trainor <[email protected]> Reviewed-by: Khushal <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#723608} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1962731 Reviewed-by: Shakti Sahu <[email protected]> Cr-Commit-Position: refs/branch-heads/3987@{#61} Cr-Branched-From: c4e8da9871cc266be74481e212f3a5252972509d-refs/heads/master@{#722274}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .