[Camera] Fix null reference bug (#1234)
authorhsgwon <haesu.gwon@samsung.com>
Tue, 24 Dec 2019 06:40:18 +0000 (15:40 +0900)
committerGitHub <noreply@github.com>
Tue, 24 Dec 2019 06:40:18 +0000 (15:40 +0900)
src/Tizen.Multimedia.Camera/Camera/CameraCapabilities.cs

index 6c84c48..a7f9192 100644 (file)
@@ -538,7 +538,7 @@ namespace Tizen.Multimedia
         {
             get
             {
-                if (_ptzTypes.Count == 0)
+                if (_ptzTypes == null)
                 {
                     _ptzTypes = GetSupportedPtzTypes();
                 }