getPrimaryClientModeManager: ensure it is called within WifiThreadRunner

obj.method1()::method2 calls method1() immediately
in the current thread, and only method2 is part
of the callback called in the WifiThreadRunner
thread. But we want both method1 & method2 to be
called in the WifiThreadRunner thread.

Bug: 179939824
Test: atest FrameworksWifiTests
Change-Id: I6b16c9d63107ac0abaf8965af876866bda5f5aae
1 file changed