I am working on custom ROM and there is requirement for implementing a custom dialer application. The dialer is working fine but only things is pending that to make default one.
I have added folder in package directory with Android.mk and dialer.apk file (I have not added source code). My custom dialer application install as system application and all system level permission as well.
I have tried couple of solution to archive this but not getting success on this. i.e. link1, link2.
Also added LOCAL_OVERRIDES_PACKAGES field/flag in my Android.mk and on this the aosp dialer application not install but my dialer application is not set as defaut.
Once I have set as default dialer application everything are working fine.
Can anyone help me on this to set custom dialer application (.apk) as a default dialer application in aosp. Or there issue as i have not added source code instead of that I have added only .apk file.
I am using Android-11 source code.
The query logic has changed and it's in packages/services/Telecomm/src/com/android/server/telecom/DefaultDialerCache.java
You should modify or overlay