xjpmauricio / dialer-nougat-release

This project is a "conversion" of the android dialer source code to android studio.
6 stars 4 forks source link

Request: show how to make new versions from AOSP #3

Open AndroidDeveloperLB opened 5 years ago

AndroidDeveloperLB commented 5 years ago

I've even asked about it here: https://stackoverflow.com/q/55757560/878126

Will grant the bounty if you show all steps, including a working sample.

xjpmauricio commented 5 years ago

I've just updated the project gradle files so it should load into Android Studio with no errors and compile successfully. Getting code from the aosp and making it work on Android studio just takes patience but sometimes isn't possible because some libraries are irreplaceable and you need to get the original aosp project and then it gets drilling down fast. The best way to achieve this is by having all the aosp code on a development machine and then do the changes you want.

AndroidDeveloperLB commented 5 years ago

I've actually forked it today to get it working, and updated what I could: https://github.com/AndroidDeveloperLB/dialer-nougat-release

Here's a pull request: https://github.com/xjpmauricio/dialer-nougat-release/pull/4

I've noticed that just like me, you haven't updated the targetSdk much, because of some issue related to contentProvider. But you should have updated the minSdk, because the during-call-UI is only supported from API 23.

AndroidDeveloperLB commented 5 years ago

But can you please make a tutorial of how you did it? It seems like a huge amount of work, and I would like to make one of the newest versions of Android, and update it in the future too.