summaryrefslogtreecommitdiffstats
path: root/include/media/IRemoteDisplay.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-09-05 17:48:03 -0700
committerJeff Brown <jeffbrown@google.com>2012-09-05 17:48:03 -0700
commitced24b36bbeed1ddd086a9304a9639c04ffe0962 (patch)
treed9da77d64098b29ef571a3d6c12c7fe9a6d8e8cf /include/media/IRemoteDisplay.h
parent28169b107327b5db58877babf6993f0eb109c58a (diff)
downloadframeworks_av-ced24b36bbeed1ddd086a9304a9639c04ffe0962.zip
frameworks_av-ced24b36bbeed1ddd086a9304a9639c04ffe0962.tar.gz
frameworks_av-ced24b36bbeed1ddd086a9304a9639c04ffe0962.tar.bz2
Update remote display API.
Renamed disconnect() to dispose() to emphasize the fact that this method is intended to clean up the IRemoteDisplay completely, not just temporarily disconnect the current client (which might be useful someday). Other minor tweaks. Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257
Diffstat (limited to 'include/media/IRemoteDisplay.h')
-rw-r--r--include/media/IRemoteDisplay.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/media/IRemoteDisplay.h b/include/media/IRemoteDisplay.h
index f39286e..a61704e 100644
--- a/include/media/IRemoteDisplay.h
+++ b/include/media/IRemoteDisplay.h
@@ -39,10 +39,8 @@ class IRemoteDisplay : public IInterface
public:
DECLARE_META_INTERFACE(RemoteDisplay);
- // Disconnects the remote display.
- // The remote display should respond back to the IRemoteDisplayClient with an
- // onDisplayDisconnected() event when the disconnection is complete.
- virtual status_t disconnect() = 0;
+ // Disconnects the remote display and stops listening for new connections.
+ virtual status_t dispose() = 0;
};