Hard-code apex_available handling for the btservices apex
Bug: 236192423 Test: TH Change-Id: Ie095ae22704a80e0ec171b1bb3fdc995f95a1c64
This commit is contained in:
committed by
Oriol Prieto Gascó
parent
489912283e
commit
8132fbf8c1
@@ -454,6 +454,7 @@ func CheckAvailableForApex(what string, apex_available []string) bool {
|
||||
}
|
||||
return InList(what, apex_available) ||
|
||||
(what != AvailableToPlatform && InList(AvailableToAnyApex, apex_available)) ||
|
||||
(what == "com.android.btservices" && InList("com.android.bluetooth", apex_available)) ||
|
||||
(strings.HasPrefix(what, "com.android.gki.") && InList(AvailableToGkiApex, apex_available))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user