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

Commit 03856a93 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Revert "Follow revert back to oc-dev APIs."

This reverts commit a7311989.
parent 84384877
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -93,7 +93,12 @@ public class TestRttActivity extends Activity {
                    }
                    }
                    // inner read loop
                    // inner read loop
                    while (true) {
                    while (true) {
                        String receivedText = rttCall.read();
                        String receivedText;
                        try {
                            receivedText = rttCall.read();
                        } catch (IOException e) {
                            break;
                        }
                        if (receivedText == null) {
                        if (receivedText == null) {
                            if (Thread.currentThread().isInterrupted()) {
                            if (Thread.currentThread().isInterrupted()) {
                                break begin;
                                break begin;