Fix BasicAdapterTest flakiness

Allow STATE_ON to happen in disable() since state changes are
asynchronous and can be impacted by other factors causing it
the transition to be delayed occasionally. Do the same for
enable() with STATE_OFF.

Change-Id: I229d25a74c3e7c93a44aa65128d0ee83c264f31b
1 file changed