Fix build.
Change-Id: I05f73596157fb5a2ee0ebf8581cfffa973a2d1d7
diff --git a/src/com/android/camera/NewPhotoModule.java b/src/com/android/camera/NewPhotoModule.java
index 76bcbbe..9911e8f 100644
--- a/src/com/android/camera/NewPhotoModule.java
+++ b/src/com/android/camera/NewPhotoModule.java
@@ -1595,7 +1595,7 @@
private void updateCameraParametersInitialize() {
// Reset preview frame rate to the maximum because it may be lowered by
// video camera application.
- int[] frameRates = Util.getMaxPreviewFpsRange(mParameters);
+ int[] fpsRange = Util.getMaxPreviewFpsRange(mParameters);
if (fpsRange.length > 0) {
mParameters.setPreviewFpsRange(
fpsRange[Parameters.PREVIEW_FPS_MIN_INDEX],