hockeymikey / android_device_sony_lilac

Sony XZ1C for RR
1 stars 0 forks source link

Building issues with upstream LOS repos #5

Closed hockeymikey closed 4 years ago

hockeymikey commented 4 years ago

RR oreo hasn't been updated in like 2 years and thus has some outdated/unadded code in the core causing issues when building. This is to track fixing those and mitigation in the mean time to be able to build.

1: ERROR: /home/hockeymikey/Projects/XZ1_RR/repo/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/DownloadPackageTask.ja va:18.15: The import android.provider.Settings.Secure.MANAGED_PROVISIONING_DPC_DOWNLOADED cannot be resolved
ERROR: /home/hockeymikey/Projects/XZ1_RR/repo/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/DownloadPackageTask.ja va:150.47: MANAGED_PROVISIONING_DPC_DOWNLOADED cannot be resolved to a variable

https://github.com/LineageOS/android_packages_apps_ManagedProvisioning/commit/29721079314f3998ba34b602f961a7c1708fd65b

2: ERROR: /home/hockeymikey/Projects/XZ1_RR/repo/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155.41: COLUMN_DESTINATION cannot be resolved or is not a field ERROR: /home/hockeymikey/Projects/XZ1_RR/repo/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:160.41: COLUMN_FILE_NAME_HINT cannot be resolved or is not a field

In mean time use the git revert found in the first link and revert the DownloadProvider too.

3: https://github.com/LineageOS/android_packages_apps_Bluetooth/commit/c885854d5a839b03be8f9a24f50c3b360b1db40d

hockeymikey commented 4 years ago

Think these are fixed thanks to pulling of base from upstream LOS. If they're not for you, go to https://github.com/hockeymikey/android_packages_apps_Bluetooth, https://github.com/hockeymikey/android_packages_apps_ManagedProvisioning, https://github.com/hockeymikey/android_packages_providers_DownloadProvider and use the lineage-15.1-fix branch.