[Q] Vibrate on CallConnected

Nieylana

Senior Member
May 2, 2010
72
13
0
Anyone happen to know where the code would be that causes the vibrate on connect? I'm pretty sure it's not in Phone.apk or HtcDialer.apk.

HtcDialer makes a call like this when getting ready to dial:

invoke-static {p1}, Lcom/htc/util/phone/DialUtils;->callDirectly(Landroid/content/Intent;)Z
only problem is i'm not sure where this class would be located, ie in which APK...

I've sorted out the signature problems for modifying Phone.apk and all other system apks... i've seen a couple of question threads about this and will be posting a solution shortly :D
 

d-shade

Senior Member
Apr 10, 2010
151
9
0
Anchorage
The vibrate on call connected is in the phone.apk

its in
smali\com\android\phone\CallNotifier.smali

Code:
invoke-virtual {v1}, Lcom/android/phone/Ringer;->startVibrateforMoConnected()V