Skip to content
Commit aa80375e authored by Hyundo Moon's avatar Hyundo Moon
Browse files

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
parent c934b468
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment