Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

anzu: disabled light sensor untill proper fix

  • Loading branch information...
commit 2b7383f75880d33bf577ba5a3c4fd1d313768711 1 parent 3d8f77a
jerpelea authored May 22, 2012
4  overlay/frameworks/base/core/res/res/values/config.xml
@@ -23,6 +23,10 @@
23 23
 
24 24
     <bool name="config_animateScreenLights">false</bool>
25 25
 
  26
+    <!-- Flag indicating whether we should enable the automatic brightness in Settings.
  27
+         config_hardware_automatic_brightness_available is not set, so we will use software implementation -->
  28
+    <bool name="config_automatic_brightness_available">false</bool>
  29
+
26 30
     <!-- The duration (in milliseconds) that the radio will scan for a signal
27 31
     when there's no network connection. If the scan doesn't timeout, use zero -->
28 32
     <integer name="config_radioScanningTimeout">1</integer>
6  prebuilt/hw_config.sh
@@ -49,9 +49,9 @@ echo $val_filter > $dev/filter  # RFilter. Valid range is 0 - 3.
49 49
 
50 50
 # LMU AS3676 Configuration
51 51
 dev=/sys/devices/i2c-0/0-0040/leds
52  
-echo 2,127,1,130,130,2,2 > $dev/button-backlight/als/curve  # ALS curve for group2
53  
-echo 2,127,1,130,130,2,2 > $dev/keyboard-backlight/als/curve  # ALS curve for group2
54  
-echo 1,1,1,0 > $dev/lcd-backlight/als/params  #[gain],[filter_up],[filter_down],[offset]
  52
+echo 0,0,0,0,0,0,0 > $dev/button-backlight/als/curve  # ALS curve for group2
  53
+echo 0,0,0,0,0,0,0 > $dev/keyboard-backlight/als/curve  # ALS curve for group2
  54
+echo 0,0,0,0 > $dev/lcd-backlight/als/params  #[gain],[filter_up],[filter_down],[offset]
55 55
 echo 0 > $dev/lcd-backlight/als/enable  #Sensor on/off. 1 = on, reg 90h
56 56
 echo 0 > $dev/button-backlight-rgb1/als/enable  #Sensor on/off. 1 = on, reg 90h
57 57
 echo 0 > $dev/button-backlight-rgb2/als/enable  #Sensor on/off. 1 = on, reg 90h

Git Notes

review

Change-Id: I2b7383f75880d33bf577ba5a3c4fd1d313768711
Code-Review+2: Jerpelea <jerpelea@gmail.com>
Verified+1: Jerpelea <jerpelea@gmail.com>
Submitted-by: Jerpelea <jerpelea@gmail.com>
Submitted-at: Tue, 22 May 2012 20:52:30 +0400
Reviewed-on: http://review.cyanogenmod.com/16452
Project: CyanogenMod/android_device_semc_iyokan
Branch: refs/heads/gingerbread

0 notes on commit 2b7383f

Please sign in to comment.
Something went wrong with that request. Please try again.