mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-24 19:29:46 +01:00
Ignore warnings about setExecutable(true) failing
This commit is contained in:
parent
026d0b495e
commit
fb7f7d249e
1 changed files with 2 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ public class TermuxFileReceiverActivity extends Activity {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do this for the user if necessary:
|
// Do this for the user if necessary:
|
||||||
|
//noinspection ResultOfMethodCallIgnored
|
||||||
editorProgramFile.setExecutable(true);
|
editorProgramFile.setExecutable(true);
|
||||||
|
|
||||||
final Uri scriptUri = new Uri.Builder().scheme("file").path(EDITOR_PROGRAM).build();
|
final Uri scriptUri = new Uri.Builder().scheme("file").path(EDITOR_PROGRAM).build();
|
||||||
|
|
@ -201,6 +202,7 @@ public class TermuxFileReceiverActivity extends Activity {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do this for the user if necessary:
|
// Do this for the user if necessary:
|
||||||
|
//noinspection ResultOfMethodCallIgnored
|
||||||
urlOpenerProgramFile.setExecutable(true);
|
urlOpenerProgramFile.setExecutable(true);
|
||||||
|
|
||||||
final Uri urlOpenerProgramUri = new Uri.Builder().scheme("file").path(URL_OPENER_PROGRAM).build();
|
final Uri urlOpenerProgramUri = new Uri.Builder().scheme("file").path(URL_OPENER_PROGRAM).build();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue