Ignore warnings about setExecutable(true) failing

This commit is contained in:
Fredrik Fornwall
2016-04-22 02:17:41 +02:00
parent 026d0b495e
commit fb7f7d249e

View File

@@ -133,6 +133,7 @@ public class TermuxFileReceiverActivity extends Activity {
}
// Do this for the user if necessary:
//noinspection ResultOfMethodCallIgnored
editorProgramFile.setExecutable(true);
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:
//noinspection ResultOfMethodCallIgnored
urlOpenerProgramFile.setExecutable(true);
final Uri urlOpenerProgramUri = new Uri.Builder().scheme("file").path(URL_OPENER_PROGRAM).build();