diff options
-rw-r--r-- | services/core/java/com/android/server/lights/LightsService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/lights/LightsService.java b/services/core/java/com/android/server/lights/LightsService.java index c4f8441a995b..2a8a895e675a 100644 --- a/services/core/java/com/android/server/lights/LightsService.java +++ b/services/core/java/com/android/server/lights/LightsService.java @@ -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 { |