Merge "storage: turn off pixel storage debugging code on user builds" into udc-qpr-dev
This commit is contained in:
commit
103ffb749e
3 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@ package {
|
|||
sh_binary {
|
||||
name: "dump_storage.sh",
|
||||
src: "dump_storage.sh",
|
||||
init_rc: ["init.storage.rc"],
|
||||
vendor: true,
|
||||
sub_dir: "dump",
|
||||
}
|
||||
|
|
2
storage/init.storage.rc
Normal file
2
storage/init.storage.rc
Normal file
|
@ -0,0 +1,2 @@
|
|||
on property:ro.build.type=userdebug
|
||||
write /dev/sys/block/bootdevice/pixel/enable_pixel_ufs_logging 1
|
|
@ -1 +1,2 @@
|
|||
/vendor/bin/dump/dump_storage\.sh u:object_r:dump_storage_exec:s0
|
||||
/sys/devices/platform/[0-9]+\.ufs/pixel/enable_pixel_ufs_logging u:object_r:sysfs_scsi_devices_0000:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue