lp:~gerboland/qtmir/RTM-fix-lifecycle-exempt-keeps-wakelock

Created by Gerry Boland and last modified
Get this branch:
bzr branch lp:~gerboland/qtmir/RTM-fix-lifecycle-exempt-keeps-wakelock
Only Gerry Boland can upload to this branch. If you are Gerry Boland please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gerry Boland
Project:
QtMir
Status:
Merged

Recent revisions

301. By Gerry Boland

Racey test not so reliable, this helps

300. By Gerry Boland

Delete unnecesary line

299. By Gerry Boland

Fix and add test for SharedWakelock acq/rel/acq not loosing a cookie

298. By Gerry Boland

Fix acquire(), release(), acquire() being called in quick succession, and only after do 2 cookies get sent from dbus

297. By Gerry Boland

Refactor wakelock handling. Lifecycle exempt apps now release wakelock when shell tries to suspend them

The previous Wakelock RAII design was faulty as it was wrapping an asynchronous service. It made it possible for wakelocks to be acquired and not be released.

This refactors SharedWakelock to hold a single instance of Wakelock, and Wakelock always holds a DBus connection.

Testing now includes testing the DBus calls are actually emitted.

Adds dependency on libqtdbusmock1-dev and libqtdbustest1-dev

296. By Gerry Boland

Add test

295. By Gerry Boland

Lifecycle exempt apps now release wakelock when shell tries to suspend them

294. By Łukasz Zemczak

Releasing 0.4.4+15.04.20150121~rtm-0ubuntu1)

293. By Łukasz Zemczak

[ Gerry Boland ]
* Add Wakelock support - ensures device drops to deep-sleep mode only
  when all AppMan suspend tasks have completed (LP: #1309915)
[ Ricardo Mendoza ]
* Reduce suspend timeout to half of the previous value because the
  long value was too apparent on fast paced apps, like web games of
  music players; it broke the user experience according to design.
  (LP: #1402650)

292. By CI Train Bot Account

Releasing 0.4.4+15.04.20150120~rtm-0ubuntu1

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:qtmir
This branch contains Public information 
Everyone can see this information.

Subscribers