Fix minor Android Studio inspection warnings

This commit is contained in:
Fredrik Fornwall
2015-10-25 16:39:34 +01:00
parent 64c349093b
commit 05e250bb96
4 changed files with 8 additions and 4 deletions

View File

@@ -110,6 +110,7 @@ final class TermuxInstaller {
outStream.write(buffer, 0, readBytes);
}
if (zipEntryName.startsWith("bin/") || zipEntryName.startsWith("libexec") || zipEntryName.startsWith("lib/apt/methods")) {
//noinspection OctalInteger
Os.chmod(targetFile.getAbsolutePath(), 0700);
}
}