[Exif] Fixed setting flash attribute.
authorTomasz Marciniak <t.marciniak@samsung.com>
Tue, 20 Oct 2015 13:32:58 +0000 (15:32 +0200)
committerTomasz Marciniak <t.marciniak@samsung.com>
Tue, 20 Oct 2015 13:32:58 +0000 (15:32 +0200)
[Verification] Code compiles. TCT 100%

Change-Id: Ia8d6b9f44b2a7a93269ca617696898b4668a0417
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
src/exif/exif_api.js

index 9970ce60bf89e56a85873a0dda26e89e290783c1..d209d8acc63bcb39acb6853bd9a1691d1c408ff0 100755 (executable)
@@ -488,7 +488,7 @@ tizen.ExifInformation = function() {
         return flash_;
       },
       set: function(v) {
-        flash_ = (!type_.isUndefined(v)) ? converter_.toBoolean(v, true) : flash_;
+        flash_ = converter_.toBoolean(v, true);
       },
       enumerable: true
     },