f7a80d935f2e40383237ad4c163b85047f95dc9c |
|
09-Apr-2014 |
Alan Newberger <alann@google.com> |
Add logging override helper This CL removes compile-time log suppression with a runtim override. With a runtime override we can custom configure logging with a single level, not quite as flexible as a boolean per level but should suit our needs. Compile-time log pruning could be done with proguard if desired. Bug: 13737123 Change-Id: I8bdcaca44b4dc5c7eab8ef2f74e5181bcacd2727
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/Log.java
|
b52fe84c71ddcf1313c4112393bb4936442d9f13 |
|
08-Apr-2014 |
Alan Newberger <alann@google.com> |
Replace isDebugging compiletime logging override with runtime property This CL accomplishes the same goal as the compile-time isDebuggable, with a runtime property check. This is useful so that we opt in to logging everything at a given level with one setprop line. Note that either with this new runtime property or with isDebuggable, the Log proxy wouldn't log if a particular Configuration value is false, since that level is instead routed to SILENT_LOGGER. Bug: 13737123 Change-Id: I78ce629620f420a08a2cc013865847674941fb9b
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/Log.java
|
102540727e51003c352e82349c339929a0c4be7e |
|
29-Mar-2014 |
Sascha Haeberling <haeberling@google.com> |
If debug is on, log everything. Change-Id: I706874c9ea1b03c2fd9f987cda9581f72883c914
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/Log.java
|
b35ea0d2d494ba7668b0183dfc906cde0708bc55 |
|
12-Mar-2014 |
Angus Kong <shkong@google.com> |
Use debug.Log instead of android.util.Log. see http://ag/438423, merge conflicts solved. 1. Change to use com.android.camera.debug.Log instead of android.util.Log. 2. Add DebugCameraProxy to support more detailed debug info. 3. Add CameraErrorCallback in CameraManager. 4. Support posting to a specific handler for CameraErrorCallback. 5. Trim down some TAGs to match the framework tag length limit. 6. Remove some unused codes in CameraSettings. bug:13324870 Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb Conflicts: src/com/android/camera/data/LocalMediaData.java src/com/android/camera/data/RotationTask.java src/com/android/camera/widget/FilmstripView.java
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/debug/Log.java
|