OSDN Git Service

Add SN logging
authorPablo Ceballos <pceballos@google.com>
Sat, 20 Feb 2016 19:26:13 +0000 (11:26 -0800)
committerPablo Ceballos <pceballos@google.com>
Sat, 20 Feb 2016 19:28:38 +0000 (19:28 +0000)
Bug 27046057

Change-Id: Iede7c92e59e60795df1ec7768ebafd6b090f1c27

libs/gui/BufferQueueConsumer.cpp

index 1f84750..d62eaf7 100644 (file)
@@ -529,6 +529,7 @@ void BufferQueueConsumer::dump(String8& result, const char* prefix) const {
             "android.permission.DUMP"), pid, uid)) {
         result.appendFormat("Permission Denial: can't dump BufferQueueConsumer "
                 "from pid=%d, uid=%d\n", pid, uid);
+        android_errorWriteWithInfoLog(0x534e4554, "27046057", uid, NULL, 0);
     } else {
         mCore->dump(result, prefix);
     }