Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-993 Support isCameraSupported in Android #1300

Merged
merged 2 commits into from Jan 31, 2012
Merged

TIMOB-993 Support isCameraSupported in Android #1300

merged 2 commits into from Jan 31, 2012

Conversation

billdawson
Copy link
Contributor

@pingwang2011
Copy link
Contributor

in CR + FR

Log.w(LCAT, "Could not retrieve PackageManager instance, returning false for isCameraSupported.");
}

return pm.hasSystemFeature(PackageManager.FEATURE_CAMERA);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we also need to check PackageManager.FEATURE_CAMERA_FRONT in case there is only a front facing camera?

@pingwang2011
Copy link
Contributor

code reviewed, functionally tested and doc validated. Accepted

@rusticphilosopher
Copy link
Contributor

Code reviewed and Accepted

rusticphilosopher pushed a commit that referenced this pull request Jan 31, 2012
TIMOB-993 Support isCameraSupported in Android
@rusticphilosopher rusticphilosopher merged commit 8612b32 into tidev:master Jan 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants