library: Add coment about unsupported parameters to subsession_event_wait_done()... 80/281080/1
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 9 Sep 2022 08:53:08 +0000 (10:53 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Fri, 9 Sep 2022 08:53:08 +0000 (10:53 +0200)
Change-Id: Ia0aa98e8c02c89a405a649dabc40cb6fa5280e73

src/library/src/lib.c

index 87d9cf861bf40c72d7b8d44233c1b8dea84fde78..b7f846af99b5ba26a39911778b8c94745c64b373 100644 (file)
@@ -831,6 +831,11 @@ EXPORT_API int subsession_event_wait_done(subsession_event_info info)
                        )
                        return subsession_switch_wait_done(info.session_uid, info.switch_user.switch_id);
                        break;
+
+               case SUBSESSION_SWITCH_USER_COMPLETION:
+               case SUBSESSION_EVENT_ALL:
+                       // these are in enum but make no sense in context of this function
+                       break;
        }
 
        return SUBSESSION_ERROR_INVALID_PARAMETER;