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

Commit 94386f5b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Use ILights.DESCRIPTOR to refer to AIDL HAL" am: 26b017aa am: 29016764 am: 8cb52df7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426850

Change-Id: Icb01023451a93ab4924b2d4ff0158d2e1517f6d0
parents 740099f6 8cb52df7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -555,8 +555,8 @@ public class LightsService extends SystemService {
        @Override
        public synchronized ILights get() {
            if (mInstance == null) {
                IBinder binder = Binder.allowBlocking(ServiceManager.waitForDeclaredService(
                        "android.hardware.light.ILights/default"));
                IBinder binder = Binder.allowBlocking(
                        ServiceManager.waitForDeclaredService(ILights.DESCRIPTOR + "/default"));
                if (binder != null) {
                    mInstance = ILights.Stub.asInterface(binder);
                    try {