commit | aa80375e10c27100f17d86ceaffa05e74a9df675 | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Wed Jun 17 23:02:49 2020 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Thu Jun 18 19:22:39 2020 +0900 |
tree | 8b446d3b9979b1a43e92fcd0c06802a6592b285b | |
parent | c934b468b51a3afb9da0415a2f85a97bc97808f3 [diff] |
SystemMediaRoute2Provider: Set callback after instantiation is done A NullPointerException can happen if some callback method is called before the constructor of SystemMediaRoute2Provider ends. This CL fixes the issue. Bug: 158838070 Test: Passes CTS and mediaroutertest Change-Id: Ibad3c54ad3f7921621628b6147c35605652da29b