KHikami / ProjectFiCallingDeciphered

repo for class project Deciphering Project Fi Calling
1 stars 0 forks source link

Decipher emergency call condition "glq.d(gwb.H(), gcc.a().f().c())" #5

Closed wminner closed 8 years ago

wminner commented 8 years ago

if (glq.d(gwb.H(), gcc.a().f().c())) { glk.c("Babel_telephony", "TeleHandoffController.isHandoffPossible, emergency call, handoff for network optimization not allowed", new Object[0]); return false;

Found in gdc.java, in function "a(Context context, gcc gcc, boolean z, int i, boolean z2)"

wminner commented 8 years ago

gwb.H() returns a Context gcc.a() --> gcq.f() --> gef.c() --> remote_party_number glq.d(Context, String) check if the number is an emergency number for the country given by Context.