OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691935b
)
SurfaceFlinger: Fix a typo.
author
Jamie Gennis
<jgennis@google.com>
Fri, 18 Mar 2011 23:35:13 +0000
(16:35 -0700)
committer
Jamie Gennis
<jgennis@google.com>
Fri, 18 Mar 2011 23:35:13 +0000
(16:35 -0700)
This change makes Layer skip its cleanup of its old shared memory region
when the UserClient object that owned the memory has been freed.
Bug:
3429357
Change-Id: I9e4d8eb190f6914dc043674b9bb8dd28e959901b
services/surfaceflinger/Layer.cpp
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/Layer.cpp
b/services/surfaceflinger/Layer.cpp
index
cd24478
..
517c335
100644
(file)
--- a/
services/surfaceflinger/Layer.cpp
+++ b/
services/surfaceflinger/Layer.cpp
@@
-809,7
+809,7
@@
status_t Layer::ClientRef::setToken(const sp<UserClient>& uc,
{ // scope for strong mUserClient reference
sp<UserClient> userClient(mUserClient.promote());
- if (
mU
serClient != 0 && mControlBlock != 0) {
+ if (
u
serClient != 0 && mControlBlock != 0) {
mControlBlock->setStatus(NO_INIT);
}
}