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

Commit bac4ee00 authored by Joseph Murphy's avatar Joseph Murphy Committed by Gerrit Code Review
Browse files

Merge "Adds a workaround to fix version inconsistency"

parents 556dafcd bc98d2ff
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -389,8 +389,10 @@ func (r *robolectricRuntimes) GenerateAndroidBuildActions(ctx android.ModuleCont
		}
		runtimeFromSourceJar := android.OutputFileForModule(ctx, runtimeFromSourceModule, "")

		// TODO(murj) Update this to ctx.Config().PlatformSdkCodename() once the platform
		// classes like android.os.Build are updated to S.
		runtimeName := fmt.Sprintf("android-all-%s-robolectric-r0.jar",
			ctx.Config().PlatformSdkCodename())
			"R")
		installedRuntime := ctx.InstallFile(androidAllDir, runtimeName, runtimeFromSourceJar)
		r.runtimes = append(r.runtimes, installedRuntime)
	}