fix bug in cts verifier testcase(BYOD Managed Provisioning—camera
support cross profile image capture)

This patch resizes the photo captured by camera according to the size of
application display area. In this case, camera will take photo and then
the photo will be shown in a dialog. However, when camera uses high
resolution to take photo which is beyond the capability of GPU to
process the bitmap once, the photo will not be shown in the dialog.
As a reuslt, resizing the photo will make itself be shown in the dialog.

Change-Id: I76a2ae8ef1f26f7bc4f1456c1fa3264053b96d03
2 files changed