Skip to content

Commit

Permalink
droid2: Fix Torch config
Browse files Browse the repository at this point in the history
Change-Id: I4b27eff1708d8cc48f657c034f9d9c8d8caabe8f
  • Loading branch information
dmorgan81 committed Nov 9, 2011
1 parent 5069fc5 commit 95eb324
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions overlay/packages/apps/Torch/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- If there is no sysfs-based control mechanism, enable this -->
<bool name="useCameraInterface">false</bool>

<!-- Full path to the sysfs toggle -->
<string name="flashDevice">/sys/class/leds/cam-torch/brightness</string>
<string name="flashDevice">/sys/class/leds/torch-flash/flash_light</string>

<!-- Lowest setting -->
<integer name="valueOn">100</integer>
<integer name="valueOn">50</integer>
<!-- Middle setting -->
<integer name="valueHigh">175</integer>
<integer name="valueHigh">128</integer>
<!-- Highest setting, leave -1 if it doesn't exist -->
<integer name="valueDeathRay">255</integer>

Expand Down

0 comments on commit 95eb324

Please sign in to comment.