History log of /packages/apps/Camera2/src/com/android/camera/one/v2/LoggingImageReader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/one/v2/LoggingImageReader.java
1e123ea83881996b6c5ac3e29702050cc42d43ad 28-Jan-2015 Paul Rohde <codelogic@google.com> Convert Logger from a class to an interface.

This set of changes makes it easier to insert any Logger implementation into a method and to ask for instances during object creation so that objects that require logging and testing can be easily tested.

- Add Loggers for individual Logger types.
- Add static methods for existing TagLogger.
- Add NoOp logger implementation.

Change-Id: I30c03667c88214cff03521d0a1f6fa3b00851a68
/packages/apps/Camera2/src/com/android/camera/one/v2/LoggingImageReader.java
b8397360d318edf3093b20b2b102207d76730e1b 14-Jan-2015 Puneet Lall <puneetl@google.com> Close ImageReaders after the camera is closed

Bug: 18841114
Change-Id: Ifc0b79e70059efd8f8ace2c29243406b524ad918
/packages/apps/Camera2/src/com/android/camera/one/v2/LoggingImageReader.java