Camera2: Make menu not pop up in take picture interface

When we click menu key in view interface and take picture
interface,the menu will both pop up.

Modify condition to achieve not pop up menu in take picture
interface.

CRs-fixed: 652961

Change-Id: Ifc2e3b4535fdf48c110673a3ec633ecdc93cc37a