lights: We have only single color led.

Also add additional steps to duty cycle to make notif light fade
smoother.
Also detect maximum brightness dynamically
This commit is contained in:
Vasishath Kaushal 2018-06-06 21:35:05 +05:30
parent b9eb4bc24c
commit abcab1e2cd
5 changed files with 51 additions and 50 deletions

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#define LOG_TAG "android.hardware.light@2.0-service.xiaomi_msm8998"
#define LOG_TAG "android.hardware.light@2.0-service.xiaomi_sdm660"
#include <hidl/HidlTransportSupport.h>
@ -31,7 +31,7 @@ using android::sp;
using android::status_t;
int main() {
sp<ILight> service = new Light();
android::sp<ILight> service = new Light();
configureRpcThreadpool(1, true);