Fixed handling of new Android Intent result
[zxing.git] / android / src / com / google / zxing / client / android / ResultHandler.java
index 9d8f1b7..0950af1 100755 (executable)
@@ -119,6 +119,8 @@ final class ResultHandler extends Handler {
         } catch (URISyntaxException e) {
           return;
         }
+      } else if (type.equals(ParsedReaderResultType.ANDROID_INTENT)) {
+        intent = ((AndroidIntentParsedResult) result).getIntent();
       }
       if (intent != null) {
         captureActivity.startActivity(intent);