summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2016-04-07 15:51:14 -0700
committerBo Hu <bohu@google.com>2016-04-07 22:56:24 +0000
commitd81ee62349fc40c82200803077b7a9550d44fe19 (patch)
tree701d34de578f1879ed034e85f2cfe1f2a7c6afb9
parent6f054128fe33fd98d929c43aa4b8d8af630f73ad (diff)
downloadandroid_device_generic_goldfish-d81ee62349fc40c82200803077b7a9550d44fe19.tar.gz
android_device_generic_goldfish-d81ee62349fc40c82200803077b7a9550d44fe19.tar.bz2
android_device_generic_goldfish-d81ee62349fc40c82200803077b7a9550d44fe19.zip
Emulator: Fix camera crash
Because the camera runs a thread without giving it a name. bug: 28074344 Change-Id: I85fd0d0786e82305d6615e7f50b7394785e96df7
-rwxr-xr-xcamera/EmulatedCameraDevice.h2
1 files changed, 1 insertions, 1 deletions
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.