• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Panther specific init.rc
2import /vendor/etc/init/hw/init.gs201.rc
3import /vendor/etc/init/hw/init.pantah.rc
4
5on property:vendor.device.modules.ready=1
6    # Start the twoshay touch service
7    start twoshay
8
9# Toggle glove_mode according to touch_sensitivity_mode
10on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
11    write /proc/focaltech_touch/high_sensitivity 0
12
13on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
14    write /proc/focaltech_touch/high_sensitivity 1
15
16# For Japan sku, always enforce camera shutter sound
17# Since this property is read by the audio server in system service,
18# it should be written by the system init.
19on property:ro.boot.hardware.sku=G03Z5
20    setprop audio.camerasound.force true
21