Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Added white list to getAllByName, getByAddress and getByName
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Jun 29, 2014
1 parent fc00f07 commit ed83b24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Changelog
* Added restriction for *USB.getSerialNumber* (Android "L") ([issue](/../../issues/1757))
* Added parameter user agent to *getUserAgentString*
* Added parameter device name to *USB.getDeviceId*
* Added white list to *getAllByName*, *getByAddress* and *getByName*
* Updated Italian translation

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)
Expand Down
6 changes: 3 additions & 3 deletions src/biz/bokhorst/xprivacy/Meta.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ public static List<Hook> get() {
mListHook.add(new Hook("identification", "USB.getDeviceName", "", 12, "2.1.7", null));
mListHook.add(new Hook("identification", "USB.getSerialNumber", "", 20, "2.1.17", null));

mListHook.add(new Hook("internet", "getAllByName", "INTERNET", 1, "0.0", null).dangerous());
mListHook.add(new Hook("internet", "getByAddress", "INTERNET", 1, "0.0", null).dangerous());
mListHook.add(new Hook("internet", "getByName", "INTERNET", 1, "0.0", null).dangerous());
mListHook.add(new Hook("internet", "getAllByName", "INTERNET", 1, "0.0", null).dangerous().whitelist(cTypeIPAddress));
mListHook.add(new Hook("internet", "getByAddress", "INTERNET", 1, "0.0", null).dangerous().whitelist(cTypeIPAddress));
mListHook.add(new Hook("internet", "getByName", "INTERNET", 1, "0.0", null).dangerous().whitelist(cTypeIPAddress));

mListHook.add(new Hook("internet", "getByInetAddress", "INTERNET", 1, null, null));
mListHook.add(new Hook("internet", "getNetworkInterfaces", "INTERNET", 1, null, null));
Expand Down

0 comments on commit ed83b24

Please sign in to comment.