Add the default back-facing camera to the MediaProfile camera vector

As a result, missing media_profiles.xml will be still allowed.

Change-Id: Ie6c1bbfdfd4e971f1d5d0e031a913e757f3863a7
This commit is contained in:
James Dong
2011-03-07 17:04:26 -08:00
parent 22b0451771
commit d21668768a

View File

@@ -721,6 +721,9 @@ MediaProfiles::createDefaultCamcorderProfiles(MediaProfiles *profiles)
createDefaultCamcorderTimeLapseHighProfiles(&highTimeLapseProfile, &highSpecificTimeLapseProfile);
profiles->mCamcorderProfiles.add(highTimeLapseProfile);
profiles->mCamcorderProfiles.add(highSpecificTimeLapseProfile);
// We only have the back-facing camera support by default.
profiles->mCameraIds.add(0);
}
/*static*/ void