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

Commit df3fc379 authored by Merissa Mitchell's avatar Merissa Mitchell
Browse files

[WindowDecor] Force set layoutDirection in ReusableWindowDecorViewHost

Recall: http://recall/clips/13edbfbb-2115-41f9-8f4a-e720bb6bf4fb

This is a quick fix for the bug where app headers don't switch to the
correct RTL layout when system language is updated. This affects both
tasks that are already open and newly launched tasks, but seem to only
affect WindowDecors acquired from the pool in
PooledWindowDecorViewHostSupplier.

The real culprit could be a bug in Core where ViewRootImpl is not
resolving Rtl properties even though the configuration has changed. This
CL is a quick patch to resolve the issue affecting app headers.

Bug: 414495875
Test: Manual; change system language to a RTL language while tasks are
open. Observe that open tasks and newly launched tasks have the correct
RTL layout
Flag: EXEMPT bugfix

Change-Id: I87460f0cf583ecd8cee3f0b2728c534bca90185d
parent 4b5e894f
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