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:
76dd2a7
)
Remove error when trying to get a global buffer that doesn't exist
author
Hendrik Wagenaar
<hendrikw@google.com>
Wed, 31 May 2017 22:04:04 +0000
(15:04 -0700)
committer
Hendrik Wagenaar
<hendrikw@google.com>
Wed, 31 May 2017 22:04:04 +0000
(15:04 -0700)
* Calling Get on a missing buffer isn't system error,
The error should be handled by the caller
Bug: None
Test: None
Change-Id: I0a49a4d104e9db025f4cfd213182f565d141bbf8
libs/vr/libdvr/dvr_surface.cpp
patch
|
blob
|
history
diff --git
a/libs/vr/libdvr/dvr_surface.cpp
b/libs/vr/libdvr/dvr_surface.cpp
index
2affacd
..
0f4749d
100644
(file)
--- a/
libs/vr/libdvr/dvr_surface.cpp
+++ b/
libs/vr/libdvr/dvr_surface.cpp
@@
-171,8
+171,6
@@
int dvrGetGlobalBuffer(DvrGlobalBufferKey key, DvrBuffer** out_buffer) {
auto status = client->GetGlobalBuffer(key);
if (!status) {
- ALOGE("dvrGetGlobalBuffer: Failed to find named buffer key=%d: %s", key,
- status.GetErrorMessage().c_str());
return -status.error();
}
*out_buffer = CreateDvrBufferFromIonBuffer(status.take());