I checked the code and scenario again.
When launch the camera app with secure mode, we can open the preview gallery.
At that time, display the confirmation screen after taking a picture. Could we check the secure mode in the preview gallery?