Disable Automatic brightness checkbox if automatic brightness is not available

port from jellybean branch: http://review.cyanogenmod.org/#/c/26134/

Change-Id: Ib32b9af5f79d5c5f7383dd5542891a82a17f3989
Settings: Custom lock screen background [2/2]

Patch Set 1:    * port the custom lock screen feature from
                  ics (http://review.cyanogenmod.org/#/c/16914)

Patch Set 2:    * rename some strings
                * use constants instead of numbers
                * fix some code styling issues

Patch Set 3:    * code cleanup

Patch Set 4:    * rebased

Patch Set 5-6:  * code cleanup

Patch Set 7:    * fix comment location

Change-Id: I35e5c70fff423770a03b5bb39d439ebea82dd56a
Fix the spacing between displayed rotation angles

Before: http://goo.gl/QJ7hE
After:  http://goo.gl/V0alW

My suggestion: http://goo.gl/Sn4R5

Patch Set 1:    * initial commit

Patch Set 2:    * simplify code
                * fix code style issues
                * rename/delete strings
                * remove 'Activated.' before the values
                  when Auto-rotate screen is activated

Patch Set 3:    * remove display rotation unit string
                  and use the degree sign after every
                  value

Patch Set 4:    * code cleanup

Change-Id: I0319f8e84e4b278b2f720cbc77cecc280c82d461
Merge "Disable Automatic brightness checkbox if automatic brightness is not available" into cm-10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_packages_apps_Settings into cm-10.1

Conflicts:
	res/xml/lockscreen_interface_settings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java