- If there is no default value for EventContinue, then it is set as false.
In app side(ex, C#TCT), if cb is called and if it doesn't set EventContinue more,
then it is recognized as false, so next found cb will never be called.
- So now, fix to set it as true when ResourceFound/PlatformInformationFound.
- When DeviceInformationFound, it was already set as true.
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I3d827c335fea2c95036ca9295e62c4d774001139
ResourceFoundEventArgs e = new ResourceFoundEventArgs()
{
RequestId = requestId,
+ EventContinue = true,
Resource = resource
};
ResourceFound?.Invoke(null, e);
PlatformInformationFoundEventArgs e = new PlatformInformationFoundEventArgs()
{
RequestId = requestId,
+ EventContinue = true,
PlatformId = (platformId != IntPtr.Zero) ? Marshal.PtrToStringAnsi(platformId) : string.Empty,
ManufacturerName = (manufacturerName != IntPtr.Zero) ? Marshal.PtrToStringAnsi(manufacturerName) : string.Empty,
ManufacturerURL = (manufacturerUrl != IntPtr.Zero) ? Marshal.PtrToStringAnsi(manufacturerUrl) : string.Empty,