Fix Log.wtf didn't exist on earlier Android versiosn.

This commit is contained in:
Guillaume Beraudo 2011-06-06 15:04:16 +02:00
parent 8a195fc793
commit 2e53815552

View file

@ -134,7 +134,7 @@ public final class Hacks {
try {
nb = (Integer) Camera.class.getMethod("getNumberOfCameras", (Class[])null).invoke(null);
} catch (Exception e) {
Log.wtf(Version.TAG, "Error getting number of cameras");
Log.e(Version.TAG, "Error getting number of cameras");
}
return nb > 0;
}