summaryrefslogtreecommitdiffstats
path: root/core/jni/android_hardware_UsbDevice.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-04-12 12:09:01 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-04-12 12:09:01 -0700
commitd3a6956a6d69d7399931c403cd31cb0236278fc6 (patch)
treefb16e2adb902eacccc408fff1fb14e52db722886 /core/jni/android_hardware_UsbDevice.cpp
parentb00be001602b84420e02d36d6e6481b22eab2aa3 (diff)
parentdd66bcbf9d6ef0c50a18d9c4b1b39ce7ef7afcc4 (diff)
downloadframeworks_base-d3a6956a6d69d7399931c403cd31cb0236278fc6.zip
frameworks_base-d3a6956a6d69d7399931c403cd31cb0236278fc6.tar.gz
frameworks_base-d3a6956a6d69d7399931c403cd31cb0236278fc6.tar.bz2
Merge "More native code cleanup."
Diffstat (limited to 'core/jni/android_hardware_UsbDevice.cpp')
-rw-r--r--core/jni/android_hardware_UsbDevice.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/jni/android_hardware_UsbDevice.cpp b/core/jni/android_hardware_UsbDevice.cpp
index c2950ea..25f901b 100644
--- a/core/jni/android_hardware_UsbDevice.cpp
+++ b/core/jni/android_hardware_UsbDevice.cpp
@@ -54,13 +54,6 @@ static JNINativeMethod method_table[] = {
int register_android_hardware_UsbDevice(JNIEnv *env)
{
- jclass clazz = env->FindClass("android/hardware/usb/UsbDevice");
- if (clazz == NULL) {
- LOGE("Can't find android/hardware/usb/UsbDevice");
- return -1;
- }
-
return AndroidRuntime::registerNativeMethods(env, "android/hardware/usb/UsbDevice",
method_table, NELEM(method_table));
}
-