Skip to content

Commit 187019c

Browse files
pixelflingerAndroid (Google) Code Review
authored andcommitted
Merge "screen-off animation won't be handled by SF anymore" into jb-mr1-dev
2 parents fbe963f + 893a0e7 commit 187019c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/jni/com_android_server_power_PowerManagerService.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ static void nativeSetPowerState(JNIEnv* env,
145145

146146
static void nativeStartSurfaceFlingerAnimation(JNIEnv* env,
147147
jobject obj, jint mode) {
148-
sp<ISurfaceComposer> s(ComposerService::getComposerService());
149-
s->turnElectronBeamOff(mode);
148+
// this is not handled by surfaceflinger anymore
150149
}
151150

152151
static void nativeAcquireWakeLock(JNIEnv *env, jobject clazz, jint lock, jstring idObj) {

0 commit comments

Comments
 (0)