Loading packages/MtpDocumentsProvider/tests/src/com/android/mtp/MtpManagerTest.java +3 −2 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
packages/MtpDocumentsProvider/tests/src/com/android/mtp/MtpManagerTest.java +3 −2 Original line number Diff line number Diff line Loading @@ -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; } Loading