768afc3cbe
Also there is a mismatch between framework which expects property to be false/true and treble app setting it to 0/1
55 lines
2.1 KiB
Plaintext
55 lines
2.1 KiB
Plaintext
on post-fs
|
|
exec - root -- /system/bin/vndk-detect
|
|
exec - root -- /system/bin/rw-system.sh
|
|
mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind
|
|
setprop ro.vndk.version ${persist.sys.vndk}
|
|
export LD_PRELOAD :
|
|
|
|
on property:vold.decrypt=trigger_restart_framework
|
|
exec - root -- /system/bin/phh-on-data.sh
|
|
|
|
on early-boot
|
|
exec - root -- /system/bin/phh-on-data.sh
|
|
|
|
service phh_on_boot /system/bin/phh-on-boot.sh
|
|
oneshot
|
|
disabled
|
|
|
|
on property:sys.boot_completed=1
|
|
start phh_on_boot
|
|
chown wifi system /data/misc/wifi
|
|
chown system wifi /data/misc/wifi/hostapd.conf
|
|
|
|
on property:persist.sys.phh.mainkeys=*
|
|
setprop qemu.hw.mainkeys ${persist.sys.phh.mainkeys}
|
|
|
|
on property:persist.sys.phh.oppo.dt2w=*
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.oppo.dt2w"
|
|
|
|
on property:persist.sys.phh.oppo.gaming_mode=*
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.oppo.gaming_mode"
|
|
|
|
on property:persist.sys.phh.oppo.usbotg=*
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.oppo.usbotg"
|
|
|
|
on property:persist.sys.phh.xiaomi.dt2w=*
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.xiaomi.dt2w"
|
|
|
|
on property:persist.sys.phh.disable_audio_effects=*
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.disable_audio_effects"
|
|
|
|
on property:persist.sys.phh.caf.audio_policy=*
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.caf.audio_policy"
|
|
|
|
on property:persist.sys.phh.vsmart.dt2w=*
|
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.vsmart.dt2w"
|
|
|
|
on property:persist.sys.phh.disable_a2dp_offload=0
|
|
setprop persist.sys.phh.disable_a2dp_offload false
|
|
|
|
on property:persist.sys.phh.disable_a2dp_offload=1
|
|
setprop persist.sys.phh.disable_a2dp_offload true
|
|
|
|
on property:persist.sys.phh.disable_a2dp_offload=*
|
|
setprop persist.bluetooth.bluetooth_audio_hal.disabled ${persist.sys.phh.disable_a2dp_offload}
|