Merge remote-tracking branch 'origin/master' into tizen
authorTizenAPI-Bot <tizenapi@samsung.com>
Fri, 14 Jul 2023 15:09:25 +0000 (15:09 +0000)
committerTizenAPI-Bot <tizenapi@samsung.com>
Fri, 14 Jul 2023 15:09:25 +0000 (15:09 +0000)
src/Tizen.Applications.RemoteView/Tizen.Applications/RemoteView.cs
src/Tizen.Applications.WidgetControl/Tizen.Applications/WidgetControl.cs

index dab7417..1354735 100755 (executable)
@@ -143,6 +143,12 @@ namespace Tizen.Applications
 
                 case Interop.WidgetViewerEvas.ErrorCode.MaxExceeded:
                     throw new InvalidOperationException("Max exceeded");
+
+                case Interop.WidgetViewerEvas.ErrorCode.Disabled:
+                    throw new InvalidOperationException("Disabled");
+
+                default:
+                    throw new InvalidOperationException("Invalid Operation");
             }
         }
 
index 843a53a..0daff7d 100755 (executable)
@@ -1011,6 +1011,9 @@ namespace Tizen.Applications
                         }
                     }
                     break;
+
+                default:
+                    break;
             }
             return 0;