Commit 77a55964 by jaewan Committed by Ian Baker

Remove workaround for media1 session's looper restriction

PiperOrigin-RevId: 351936232
parent 464f5337
......@@ -53,14 +53,6 @@ import org.junit.rules.ExternalResource;
@Override
protected void before() {
// Workaround limitation in androidx.media2.session:1.0.3 which session can only be instantiated
// on thread with prepared Looper.
// TODO: Remove when androidx.media2.session:1.1.0 is released without the limitation
// [Internal: b/146536708]
if (Looper.myLooper() == null) {
Looper.prepare();
}
context = ApplicationProvider.getApplicationContext();
executor = Executors.newFixedThreadPool(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment