Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a682e83 authored by Daichi Hirono's avatar Daichi Hirono Committed by Android (Google) Code Review
Browse files

Merge "Fix flakiness MtpManagerTest test."

parents 7335d430 4c406121
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -61,8 +61,9 @@ public class MtpManagerTest extends InstrumentationTestCase {
                    @Override
                    public Boolean call() throws IOException {
                        try {
                            while (true) {
                                mManager.readEvent(mUsbDevice.getDeviceId(), signal);
                            return false;
                            }
                        } catch (OperationCanceledException exception) {
                            return true;
                        }