Skip to content

Commit d8e1fbc

Browse files
committed
Version 0.2b
1 parent 5cd5ffd commit d8e1fbc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
applicationId 'slowscript.warpinator'
1010
minSdkVersion 21 //Required by NSD (attributes)
1111
targetSdkVersion 29
12-
versionCode 100
13-
versionName "0.1b"
12+
versionCode 200
13+
versionName "0.2b"
1414

1515
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1616
}

app/src/main/java/slowscript/warpinator/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected void onCreate(Bundle savedInstanceState) {
6565
}
6666

6767
String dlDir = prefs.getString("downloadDir", "");
68-
if (dlDir.equals("") || !Utils.pathExistsInTree(this, Uri.parse(dlDir), "")) {
68+
if (dlDir.equals("") || !DocumentFile.fromTreeUri(this, Uri.parse(dlDir)).exists()) {
6969
askForDirectoryAccess(this);
7070
}
7171
}

app/src/main/java/slowscript/warpinator/Remote.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ private boolean waitForDuplex() {
275275
if (haveDuplex)
276276
return true;
277277
} catch (Exception e) {
278-
Log.d(TAG, "We are not connected anymore", e);
278+
Log.d(TAG, "Connection interrupted while waiting for duplex", e);
279279
return false;
280280
}
281281
Log.d (TAG, "Attempt " + tries + ": No duplex");

0 commit comments

Comments
 (0)