Fix Log.wtf didn't exist on earlier Android versiosn.
This commit is contained in:
parent
8a195fc793
commit
2e53815552
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue