Adding ViewCaptureAwareWindowManager to AuthContainerView.
We can not inject an instance of ViewCaptureAwareWindowManager, and instead need to instantiate the same. When injected, the window manager does not allow the parent view to destroy on user actions such as beck press, hence the explicit instantiation is needed.
Bug: 360273259
Flag: com.android.systemui.enable_view_capture_tracing
Test: AuthControllerTest and AuthContainerViewTest
Change-Id: I2f9d8a3af0d1abcbee6dd70adfbe99979bc39be6
4 files changed