1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 02:43:24 +03:00
mobile-nixos/modules/quirks/qualcomm/msm-fb-refresher-task.rb
2020-02-03 16:19:10 -05:00

13 lines
297 B
Ruby

class Tasks::MSMFBRefresher < SingletonTask
def initialize()
Targets[:Graphics].add_dependency(:Task, self)
add_dependency(:Task, Tasks::Graphics.instance)
end
def run()
@pid = System.spawn("msm-fb-refresher", "--loop")
end
# FIXME: cleanup when cleanup is implemented
end