summaryrefslogtreecommitdiff
path: root/filesystem/system_image.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-11-26 02:05:44 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-26 02:05:44 +0000
commit01d0c56f32062afbe37a6dedf6cfe2795ffb526d (patch)
tree31f41dac3d8ff2db8edb35797c776cd28752f689 /filesystem/system_image.go
parent301c01aec10893727c7021eb372b65a451c770ce (diff)
parentdf17e7b6c3c7d26efab1ec9fbcffdf16c325a229 (diff)
Merge "Reland: Do not allow vintf_fragments for modules installed in the filesystem" into main
Diffstat (limited to 'filesystem/system_image.go')
-rw-r--r--filesystem/system_image.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/filesystem/system_image.go b/filesystem/system_image.go
index d03eab45b..60a513346 100644
--- a/filesystem/system_image.go
+++ b/filesystem/system_image.go
@@ -63,3 +63,7 @@ func (s *systemImage) FilterPackagingSpec(ps android.PackagingSpec) bool {
(ps.Partition() == "system" || ps.Partition() == "root" ||
strings.HasPrefix(ps.Partition(), "system/"))
}
+
+func (s *systemImage) ShouldUseVintfFragmentModuleOnly() bool {
+ return true
+}