1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00
mobile-nixos/modules/quirks/msm-fb-refresher-task.rb
Samuel Dionne-Riel a1430b3ab8 quirks: qualcomm.msm-fb-refresher -> fb-refresher
It has been found that it may be useful on non-Qualcomm platforms.
2020-06-28 23:54:14 -04: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