Merge "Fix: vendor and odm are restricted to use public platform properties"
This commit is contained in:
@@ -375,8 +375,8 @@ func syspropLibraryHook(ctx android.LoadHookContext, m *syspropLibrary) {
|
|||||||
if isProduct {
|
if isProduct {
|
||||||
// product can't own any sysprop_library now, so product must use public scope
|
// product can't own any sysprop_library now, so product must use public scope
|
||||||
scope = "public"
|
scope = "public"
|
||||||
} else if isVendor && !isOwnerPlatform {
|
} else if isVendor && isOwnerPlatform {
|
||||||
// vendor and odm can't use system's internal property.
|
// vendor and odm can only use the public properties from the platform
|
||||||
scope = "public"
|
scope = "public"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user