summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src_wrapper/org/codeaurora/snapcam/wrapper/Wrapper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src_wrapper/org/codeaurora/snapcam/wrapper/Wrapper.java b/src_wrapper/org/codeaurora/snapcam/wrapper/Wrapper.java
index f20bcf5..0824ced 100644
--- a/src_wrapper/org/codeaurora/snapcam/wrapper/Wrapper.java
+++ b/src_wrapper/org/codeaurora/snapcam/wrapper/Wrapper.java
@@ -48,7 +48,7 @@ public class Wrapper{
try {
value = (int) field.get(null);
}catch (Exception exception){
- exception.printStackTrace();
+ if (DEBUG) exception.printStackTrace();
}
}
return value;
@@ -60,7 +60,7 @@ public class Wrapper{
try {
value = (String) field.get(null);
}catch (Exception exception){
- exception.printStackTrace();
+ if (DEBUG) exception.printStackTrace();
}
}
return value;
@@ -77,7 +77,7 @@ public class Wrapper{
field = classInstance.getField(name);
Log.d(TAG, "getField:" + classInstance + " " + name);
}catch (Exception exception){
- exception.printStackTrace();
+ if (DEBUG) exception.printStackTrace();
}
return field;
}