NotificationLight: Fix forced close on non voice capable devices

Change-Id: Ib2c1e7d22414cff3ce06936a75d9de342b32320f
Fix button brightness preview.

Change-Id: I2b0933062d443855114088e1bb4c09c68a83a0e5
Merge "NotificationLight: Fix forced close on non voice capable devices" into cm-10.2
Show or hide advanced settings if it is available

Change-Id: Ib5fa08e48f663a18c3273fbfa5bec5c1e3e7473b
Merge branch 'cyanogenmod' into cm-10.2
Merge remote-tracking branch 'sgt7/cm-10.2' into cm-10.2-sgt7