Skip to content
Commit 7b20e7f1 authored by Kazuki Takise's avatar Kazuki Takise
Browse files

Atomically apply windowing mode and display windowing mode

We currently call super.setWindowingMode() and
super.setDisplayWindowingMode() in DisplayContent#setWindowingMode(),
and super.setWindowingMode() calls onConfigurationChanged, which
can end up triggerring rotation update logic.

As some code assumes windowing mode and display windowing mode
always match, they should be atomically updated.

The concrete problem we are facing is that windowing mode change for
the  default dipslay triggers rotation incorrectly.

Bug: 159751214
Test: go/wm-smoke
Test: atest DisplayContentTests
Change-Id: Icca1673d8bf649f6cb17bceed8cd0d533d76fabd
parent fa6332bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment