Skip to content

Commit

Permalink
Surfaceflinger restart & Action script.
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyItsJono committed Oct 14, 2024
1 parent 3677e63 commit 8cd7c53
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions action.sh
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions service.sh
Original file line number Diff line number Diff line change
@@ -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
resetprop persist.sys.sf.disable_blurs 0
killall surfaceflinger

0 comments on commit 8cd7c53

Please sign in to comment.