Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3ee6777 authored by James Dong's avatar James Dong
Browse files

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
parent 6ab1d170
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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