Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cef20e4e authored by Sam Mortimer's avatar Sam Mortimer
Browse files

lineage-sdk internal: Add LightsCapabilities

*) Moved lights capabilities from frameworks/base
   NotificationManager to the lineage-sdk.

*) Add device has a battery light LIGHTS_BATTERY_LED capability.

Adapted from the original frameworks/base commits:

   Author: Ricardo Cerqueira <android@cerqueira.org>
   Date:   Thu Nov 10 12:15:00 2016 +0000

       NotificationManager: Concentrate LED light capabilities in a single location

       We have a bunch of individual boolean toggles for various LED behaviors
       and combinations, which end up getting used as a similarly sprawling bunch
       of getResource() calls across various locations. And they keep piling up...

       So... create a new overlayable bit field of LED capabilities,
       config_deviceLightCapabilities, where we can throw everything
       and expand in the future. Remove the obsolete overlays so that
       everyone uses the new overlay moving forward.

       Change-Id: I7d627914b058861048071fc15776031c4152157f

   Author: Adrian DC <radian.dc@gmail.com>
   Date:   Sat Oct 14 23:08:47 2017 +0200

       fw: Rebrand to LineageOS and cleanup for Android Oreo

       Change-Id: If7468759925d1636adad1c253d68b5adbc6dfb26

Change-Id: Ib14badcc0a2ad165610dd7d0e90388170e1cd548
parent 814a9f5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment