diff options
| author | 2020-04-03 07:22:05 +0000 | |
|---|---|---|
| committer | 2020-04-03 07:22:05 +0000 | |
| commit | cea7defcfa426a9677dc43153b389c06e809449b (patch) | |
| tree | a58eb9e6bd2e537adabfa286f7916b225210f52b | |
| parent | 449baa2ee38a254be92f2e907fcf846003851801 (diff) | |
| parent | 8ca032d8d41649eb89ec33c325fdb0a23fe4a8d3 (diff) | |
Merge "Revise the comment on DUMMY_REQUEST_ID" into rvc-dev
| -rw-r--r-- | services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java b/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java index b28350d51e9e..4896ba8677c7 100644 --- a/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java +++ b/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java @@ -70,10 +70,8 @@ class MediaRouter2ServiceImpl { private static final String TAG = "MR2ServiceImpl"; private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG); - /** - * TODO: Change this with the real request ID from MediaRouter2 when - * MediaRouter2 needs to get notified for the failures. - */ + // TODO: (In Android S or later) if we add callback methods for generic failures + // in MediaRouter2, remove this constant and replace the usages with the real request IDs. private static final long DUMMY_REQUEST_ID = -1; private final Context mContext; |