Skip to content

Commit

Permalink
Merge "init.rc: change the ownership of gc segment info sysfs nodes" …
Browse files Browse the repository at this point in the history
…into tm-qpr-dev
  • Loading branch information
ChenChunSung authored and Android (Google) Code Review committed Jun 13, 2022
2 parents 017fafd + ab0a474 commit c1d944f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init.hardware.rc
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ on property:init.svc.vendor.charger=running
on property:sys.boot_completed=1
setprop vendor.setup.power 1

# Permission for Pixelstats
chown system system /dev/sys/fs/by-name/userdata/gc_segment_mode
chown system system /dev/sys/fs/by-name/userdata/gc_reclaimed_segments

# Back to default VM settings
write /proc/sys/vm/dirty_expire_centisecs 3000
write /proc/sys/vm/dirty_background_ratio 10
Expand Down

0 comments on commit c1d944f

Please sign in to comment.