DescriptionAdd support of vrdisplayconnect and vrdisplaydisconnect event
This patch adds vrdisplayconnect and vrdisplaydisconnect event support
of google vr sdk for android. It defines 'connect' status as
nativeContext is available and defines 'disconnect' status as
nativeContext is unavailable.
Note that connect event may dispatch before user get vr devices
because devices in connection status could already deliever user some device
info and user could use this event to do some preparing work.
BUG=389343
R=bajones@chromium.org, kenrd@chromium.org, ochang@chromium.org
Committed: https://crrev.com/66ce5b08f2af95f149303ad716119db190a52823
Cr-Commit-Position: refs/heads/master@{#419392}
Patch Set 1 #Patch Set 2 : Fix typo of Event reason #
Total comments: 6
Patch Set 3 : Address most comments from bajones@ #
Total comments: 4
Patch Set 4 : Address comments from bajones@ #Patch Set 5 : Clean some style issue according to mthiesse@ #
Total comments: 8
Patch Set 6 : More Clean according to bajones@ comments #Patch Set 7 : Update test case to fix android compile error #Patch Set 8 : remove unused function #Patch Set 9 : Remove unused variable #Patch Set 10 : Rebase #Patch Set 11 : fix missing brace #Messages
Total messages: 63 (38 generated)
|