diff options
author | Mathias Agopian <mathias@google.com> | 2010-12-03 17:33:09 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-12-03 17:33:09 -0800 |
commit | e869aee382cfe01d42dffba4912458a16bb791fb (patch) | |
tree | 4ad59036b474196ca5033fada6604ebde97b7997 /libs/ui/GraphicBuffer.cpp | |
parent | e2abd103a2d311738ff1dd1e1d9b8e6c52aa870c (diff) | |
download | frameworks_base-e869aee382cfe01d42dffba4912458a16bb791fb.zip frameworks_base-e869aee382cfe01d42dffba4912458a16bb791fb.tar.gz frameworks_base-e869aee382cfe01d42dffba4912458a16bb791fb.tar.bz2 |
[3171580] don't automatically log GraphicBuffer allocation failures
some of these failures are not fatal and even expected in some cases
so they should not emit a dump in the log in those cases.
Change-Id: Idcfa252e3bfa9d74e27fe4ad8f8623aa01aa9c5e
Diffstat (limited to 'libs/ui/GraphicBuffer.cpp')
-rw-r--r-- | libs/ui/GraphicBuffer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ui/GraphicBuffer.cpp b/libs/ui/GraphicBuffer.cpp index 519c277..828a988 100644 --- a/libs/ui/GraphicBuffer.cpp +++ b/libs/ui/GraphicBuffer.cpp @@ -99,6 +99,11 @@ status_t GraphicBuffer::initCheck() const { return mInitCheck; } +void GraphicBuffer::dumpAllocationsToSystemLog() +{ + GraphicBufferAllocator::dumpToSystemLog(); +} + android_native_buffer_t* GraphicBuffer::getNativeBuffer() const { return static_cast<android_native_buffer_t*>( |