Skip to content

Commit

Permalink
Fix: lost a hook: getIccSerialNumberForSubscriber.
Browse files Browse the repository at this point in the history
  • Loading branch information
asLody committed Aug 11, 2016
1 parent bb4ea22 commit 39bd999
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.lody.virtual.client.hook.patchs.phonesubinfo;

import android.os.ServiceManager;

import com.android.internal.telephony.IPhoneSubInfo;
import com.lody.virtual.client.hook.base.PatchObject;
import com.lody.virtual.client.hook.base.ReplaceCallingPkgHook;
import com.lody.virtual.client.hook.base.ReplaceLastPkgHook;
import com.lody.virtual.client.hook.binders.HookPhoneSubInfoBinder;

import android.os.ServiceManager;

/**
* @author Lody
*
Expand Down Expand Up @@ -44,10 +44,10 @@ protected void applyHooks() {
addHook(new ReplaceLastPkgHook("getVoiceMailNumberForSubscriber"));
addHook(new ReplaceCallingPkgHook("getVoiceMailAlphaTag"));
addHook(new ReplaceLastPkgHook("getVoiceMailAlphaTagForSubscriber"));

// The following method maybe need to fake
addHook(new ReplaceCallingPkgHook("getDeviceId"));
addHook(new ReplaceCallingPkgHook("getIccSerialNumber"));
addHook(new ReplaceLastPkgHook("getIccSerialNumberForSubscriber"));

}

Expand Down

0 comments on commit 39bd999

Please sign in to comment.