1738db31add0aea5a6a6f2c137ca6fc476a10237 |
|
30-Jan-2015 |
Puneet Lall <puneetl@google.com> |
Fix bug in counting open images Bug: 19156045 AndroidImageReaderProxy previously would return an instance of itself via onImageAvailable. This caused a problem because it bypassed the LoggingImageReaderProxy and CloseWhenDoneImageReaderProxy decorators. This change also includes additional minor fixes for potential issues, specifically, it also synchronizes access to each android.media.Image and ImageReader because they are not thread-safe. Change-Id: I0d76c07ae37b09cdec40f7d7789b49f7397fb414
/packages/apps/Camera2/src/com/android/camera/debug/Loggers.java
|