From d0dc2bd3416cd049df1128b9d8b35ee674fafee5 Mon Sep 17 00:00:00 2001 From: Changyeon Jo Date: Sat, 9 Feb 2019 19:49:23 +0000 Subject: [PATCH] Updates openDisplay() API description This change corrects the description of openDisplay()'s behavior when new client requests to access a display resource. Bug: 122671398 Test: N/A Change-Id: Ic7380748f4907376563771498e8823ed739e09a6 Signed-off-by: Changyeon Jo --- automotive/evs/1.0/IEvsEnumerator.hal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automotive/evs/1.0/IEvsEnumerator.hal b/automotive/evs/1.0/IEvsEnumerator.hal index e1193d030c..ee51e7e994 100644 --- a/automotive/evs/1.0/IEvsEnumerator.hal +++ b/automotive/evs/1.0/IEvsEnumerator.hal @@ -57,7 +57,8 @@ interface IEvsEnumerator { * * There can be at most one EVS display object for the system and this function * requests access to it. If the EVS display is not available or is already in use, - * a null pointer is returned. + * the old instance shall be closed and give the new caller exclusive + * access. * When done using the display, the caller may release it by calling closeDisplay(). * TODO(b/36122635) Reliance on the sp<> going out of scope is not recommended because the * resources may not be released right away due to asynchronos behavior in the hardware binder.