summaryrefslogtreecommitdiff
path: root/java/dexpreopt_check.go
diff options
context:
space:
mode:
Diffstat (limited to 'java/dexpreopt_check.go')
-rw-r--r--java/dexpreopt_check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/dexpreopt_check.go b/java/dexpreopt_check.go
index 565901d35..4d0bc5997 100644
--- a/java/dexpreopt_check.go
+++ b/java/dexpreopt_check.go
@@ -59,7 +59,7 @@ func dexpreoptSystemserverCheckFactory() android.SingletonModule {
func getInstallPath(ctx android.ModuleContext, location string) android.InstallPath {
return android.PathForModuleInPartitionInstall(
- ctx, "", strings.TrimPrefix(location, "/")).ToMakePath()
+ ctx, "", strings.TrimPrefix(location, "/"))
}
func (m *dexpreoptSystemserverCheck) GenerateAndroidBuildActions(ctx android.ModuleContext) {