LOCAL_SRC_FILES:= \
Client.cpp \
- DdmConnection.cpp \
DisplayDevice.cpp \
EventThread.cpp \
Layer.cpp \
# uses jni which may not be available in PDK
ifneq ($(wildcard libnativehelper/include),)
include $(CLEAR_VARS)
+LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
+
LOCAL_SRC_FILES:= \
DdmConnection.cpp
startClass = env->FindClass("android/ddm/DdmHandleAppName");
if (startClass) {
startMeth = env->GetStaticMethodID(startClass,
- "setAppName", "(Ljava/lang/String;)V");
+ "setAppName", "(Ljava/lang/String;I)V");
if (startMeth) {
jstring str = env->NewStringUTF(name);
- env->CallStaticVoidMethod(startClass, startMeth, str);
+ env->CallStaticVoidMethod(startClass, startMeth, str, getuid());
env->DeleteLocalRef(str);
}
}