summaryrefslogtreecommitdiffstats
path: root/services/jni
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-08-02 21:29:54 -0700
committerMathias Agopian <mathias@google.com>2012-08-02 21:29:54 -0700
commit893a0e71a73cf9dddd571ab2a786a0e18c8fee38 (patch)
tree2feca3371656a32c63139596c4da88c36e23aaab /services/jni
parent1ae49ab8655baeb0ddf1944d0a66cd598122408a (diff)
downloadframeworks_base-893a0e71a73cf9dddd571ab2a786a0e18c8fee38.zip
frameworks_base-893a0e71a73cf9dddd571ab2a786a0e18c8fee38.tar.gz
frameworks_base-893a0e71a73cf9dddd571ab2a786a0e18c8fee38.tar.bz2
screen-off animation won't be handled by SF anymore
Change-Id: I66ad02b07b1148c1610e9c29ba80450d49c22806
Diffstat (limited to 'services/jni')
-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 acce97e..8307d25 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) {