Camera: Test stale ImageWriter buffer for reprocessing

When the application queues images into ImageWriter, but
doesn't send request to process it. During subsequent capture session,
the ImageWriter's queueInputImage may hang if ImageWriter has stale
images from previous session.

Test: Run test on Pixel with framework fix
Bug: 138729150
Change-Id: I1f2569287f86d25b9f249b81339bd516d0cb31a8
1 file changed