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}
9 files changed