Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 623d402b authored by Charles Chen's avatar Charles Chen
Browse files

Respect the hardware accelerated of ApplicationInfo

Enabling the flag enable_window_context_override_type led to
PlatformScenarioTests failure. The root cause is that setting
the parent window leads to the window itself and its sub-windows
respect if hardware accelerated is enabled, which disabled hardware
accelerated on the notification shade window,
and so did the ThreadedRenderer. That's why the view validaton in jank
monitor failed.

This CL set the hardware accelleration from ApplicationInfo, which
follows the mechanism in WindowManagerGlobal#addView.

Test: atest WindowContext ViewCaptureAwareWindowManagerTest
Fixes: 410504049
Flag: com.android.window.flags.enable_window_context_override_type
Change-Id: I9e2def6249729d490e0123d244db5ce061b16dc4
parent 8274f9e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment