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

Commit

Permalink
Check if GServices argument is null
Browse files Browse the repository at this point in the history
Refs #739
  • Loading branch information
M66B committed Nov 10, 2013
1 parent 41b9006 commit 0cafc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biz/bokhorst/xprivacy/XContentProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected void after(MethodHookParam param) throws Throwable {
if (cursor != null)
if (sUri.startsWith("content://com.google.android.gsf.gservices")) {
// Google services provider: block only android_id
if (param.args.length > 3) {
if (param.args.length > 3 && param.args[3] != null) {
List<String> selectionArgs = Arrays.asList((String[]) param.args[3]);
if (Util.containsIgnoreCase(selectionArgs, "android_id"))
if (isRestricted(param)) {
Expand Down

0 comments on commit 0cafc35

Please sign in to comment.