Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eea3fa66 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Do not rename R.java package" am: 0941dd3d

Change-Id: Ib047180cb4c70ce8f265e222a3f89aa0898eca0e
parents bc2e0f99 0941dd3d
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1669,6 +1669,16 @@ class Linker {
      context_->SetCompilationPackage(app_info.package);
    }

    // Determine the package name under which to merge resources.
    if (options_.rename_resources_package) {
      if (!options_.custom_java_package) {
        // Generate the R.java under the original package name instead of the package name specified
        // through --rename-resources-package.
        options_.custom_java_package = context_->GetCompilationPackage();
      }
      context_->SetCompilationPackage(options_.rename_resources_package.value());
    }

    // Now that the compilation package is set, load the dependencies. This will also extract
    // the Android framework's versionCode and versionName, if they exist.
    if (!LoadSymbolsFromIncludePaths()) {