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

Commit 350b8f76 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

am: f19765cd

Change-Id: I8691c37721018f8717746c88d3e2bb5a5dd76de7
parents 94908ce5 f19765cd
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