Skip to content

Commit 76dc0d8

Browse files
committed
localization: clarify webview lock-file path comments
Reword the two translated comments to reflect the actual defensive intent (both path variants are checked because suffix presence is device-dependent) rather than implying contradictory absolute Android behavior.
1 parent 9fc5f78 commit 76dc0d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/moe/matsuri/nb4a/utils/JavaUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ public static void handleWebviewDir(Context context) {
9191
} else {
9292
//main process
9393
suffix = "_" + processName;
94-
pathSet.add(dataPath + webViewDir + lockFile);//process name suffix not added by default
95-
pathSet.add(dataPath + webViewDir + suffix + lockFile);//system automatically added the process name suffix
94+
pathSet.add(dataPath + webViewDir + lockFile);// path variant without the process-name suffix
95+
pathSet.add(dataPath + webViewDir + suffix + lockFile);// path variant with the process-name suffix (device-dependent)
9696
if (checkIsHuaweiRom()) {//some Huawei phones changed the webview directory name
9797
pathSet.add(dataPath + huaweiWebViewDir + lockFile);
9898
pathSet.add(dataPath + huaweiWebViewDir + suffix + lockFile);

0 commit comments

Comments
 (0)