Skip to content

Commit

Permalink
Merge pull request #2107 from dimagi/imageScalingFix
Browse files Browse the repository at this point in the history
[HOTFIX] Revert "Turns Image scaling code path off"
  • Loading branch information
shubham1g5 authored Apr 22, 2019
2 parents 3bde301 + 982e7fa commit 7a7cf7e
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ private static File moveAndScaleImage(File originalImage, boolean shouldScale,
String finalFilePath = instanceFolder + imageFilename;

boolean savedScaledImage = false;

// Turning off scaling for now, since current code never actually ends up using the
// final scaled image. We might wanna turn that later on again sometime so leaving the scaling
// code as it is
shouldScale = false;

if (shouldScale) {
ImageWidget currentWidget = (ImageWidget)formEntryActivity.getPendingWidget();
if (currentWidget != null) {
Expand Down

0 comments on commit 7a7cf7e

Please sign in to comment.