lp://staging/~andreas-pokorny/unity-system-compositor/expose-powerkey-state-and-screen-toggle-controller-interface
Created by
Andreas Pokorny
and last modified
- Get this branch:
- bzr branch lp://staging/~andreas-pokorny/unity-system-compositor/expose-powerkey-state-and-screen-toggle-controller-interface
Only
Andreas Pokorny
can upload to this branch. If you are
Andreas Pokorny
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
On hold
for merging
into
lp://staging/unity-system-compositor
- Alan Griffiths: Needs Fixing
- Alberto Aguirre (community): Needs Information
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 1777 lines (+1239/-102)25 files modifiedCMakeLists.txt (+9/-9)
src/CMakeLists.txt (+2/-0)
src/dbus_screen.cpp (+56/-16)
src/dbus_screen.h (+26/-8)
src/dbus_screen_observer.h (+3/-0)
src/inactivty_tracker.h (+34/-0)
src/powerkey_handler.cpp (+63/-46)
src/powerkey_handler.h (+19/-7)
src/powerkey_mediator.cpp (+68/-0)
src/powerkey_mediator.h (+55/-0)
src/powerkey_state_listener.h (+40/-0)
src/screen_power_state_listener.h (+40/-0)
src/screen_state_handler.cpp (+8/-7)
src/screen_state_handler.h (+10/-6)
src/screen_toggle_controller.h (+38/-0)
src/system.h (+37/-0)
src/system_compositor.cpp (+16/-2)
src/system_compositor.h (+9/-1)
src/system_impl.cpp (+25/-0)
src/system_impl.h (+31/-0)
tests/unit-tests/CMakeLists.txt (+2/-0)
tests/unit-tests/gmock-fixes.h (+106/-0)
tests/unit-tests/mock_dbus_screen_observer.h (+38/-0)
tests/unit-tests/test_powerkey_handler.cpp (+366/-0)
tests/unit-tests/test_powerkey_mediator.cpp (+138/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 186. By Andreas Pokorny
-
Adds an ofono call state observer
During a call the screen toggle through the power key is disabled. The powerkey is supposed to be processed by telephony-service to silence and/or terminate the call.
- 184. By Andreas Pokorny
-
Make PowerKey handling and related parts unit-testable
This change does not change any of the existing behavior. It just moves calls to system()
or other parts of the unity system compositor behind interfaces. - 182. By Ricardo Mendoza
-
When exiting usc, check if backlight is on and turn it off. Fixes: 1364865
Approved by: Alberto Aguirre, PS Jenkins bot
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/unity-system-compositor