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.
2 files changed