Conflict between datawedge and camera

We have a sample that show a conflict between datawedge and camera.

you will find source on github https://github.com/Halim1989/DataWedgeConflict

 

the sample show activity that call datawedge for scanning barcode with camera ( launch datawedge button) and take picture with camera ( take picture button).

 

the issue occurs when the you scan barcode  before take picture.  It seems that datawedge never release the camera and permit the camera class to work properly when class call Camera.open() return Null

 

Datawedge version: 1.6.5