Phone should turn on screen and unlock it when an alarm is triggered
Bug #1340329 reported by
Nekhelesh Ramananthan
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
High
|
Charles Kerr | ||
indicator-datetime (Ubuntu) |
Fix Released
|
High
|
Charles Kerr |
Bug Description
When an alarm is triggered, the phone screen stays turned off. It should turn on and unlock automatically so that the user can quickly dismiss the alarm.
Related branches
lp:~charlesk/indicator-datetime/lp-1340329-when-alarm-is-shown-inhibit-sleep-and-force-display-on
- Jussi Pakkanen (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 898 lines (+531/-97)7 files modifiedinclude/datetime/dbus-shared.h (+15/-5)
include/datetime/snap.h (+6/-1)
src/exporter.cpp (+4/-4)
src/snap.cpp (+240/-47)
tests/manual (+2/-0)
tests/test-exporter.cpp (+3/-3)
tests/test-snap.cpp (+261/-37)
Changed in ubuntu-clock-app: | |
milestone: | none → rtm |
Changed in ubuntu-clock-app: | |
assignee: | nobody → Charles Kerr (charlesk) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in indicator-datetime (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ubuntu-clock-app: | |
status: | Triaged → In Progress |
tags: | added: qa-daily-testing rtm14 |
Changed in ubuntu-clock-app: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
If I understand things correctly, we need two things:
1. call powerd's requestSystState() to inhibit suspend while the snap decision is up and clearSysState() when done
2. call unity-system- compositor' s keepDisplayOn() while the snap decision is up and removeDisplayOn Request( ) when done