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

Skip to content
Commit 4be18e7d authored by Lingyu Feng's avatar Lingyu Feng
Browse files

Refactor onDisplayReady to onDisplayAddSystemDecorations

Renames onDisplayReady() to onDisplayAddSystemDecorations() to maintain
consistency with onDisplayRemoveSystemDecorations().

Previously, onDisplayReady() was sent regardless of the return value of
isSystemDecorationsSupported(). In this CL,
onDisplayAddSystemDeocrations() is only sent when
isSystemDecorationsSupported() returns true.

Bug: 390591772
Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
Test: atest CommandQueueTest WallpaperManagerServiceTests
Test: adb shell settings put secure mirror_built_in_display {1|0}
Change-Id: I5d4289ac303a79948c9ac51da04e8b486f4e2cf6
parent 5b8c5b64
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