disableSearch

fun disableSearch(context: Context = testContext): Boolean

Disable search support in the FakeMusic media source. After this, the FakeMusic media source will not allow searching until the next reset.

When using FakeMusicMediaSourceController from inside the test framework, leave context to the default value to use the instrumentation context.

Return

true when the action was successfully processed, false otherwise.