commit | 9b5e3923d1c3e2763b04d801ac36003ce1f86416 | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Tue Jun 09 16:34:20 2020 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Tue Jun 09 19:12:30 2020 +0900 |
tree | a6acd8a13c5bd873d49e3f532f81cfb423556211 | |
parent | ebb7ae667942ffa0d685edd91dc0700cf2079695 [diff] |
Prevent abuse of MediaRoute2ProviderService#notifyRequestFailed() The method can be called with a random requestId, or called multiple times with the valid requestId. It can result unnecessary calls to MediaRouter2Manager#onRequestFailed(). This CL resolves this problem. Bug: 157873556 Test: Passes CTS and mediaroutertest Change-Id: Ia7dd4ddafd532b9f23bf19491a0820d5a74f6a70