File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/java/slowscript/warpinator Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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" );
You can’t perform that action at this time.
0 commit comments