added delay for camera reopening during orientation/configuration change event - immediate camera.open after camera.close may result to error, so I added 100 ms delay.
upgraded to latest android gradle plugin