From 8cd7c534e80e1cdabd5b7a0f92f5afbc9274124c Mon Sep 17 00:00:00 2001 From: HeyItsJono Date: Tue, 15 Oct 2024 03:45:51 +1100 Subject: [PATCH] Surfaceflinger restart & Action script. --- CHANGELOG.md | 5 +++++ action.sh | 7 +++++++ service.sh | 5 +++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 action.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 07a2957..a097828 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +### Version 3 + +* Add code to restart surfaceflinger after final prop applied; this actually allows the blur to show +* Add Action script to re-run late_start code on-demand; turn off `disable_blurs` & restart surfaceflinger + ### Version 2 * Fix workflow diff --git a/action.sh b/action.sh new file mode 100644 index 0000000..70ec715 --- /dev/null +++ b/action.sh @@ -0,0 +1,7 @@ +#!/system/bin/sh + +# Action script to disable disable_blurs and restart surfaceflinger on demand. +# Necessary on Pixel 5 to allow blurs to work + +resetprop persist.sys.sf.disable_blurs 0 +killall surfaceflinger \ No newline at end of file diff --git a/service.sh b/service.sh index 754d9e5..233b1f7 100644 --- a/service.sh +++ b/service.sh @@ -1,6 +1,7 @@ #!/system/bin/sh -# late_start service script to disable disable_blurs +# late_start service script to disable disable_blurs and restart surfaceflinger. # Necessary on Pixel 5 to allow blurs to work -resetprop persist.sys.sf.disable_blurs 0 \ No newline at end of file +resetprop persist.sys.sf.disable_blurs 0 +killall surfaceflinger \ No newline at end of file