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
Loading
Please register or sign in to comment