Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e80d134 authored by Namit Solanki's avatar Namit Solanki Committed by Arne Coucheron
Browse files

surfaceflinger: Increase SurfaceFlinger dump buffer size to 16k.

- Increase the SurfaceFlinger dump buffer size from 4k to 16k
bytes to avoid buffer overflow.

Change-Id: I89008f9c3f765b3db16d41dc40d5a0e79c56a737
parent fd8accb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1333,7 +1333,7 @@ void HWComposer::dump(String8& result) const {
    }

    if (mHwc && mHwc->dump) {
        const size_t SIZE = 4096;
        const size_t SIZE = 16*1024;
        char buffer[SIZE];
        mHwc->dump(mHwc, buffer, SIZE);
        result.append(buffer);