I am going to develop an OTA update manager for client side through AOSP project. The Lineage OS developers have already developed an OTA manager for this purpose (please find the following GitHub repo):
https://github.com/alidoostnia/android-OTA-Lineage-Version
I have a plan to customize the lineage version for AOSP, but I am not sure how to do this. There are many dependencies on the Lineage OS OTA such as the followings:
import org.json.JSONException;
import org.lineageos.updater.download.DownloadClient;
import org.lineageos.updater.misc.Constants;
import org.lineageos.updater.misc.Utils;
I do not know how to localize these libraries and packages. Is there any guideline on how I can do this?
Any solution, example code or clue is highly appreciated.