Disable wideangle mode for the weekend build.
The code is not ready yet for the extended fishfood.
Change-Id: I6e7fd7061f4b68a4270efcc4ac946d596bfa698c
diff --git a/src/com/android/camera/module/ModulesInfo.java b/src/com/android/camera/module/ModulesInfo.java
index 9fbd095..08b6b55 100644
--- a/src/com/android/camera/module/ModulesInfo.java
+++ b/src/com/android/camera/module/ModulesInfo.java
@@ -48,7 +48,8 @@
moduleManager.setDefaultModuleIndex(MODULE_PHOTO);
registerVideoModule(moduleManager);
if (PhotoSphereHelper.hasLightCycleCapture(context)) {
- registerWideAngleModule(moduleManager);
+ // TODO: Re-enable once we have wide-angle mode CLs in.
+ // registerWideAngleModule(moduleManager);
registerPhotoSphereModule(moduleManager);
}
if (RefocusHelper.hasRefocusCapture(context)) {
@@ -150,7 +151,7 @@
@Override
public ModuleController createModule(AppController app) {
// TODO: remove the type casting.
- return (ModuleController) RefocusHelper.createRefocusModule(app);
+ return RefocusHelper.createRefocusModule(app);
}
});
}
@@ -169,7 +170,7 @@
@Override
public ModuleController createModule(AppController app) {
- return (ModuleController) GcamHelper.createGcamModule(app);
+ return GcamHelper.createGcamModule(app);
}
});
}