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

Skip to content
Commit 965caedb authored by Chris Göllner's avatar Chris Göllner
Browse files

Show privacy dot on connected displays

Introduces PrivacyDotWindowController, which adds the privacy dots
to WindowManager.

This controller is only used for connected displays for now, and the
old logic in ScreenDecorations is used for the default/main display.

Also extracts the ScreenDecorations ui thread to a Dagger module, so
it can be reused in PrivacyDotWindowController.

Test: PrivacyDotWindowControllerTest
Test: PrivacyDotWindowControllerStoreImplTest
Test: PrivacyDotViewControllerTest
Test: DisplayWindowPropertiesRepositoryImplTest
Test: Add a connected display and start a voice recording. Also change
      rotation of the display and see that the dot positions correctly.
Bug: 362720432
Flag: com.android.systemui.status_bar_connected_displays
Change-Id: I5f0b8ddb37b55a53b66f3357bc1279e4b765e744
parent 261bbcfa
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