diff --git a/lib/android.js b/lib/android.js index 39a6ee26..76355b9d 100644 --- a/lib/android.js +++ b/lib/android.js @@ -612,9 +612,10 @@ function memoize (compute) { return function (...args) { if (!computed) { value = compute(...args); - computed = true; + if(value != null) { + computed = true; + } } - return value; }; }