Merge "Do not use CAMERA_ID_DEFAULT because it is removed."

This commit is contained in:
Wu-cheng Li
2010-11-08 08:46:50 -08:00
committed by Android (Google) Code Review

View File

@ -183,7 +183,7 @@ public class CamcorderProfile
* @see #get(int, int)
*/
public static CamcorderProfile get(int quality) {
return get(android.hardware.Camera.CAMERA_ID_DEFAULT, quality);
return get(0, quality);
}
/**
@ -240,7 +240,7 @@ public class CamcorderProfile
* @param quality the target quality level for the camcorder profile
*/
public static boolean hasProfile(int quality) {
return hasProfile(android.hardware.Camera.CAMERA_ID_DEFAULT, quality);
return hasProfile(0, quality);
}
/**