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

Commit 55a37bb4 authored by Charles Chen's avatar Charles Chen Committed by Android Build Coastguard Worker
Browse files

Override type only if it's necessary

Before, WindowContext overrode type to all attached windows.
However, it led to unexpected layout when overriding an application sub panel.

This CL changes to override window type only if the type is not valid for
the attached WindowContext.

Test: atest WindowContextTest
Bug: 435160153
Flag: EXEMPT BUGFIX
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:dec18d7cffd6c57e8205716ababbb8c495fe2633
Merged-In: I161fc42386d5981b91505305110fa6214870e3e7
Change-Id: I161fc42386d5981b91505305110fa6214870e3e7
parent 86759676
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