Merge lp:~mterry/qtmir/fix-wakelocks into lp:qtmir
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~mterry/qtmir/fix-wakelocks | ||||
Merge into: | lp:qtmir | ||||
Prerequisite: | lp:~dandrader/qtmir/surfaceItemFillMode | ||||
Diff against target: |
314 lines (+155/-3) 6 files modified
src/modules/Unity/Application/application.cpp (+37/-2) src/modules/Unity/Application/application.h (+4/-0) src/modules/Unity/Application/application_manager.cpp (+2/-0) src/modules/Unity/Application/application_manager.h (+1/-1) tests/modules/ApplicationManager/application_manager_test.cpp (+108/-0) tests/modules/common/qtmir_test.cpp (+3/-0) |
||||
To merge this branch: | bzr merge lp:~mterry/qtmir/fix-wakelocks | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel d'Andrada (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Review via email: mp+279500@code.launchpad.net |
This proposal supersedes a proposal from 2015-12-03.
This proposal has been superseded by a proposal from 2015-12-07.
Commit message
Don't hold a wakelock on apps that are exempt from lifecycle management.
This supports the new exemptFromLifecycle flag for applications as well as bringing back the internal RunningInBackground state.
The tests were revived from the same branch that removed them when we removed RunningInBackground (revision 400)
Description of the change
Don't hold a wakelock on apps that are exempt from lifecycle management.
This supports the new exemptFromLifecycle flag for applications as well as bringing back the internal RunningInBackground state.
The tests were revived from the same branch that removed them when we removed RunningInBackground [1] (and in hindsight, I should have thought harder about the implications of simply removing a test that confirmed we were releasing wakelocks).
This branch is related to unity-api [2] and unity8 [3] MPS. All of which are in service of fixing bug 1518764.
[1] https:/
[2]https:/
[3] https:/
FAILED: Continuous integration, rev:424 jenkins. qa.ubuntu. com/job/ qtmir-ci/ 593/ jenkins. qa.ubuntu. com/job/ qtmir-vivid- amd64-ci/ 289/console jenkins. qa.ubuntu. com/job/ qtmir-vivid- armhf-ci/ 289/console jenkins. qa.ubuntu. com/job/ qtmir-vivid- i386-ci/ 171/console jenkins. qa.ubuntu. com/job/ qtmir-wily- amd64-ci/ 326/console jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 326/console jenkins. qa.ubuntu. com/job/ qtmir-wily- i386-ci/ 171/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtmir- ci/593/ rebuild
http://