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:44:38 -06:00
parent 8f85e4c88f
commit 6b304391b5
4 changed files with 4 additions and 4 deletions
@@ -177,7 +177,7 @@ public class RootShell {
}
}
private void stop() {
public void stop() {
synchronized (lock) {
if (process != null) {
process.destroy();