summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/Layer.cpp
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-10-07 21:09:49 -0400
committer Android (Google) Code Review <android-gerrit@google.com> 2009-10-07 21:09:49 -0400
commitc3f90813a15d8ff97e04e5ae0873c2261214224d (patch)
tree34f06f869976fb6da874ffd36e75058f15e2db02 /libs/surfaceflinger/Layer.cpp
parent11590bbe1c12af8ba7bf6bc0d3883efcf15dbac1 (diff)
parent8f2d50521653f24c2a5e77b627dc015c7fbd656a (diff)
Merge change I46b2df15 into eclair
* changes: fix [2164183] sometimes device just wants to stay asleep
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
-rw-r--r--libs/surfaceflinger/Layer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp
index 2a3e6677e7..7fd5434d05 100644
--- a/libs/surfaceflinger/Layer.cpp
+++ b/libs/surfaceflinger/Layer.cpp
@@ -454,10 +454,10 @@ void Layer::lockPageFlip(bool& recomputeVisibleRegions)
// recompute visible region
recomputeVisibleRegions = true;
-
- // we now have the correct size, unfreeze the screen
- mFreezeLock.clear();
}
+
+ // we now have the correct size, unfreeze the screen
+ mFreezeLock.clear();
}
if (lcblk->getQueuedCount()) {