mt7-dev / aosp_frameworks_opt_telephony

Adapted telephony framework for Huawei RIL
1 stars 4 forks source link

Compilation issues #1

Open debbiche opened 8 years ago

debbiche commented 8 years ago

@gabry3795 Trying this with the Huawei P8 but I get a lot of compilation issues with a clean checkout of Android 6.0.0. (r42 I think). Is there anything else that needs to be done?

I'm guessing replacing the entire telephony might not work directly with r42?

Logs: http://pastebin.com/SX3Wty0A

First issue was with this method in ImsPhoneMmiCode.java, it has the wrong signature (boolean instead of int):

mPhone.mCT.getUtInterface().updateCallBarring(ImsUtInterface.CB_BS_MT, isActivate(), obtainMessage(EVENT_SUPP_SVC_QUERY_COMPLETE,this), icbNum);

Seems isActivate() returns a boolean but the function expects an int.

Thanks for your work and any help you provide!

debbiche commented 8 years ago

Fixed some issue, now I get:

ERROR: /media/deathrow/extra/android/mm/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyProvider.java:630: USER_VISIBLE cannot be resolved or is not a field ERROR: /media/deathrow/extra/android/mm/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyProvider.java:632: USER_VISIBLE cannot be resolved or is not a field ERROR: /media/deathrow/extra/android/mm/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyProvider.java:636: USER_VISIBLE cannot be resolved or is not a field ERROR: /media/deathrow/extra/android/mm/packages/providers/TelephonyProvider/src/com/android/providers/telephony/TelephonyProvider.java:994: USER_VISIBLE cannot be resolved or is not a field

gabrielepmattia commented 8 years ago

Hi @debbiche as you can see the main branch of this repo is aosp-6.0.0_r1 this means that works with the r1 tag of the first marshmallow release, can you try building with that? Then you can try to apply my commits on other releases but for now I can only provide the r1 because the mt7 device has lots of problems with stock libraries

debbiche commented 8 years ago

@gabry3795 That's what I figured, I will try to fix any issues I can and try r1 branch at the same time. Will report back. Thanks!

gabrielepmattia commented 8 years ago

@debbiche perfect! Let me know how it's going