I am modifying CyanogenMod (CM 7) Source code,
i want to include “Cyanogen/packages/apps/phone/src/com/android/phone/CallNotifier.java” in the “Cyanogen/frameworks/base/policy/src/com/android/internal/policy/impl/LockPatternGuardview.java” file. I added “import com.android.phone.CallNotifier;” in the LockPatternGuardview.java file and upon compiling i get this error.
LockPatternKeyguardView.java:20: package com.android.phone does not exist
import com.android.phone.CallNotifier;
^
But CallNotifier.java is included in the “com.android.phone” package, so if someone can please tell that how to include com.android.phone package ?
You can’t include com.android.phone, it’s hidden.
You might be able to access it via reflection but in most cases, the telephony stack is setup so that it’s running in a different process and you won’t be able to access anything meaningfull.