Skip to content
Commit 6c6a688d authored by wilsonshih's avatar wilsonshih Committed by Wei Sheng Shih
Browse files

Reland "Remove Dependency.get from NavigationBar."

This reverts commit be525911.

The original CL fixed the SystemUI crash when create dependency for
DumpManager.

Two more modify from the original CL:

- NavigationBar should create for each display, so there cannot use the
injected WindowManager to add/remove view.
- The LightBarController is also create for each display, so the
DumpManager should only register for default display, otherwise the
registerDumpable will throw exception when creating for non-default
display.

Bug: 199481992
Test: atest MultiDisplaySystemDecorationTests
Test: atest SystemUITests
Change-Id: I2be879f85fcc9f5f83cb33a564a3a25d8d9a3254
parent 3aef7134
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