Skip to content
Commit 263e907c authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Making mirror slider appear when brightness slider is used in split shade

This change is mostly about QuickQSPanelController which should have very similar brightness mirror logic to QSPanelController.
They have common base class QSPanelControllerBase which could be used for sharing the logic, but:
- brightness slider logic differs a bit and it would be cumbersome to share brightness slider logic in base class
- from above, it would be weird to have brightness mirror logic in base class, but not brightness logic
- favour composition over inheritance

That's why brightness mirror logic was extracted to BrightnessMirrorHandler and a few duplicated lines remain.

Bug: 193651759
Test: QuickQSBrightnessControllerTest
Change-Id: Iea604092cd84f1da96cdbc5cd085babc0dc2bb49
parent ff254dd7
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