OSDN Git Service

Hide review UI on resume in Camera2.
authorTomasz Mikolajewski <mtomasz@google.com>
Tue, 14 Mar 2017 06:50:22 +0000 (15:50 +0900)
committerTomasz Mikolajewski <mtomasz@google.com>
Thu, 16 Mar 2017 07:18:29 +0000 (07:18 +0000)
commit9933bc90b48cc8c1ae081cce4fe4982722e6b5dd
tree6474e3c1c5b697d07134c9a5aa8c30c6cb2baae8
parent8539c9df79cc773e8d6c2a369b55b3e4923915d6
Hide review UI on resume in Camera2.

PhotoModule is used for capturing intents only on legacy hardware,
and it would show broken UI when paused, then resumed during image
review (confirmation UI).

This CL fixes it by hiding the review UI on resume. This is not ideal,
but it's the same behavior as on non-legacy hardware, and the fix
was straightforward.

Test: Confirmed manually that minimizing and restoring on ARC++
      during image review discards the taken picture.
Bug: 33701231

Change-Id: Ie7f67145fab21c8c1952832bab6cd26591d2bda0
(cherry picked from commit 47dc2d1ed16baac83c6ef14c06c7564422a5967c)
src/com/android/camera/PhotoModule.java