Camera2 API: fix wrong logic in handling last frame number.

Change-Id: I23bdceada2460238c1e7fc45524ae491268b4243
2 files changed