Merge lp:~mterry/qtmir/fix-wakelocks into lp:qtmir
| Status: | Superseded | ||||
|---|---|---|---|---|---|
| Proposed branch: | lp:~mterry/qtmir/fix-wakelocks | ||||
| Merge into: | lp:qtmir | ||||
| Diff against target: |
351 lines (+160/-6) 8 files modified
CMakeLists.txt (+1/-1) debian/control (+2/-2) src/modules/Unity/Application/application.cpp (+39/-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 |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-12-03 | |
| Daniel d'Andrada | 2015-12-03 | Pending | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2015-12-03.
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:/
- 425. By Michael Terry on 2015-12-03
-
Merge from surfaceItemFillMode
| Daniel d'Andrada (dandrader) wrote : | # |
In Application:
"""
case InternalState:
break;
"""
could be simply:
"""
case InternalState:
"""
as the next case does the same.
- 426. By Michael Terry on 2015-12-03
-
Collapse a switch statement

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://