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

Skip to content
Commit a66d94b1 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Simplify initialization of transition controller

RootWindowContainer#mTransitionController was always null because
setWindowManager(create TransitionController) is called after the
creation of RootWindowContainer.

Now TransitionController is created with ActivityTaskMangerService,
and its fields of window manager dependencies are assigned from
setWindowManager. Then all WindowContainer#mTransitionController
will be non-null.

This also fixes that setNavigationBarLumaSamplingEnabled was
missing for transient launch because mStatusBar is always null
by the initialization order.

Bug: 163976519
Test: atest TransitionTests

Change-Id: Ic72c3f70b6de005d9b68a43e53510c2a5f4bdb44
parent f558dd2d
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