diff options
| author | Michael Bestas <mikeioannina@gmail.com> | 2014-09-06 14:42:18 +0000 |
|---|---|---|
| committer | Michael Bestas <mikeioannina@gmail.com> | 2014-09-06 14:42:21 +0000 |
| commit | 268b34d7b11da1d1c8d7ca7c808f41ce51c0ff45 (patch) | |
| tree | 0578dffa10c2d672593e61ff1ee74cbfd907f8ff | |
| parent | 9854f116ab16ba2b2f63591a9f9b616aa4b4c5c0 (diff) | |
Revert "Revert "find7: Use camera interface for torch""
* This breaks find7a Torch
This reverts commit 91ff0024fc79bda90865f8291abbfe24670b876b.
Change-Id: I788cb51bc0563b981a8f246031f2f0e23e68f79d
| -rw-r--r-- | overlay/packages/apps/Torch/res/values/config.xml | 4 | ||||
| -rw-r--r-- | rootdir/etc/init.qcom.rc | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/overlay/packages/apps/Torch/res/values/config.xml b/overlay/packages/apps/Torch/res/values/config.xml index 5488bfd..86eded7 100644 --- a/overlay/packages/apps/Torch/res/values/config.xml +++ b/overlay/packages/apps/Torch/res/values/config.xml @@ -20,7 +20,5 @@ <!-- These resources are around just to allow their values to be customized for different hardware and product builds. --> <resources> - <bool name="useCameraInterface">false</bool> - <string name="flashDevice">/sys/class/leds/torch-light/brightness</string> - <integer name="valueOn">1</integer> + <bool name="useCameraInterface">true</bool> </resources> diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 066a773..bd593a8 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -56,8 +56,8 @@ on boot on post-fs-data # Torch - chown system camera /sys/class/leds/torch-light/brightness - chmod 0660 /sys/class/leds/torch-light/brightness + chown system camera /sys/devices/qcom,camera-led-flash.81/test + chmod 0660 /sys/devices/qcom,camera-led-flash.81/test service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/sdcard0 /storage/sdcard0 class late_start |
