mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
Nobody
This commit is contained in:
parent
ad9610cd43
commit
0608189bdf
3 changed files with 6 additions and 1 deletions
|
@ -342,6 +342,10 @@ public class Util {
|
|||
List<String> listResult = new ArrayList<>();
|
||||
if (uid == 0)
|
||||
listResult.add(context.getString(R.string.title_root));
|
||||
else if (uid == 1013)
|
||||
listResult.add(context.getString(R.string.title_mediaserver));
|
||||
else if (uid == 9999)
|
||||
listResult.add(context.getString(R.string.title_nobody));
|
||||
else {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
String[] pkgs = pm.getPackagesForUid(uid);
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
android:id="@+id/etRUid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="1000"
|
||||
android:hint="9999"
|
||||
android:inputType="number"
|
||||
android:textAppearance="@style/TextMedium" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -166,6 +166,7 @@ Your internet traffic is not being sent to a remote VPN server.</string>
|
|||
<string name="title_block">Block</string>
|
||||
<string name="title_root">root</string>
|
||||
<string name="title_mediaserver">mediaserver</string>
|
||||
<string name="title_nobody">nobody</string>
|
||||
<string name="title_notify">Notify internet access attempts</string>
|
||||
|
||||
<string name="title_log_whois">Whois %1$s</string>
|
||||
|
|
Loading…
Reference in a new issue