Skip to content
Commit 41ae5e85 authored by Tiger Huang's avatar Tiger Huang
Browse files

Window Manager Flag Migration (11/n)

This CL dispatches the compatible system UI visibility to the app.

There are some changes about the flag of low profile in the new insets
mode:
- A window cannot detect if another window changes the system bars to
  the low profile mode via OnSystemUiVisibilityChangeListener.
- SYSTEM_UI_FLAG_LOW_PROFILE won't be cleared by swiping to show bars.

Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
            InsetsPolicyTest WindowStateTests CommandQueueTest
            RegisterStatusBarResultTest InsetsFlagsTest
            LightBarControllerTest RegisterStatusBarResultTest
            ViewRootImplTest DisplayPolicyLayoutTests
            DisplayPolicyInsetsTests DisplayPolicyTests
            TaskSnapshotSurfaceTest InsetsAnimationControlImplTest

Change-Id: I85b720fd6b09c206ec56ca661cd5b645f7add404
parent 16a6ec7e
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