am 827909fc: Merge "Frameworks/base: Wall Werror in drm"
* commit '827909fca34fc144a058ca91cd909bd4265774d0': Frameworks/base: Wall Werror in drm
This commit is contained in:
@@ -39,8 +39,8 @@ LOCAL_C_INCLUDES += \
|
|||||||
$(TOP)/frameworks/av/include \
|
$(TOP)/frameworks/av/include \
|
||||||
$(TOP)/libcore/include
|
$(TOP)/libcore/include
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
|
||||||
|
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|||||||
@@ -381,7 +381,8 @@ static jobjectArray android_drm_DrmManagerClient_getAllSupportInfo(
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void android_drm_DrmManagerClient_installDrmEngine(
|
static void android_drm_DrmManagerClient_installDrmEngine(
|
||||||
JNIEnv* env, jobject thiz, jint uniqueId, jstring engineFilePath) {
|
JNIEnv* /* env */, jobject /* thiz */, jint /* uniqueId */,
|
||||||
|
jstring /* engineFilePath */) {
|
||||||
ALOGV("installDrmEngine - Enter");
|
ALOGV("installDrmEngine - Enter");
|
||||||
//getDrmManagerClient(env, thiz)
|
//getDrmManagerClient(env, thiz)
|
||||||
// ->installDrmEngine(uniqueId, Utility::getStringValue(env, engineFilePath));
|
// ->installDrmEngine(uniqueId, Utility::getStringValue(env, engineFilePath));
|
||||||
@@ -776,7 +777,7 @@ static int registerNativeMethods(JNIEnv* env) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
jint JNI_OnLoad(JavaVM* vm, void* reserved) {
|
jint JNI_OnLoad(JavaVM* vm, void* /* reserved */) {
|
||||||
JNIEnv* env = NULL;
|
JNIEnv* env = NULL;
|
||||||
jint result = -1;
|
jint result = -1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user