Merge lp:~philip.scott/audience/inhibit-screen into lp:~audience-members/audience/trunk
Proposed by
Felipe Escoto
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Danielle Foré | ||||||||
Approved revision: | 596 | ||||||||
Merged at revision: | 596 | ||||||||
Proposed branch: | lp:~philip.scott/audience/inhibit-screen | ||||||||
Merge into: | lp:~audience-members/audience/trunk | ||||||||
Diff against target: |
213 lines (+114/-38) 3 files modified
src/CMakeLists.txt (+1/-0) src/Services/Inhibitor.vala (+102/-0) src/Widgets/PlayerPage.vala (+11/-38) |
||||||||
To merge this branch: | bzr merge lp:~philip.scott/audience/inhibit-screen | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Corentin Noël | Needs Fixing | ||
Danielle Foré | testing | Approve | |
Review via email: mp+300277@code.launchpad.net |
Commit message
Inhibit screen lock during playback
Description of the change
Added a class that takes care of inhibiting the screen.
The same interface could also be used for sending play/pause when the screen locks, buy maybe this should be done elsewhere (Indicator-sound?) and for all players at once
I've found that even if you inhibited the screen, it would only prevent it from locking and not suspending. So now we are simulating user activity every 2 mins
Fixes:
https:/
https:/
To post a comment you must log in.
does this code superseed the one in http:// bazaar. launchpad. net/~audience- members/ audience/ trunk/view/ head:/src/ Widgets/ PlayerPage. vala#L404 ? If so it can be removed with this branch