From c279339ab927e2bdb77aa42973ef3e320c025364 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Thu, 6 Feb 2020 23:02:18 +0800 Subject: sdm660-common: Improve lights HAL * Use libbase logging and file utils * Read max brightness from sysfs * Convert constants to constexpr * Move helper functions to anonymous namespace * Bug fixes * Remove redundant chmod * Start the service after permissions are set up because it reads max brightness in constructor. Change-Id: I145d393c785e182060c5651e796d489f8c4d697b [SQUASHME] Let's dejank paths a bit... Change-Id: Ifd3d05588b0271e7a361aa4c7374a91fe5639a1f --- .clang-format | 1 + 1 file changed, 1 insertion(+) create mode 120000 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 120000 index 0000000..973b2fa --- /dev/null +++ b/.clang-format @@ -0,0 +1 @@ +../../../build/soong/scripts/system-clang-format \ No newline at end of file -- cgit v1.2.3