summaryrefslogtreecommitdiff
path: root/java/bootclasspath_fragment.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-01-23 17:52:13 -0800
committer Cole Faust <colefaust@google.com> 2024-01-23 18:01:47 -0800
commit22e8abcaa6f060f06e068b2b4826460a3b4af1cf (patch)
treedecaab1b7001aaec4135c9a4bf7ad0f8334aacf7 /java/bootclasspath_fragment.go
parent537689276227f95fab4b628d71f0db26e8c4892d (diff)
Make hiddenAPIFlagFileCategory an int
hiddenAPIFlagFileCategory used to contain function pointers, and is used in a provider. Providers must be serializable for incremental soong support, so the function pointers must be removed. Refactor hiddenAPIFlagFileCategory into a simple int. Bug: 322069292 Test: m nothing --no-skip-soong-tests Change-Id: I2bd50fa1b59979f30869b405314cbef16ee345f1
Diffstat (limited to 'java/bootclasspath_fragment.go')
-rw-r--r--java/bootclasspath_fragment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/bootclasspath_fragment.go b/java/bootclasspath_fragment.go
index c89c64358..2c13d99e9 100644
--- a/java/bootclasspath_fragment.go
+++ b/java/bootclasspath_fragment.go
@@ -949,7 +949,7 @@ func (b *bootclasspathFragmentSdkMemberProperties) AddToPropertySet(ctx android.
builder.CopyToSnapshot(p, dest)
dests = append(dests, dest)
}
- hiddenAPISet.AddProperty(category.PropertyName, dests)
+ hiddenAPISet.AddProperty(category.PropertyName(), dests)
}
}
}