Some clarifications in preparation to automatically order linker dependencies
Test: Browse the code and determine whether it's easier to understand
Bug: 66260943
Change-Id: I88c24a8a31ef68f428919087d206433659265684
diff --git a/android/paths.go b/android/paths.go
index 09f760a..f88d650 100644
--- a/android/paths.go
+++ b/android/paths.go
@@ -739,7 +739,7 @@
var partition string
if ctx.InstallInData() {
partition = "data"
- } else if ctx.Vendor() {
+ } else if ctx.InstallOnVendorPartition() {
partition = ctx.DeviceConfig().VendorPath()
} else {
partition = "system"