From 7ba1ca0ac3f08cfda1d5455ed194123ac654bf03 Mon Sep 17 00:00:00 2001 From: Jiakai Zhang Date: Wed, 10 May 2023 17:04:53 +0100 Subject: Unify installDirOnHost and installDirOnDevice. These two fields never do what they are described to do. This CL unifies them to avoid the confusion. Bug: 280440941 Test: m (cherry picked from https://android-review.googlesource.com/q/commit:09d88df0407263e846b01c226184b262f2e36678) Merged-In: I3652d73a50832a2e494d9f5cae750f5fc38293b4 Change-Id: I3652d73a50832a2e494d9f5cae750f5fc38293b4 --- java/testing.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'java/testing.go') diff --git a/java/testing.go b/java/testing.go index 4ff2aa497..6671bf0c7 100644 --- a/java/testing.go +++ b/java/testing.go @@ -610,9 +610,9 @@ func FixtureModifyBootImageConfig(name string, configModifier func(*bootImageCon }) } -// Sets the value of `installDirOnDevice` of the boot image config with the given name. +// Sets the value of `installDir` of the boot image config with the given name. func FixtureSetBootImageInstallDirOnDevice(name string, installDir string) android.FixturePreparer { return FixtureModifyBootImageConfig(name, func(config *bootImageConfig) { - config.installDirOnDevice = installDir + config.installDir = installDir }) } -- cgit v1.2.3-59-g8ed1b