modules: camera: Fix stream type characterization

Type is now enum, not mask.

Change-Id: I264da26a457957a7659154e507970e0303c76e25
diff --git a/modules/camera/Stream.cpp b/modules/camera/Stream.cpp
index 0834aee..31eefcd 100644
--- a/modules/camera/Stream.cpp
+++ b/modules/camera/Stream.cpp
@@ -83,12 +83,14 @@
 
 bool Stream::isInputType()
 {
-    return mType & (CAMERA3_STREAM_INPUT | CAMERA3_STREAM_BIDIRECTIONAL);
+    return mType == CAMERA3_STREAM_INPUT ||
+        mType == CAMERA3_STREAM_BIDIRECTIONAL;
 }
 
 bool Stream::isOutputType()
 {
-    return mType & (CAMERA3_STREAM_OUTPUT | CAMERA3_STREAM_BIDIRECTIONAL);
+    return mType == CAMERA3_STREAM_OUTPUT ||
+        mType == CAMERA3_STREAM_BIDIRECTIONAL;
 }
 
 bool Stream::isRegistered()