summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/jni/com_android_server_power_PowerManagerService.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/jni/com_android_server_power_PowerManagerService.cpp b/services/jni/com_android_server_power_PowerManagerService.cpp
index acce97ea61ff..8307d258ebed 100644
--- a/services/jni/com_android_server_power_PowerManagerService.cpp
+++ b/services/jni/com_android_server_power_PowerManagerService.cpp
@@ -145,8 +145,7 @@ static void nativeSetPowerState(JNIEnv* env,
static void nativeStartSurfaceFlingerAnimation(JNIEnv* env,
jobject obj, jint mode) {
- sp<ISurfaceComposer> s(ComposerService::getComposerService());
- s->turnElectronBeamOff(mode);
+ // this is not handled by surfaceflinger anymore
}
static void nativeAcquireWakeLock(JNIEnv *env, jobject clazz, jint lock, jstring idObj) {