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

Commit

Permalink
Google Map V1 restrictions for Cydia Substrate
Browse files Browse the repository at this point in the history
Refs #1807
  • Loading branch information
M66B committed Jul 12, 2014
1 parent 33c5ad1 commit 68fc8d2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/biz/bokhorst/xprivacy/XPrivacy.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,15 @@ public void classLoaded(Class<?> clazz) {
}
});

// Google Map
// Google Map V1
MS.hookClassLoad("com.google.android.maps.GeoPoint", new MS.ClassLoadHook() {
@Override
public void classLoaded(Class<?> clazz) {
hookAll(XGoogleMapV1.getInstances(), clazz.getClassLoader(), mSecret);
}
});

// Google Map V2
MS.hookClassLoad("com.google.android.gms.maps.GoogleMap", new MS.ClassLoadHook() {
@Override
public void classLoaded(Class<?> clazz) {
Expand Down

0 comments on commit 68fc8d2

Please sign in to comment.