Skip to content

Commit e9794cf

Browse files
committed
uid 1000 unknown in logs
1 parent f11e41b commit e9794cf

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

aFWall/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
//applicationId "dev.ukanth.ufirewall.donate"
99
minSdkVersion 15
1010
targetSdkVersion 23
11-
versionCode 15992
12-
versionName "2.9.9"
11+
versionCode 15993
12+
versionName "2.9.9.1"
1313
//buildConfigField 'boolean', 'DONATE', 'true'
1414
}
1515

aFWall/src/main/java/dev/ukanth/ufirewall/log/LogInfo.java

+3
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ public static LogInfo parseLogs(String result, final Context ctx, String pattern
227227
} else {
228228
if (uid < 2000) {
229229
appName = Api.getSpecialAppName(uid);
230+
if(uid == 1000) {
231+
appName = ctx.getString(R.string.android_system);
232+
}
230233
} else {
231234
//system level packages
232235
try {

aFWall/src/main/res/values/strings.xml

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<string name="error_common">Error: </string>
3232
<string name="all_item">(Any app) - Same as selecting all apps</string>
3333
<string name="kernel_item">(kernel) - Linux kernel</string>
34+
<string name="android_system">Android System</string>
3435
<string name="unknown_item">Unknown</string>
3536
<string name="tethering_item">(tethering) - DHCP+DNS services</string>
3637
<string name="dnsproxy_item">(dns proxy) - DNS lookups via netd</string>

0 commit comments

Comments
 (0)