• Max Weffers's avatar
    sdm660-common: Improve lights HAL · 92f5851a
    Max Weffers authored
     * 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
    92f5851a