global: java access control has important semantic meaning

It's not right to blindly follow all of AndroidStudio's suggestions,
especially for things in tunnel/ which comprise useful API.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2020-03-10 08:41:29 -06:00
parent 8f85e4c88f
commit 6b304391b5
4 changed files with 4 additions and 4 deletions
@@ -128,7 +128,7 @@ public class ModuleLoader {
}
@Nullable
private static Map<String, Sha256Digest> verifySignedHashes(final String signifyDigest) {
private Map<String, Sha256Digest> verifySignedHashes(final String signifyDigest) {
final byte[] publicKeyBytes = Base64.decode(MODULE_PUBLIC_KEY_BASE64, Base64.DEFAULT);
if (publicKeyBytes == null || publicKeyBytes.length != 32 + 10 || publicKeyBytes[0] != 'E' || publicKeyBytes[1] != 'd')