From d81ee62349fc40c82200803077b7a9550d44fe19 Mon Sep 17 00:00:00 2001 From: bohu Date: Thu, 7 Apr 2016 15:51:14 -0700 Subject: Emulator: Fix camera crash Because the camera runs a thread without giving it a name. bug: 28074344 Change-Id: I85fd0d0786e82305d6615e7f50b7394785e96df7 --- camera/EmulatedCameraDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camera/EmulatedCameraDevice.h b/camera/EmulatedCameraDevice.h index ee9f7dd..fff11fa 100755 --- a/camera/EmulatedCameraDevice.h +++ b/camera/EmulatedCameraDevice.h @@ -396,7 +396,7 @@ protected: inline status_t startThread(bool one_burst) { mOneBurst = one_burst; - return run(NULL, ANDROID_PRIORITY_URGENT_DISPLAY, 0); + return run("Camera_startThread", ANDROID_PRIORITY_URGENT_DISPLAY, 0); } /* Overriden base class method. -- cgit v1.2.3