Merge pull request #697 from zacikpa/ppd-fix-adding-hold
tuned-ppd: Use effective hold profile when adding profile holds
This commit is contained in:
commit
fb1814fe7e
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ class ProfileHoldManager(object):
|
|||
log.info("Adding hold '%s': profile '%s' by application '%s'" % (cookie, profile, app_id))
|
||||
self._holds[cookie] = ProfileHold(profile, reason, app_id, watch)
|
||||
exports.property_changed("ActiveProfileHolds", self.as_dbus_array())
|
||||
self._controller.switch_profile(profile)
|
||||
self._controller.switch_profile(self._effective_hold_profile())
|
||||
return cookie
|
||||
|
||||
def has(self, cookie):
|
||||
|
|
|
|||
Loading…
Reference in a new issue