Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f19765cd authored by Daniel Solomon's avatar Daniel Solomon Committed by android-build-merger
Browse files

Merge "graphics: restart HWC when SurfaceFlinger stops" into pi-dev

am: 31857339

Change-Id: I62951c2ed49f66a6da3cb2f445142ee633ce1483
parents fd7f7a79 31857339
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -3,5 +3,9 @@ service vendor.hwcomposer-2-1 /vendor/bin/hw/android.hardware.graphics.composer@
    user system
    group graphics drmrpc
    capabilities SYS_NICE
    onrestart restart surfaceflinger
    writepid /dev/cpuset/system-background/tasks

# Restart HWC when SurfaceFlinger stops. This turns off the display and prpares
# a new HWC instance for when SurfaceFlinger gets started again
on property:init.svc.surfaceflinger=stopped
    restart vendor.hwcomposer-2-1