From f03a3b00feec0be9d7dc5d45d9663683f9e15518 Mon Sep 17 00:00:00 2001 From: William Escande Date: Wed, 7 Sep 2022 17:30:32 -0700 Subject: [PATCH] Remove obsolete com.android.bluetooth apex Also remove the soong hack that allowed us to build during the transition Bug: 243054261 Test: build + TH Merged-In: I60bac1ec687f03a38f38240969a1c38a8e5bf92c Change-Id: I60bac1ec687f03a38f38240969a1c38a8e5bf92c --- android/apex.go | 2 -- apex/apex.go | 30 ------------------------------ 2 files changed, 32 deletions(-) diff --git a/android/apex.go b/android/apex.go index 00b724137..3c945ae6a 100644 --- a/android/apex.go +++ b/android/apex.go @@ -454,8 +454,6 @@ 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)) || // TODO b/243054261 - (what == "com.android.bluetooth" && InList("com.android.btservices", apex_available)) || // TODO b/243054261 (strings.HasPrefix(what, "com.android.gki.") && InList(AvailableToGkiApex, apex_available)) } diff --git a/apex/apex.go b/apex/apex.go index 949809ad9..2e54e7e6a 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -3054,36 +3054,6 @@ func makeApexAvailableBaseline() map[string][]string { // // Module separator // - m["com.android.bluetooth"] = []string{ - "bluetooth-protos-lite", - "internal_include_headers", - "libaudio-a2dp-hw-utils", - "libaudio-hearing-aid-hw-utils", - "libbluetooth", - "libbluetooth-types", - "libbluetooth-types-header", - "libbluetooth_gd", - "libbluetooth_headers", - "libbluetooth_jni", - "libbt-audio-hal-interface", - "libbt-bta", - "libbt-common", - "libbt-hci", - "libbt-platform-protos-lite", - "libbt-protos-lite", - "libbt-sbc-decoder", - "libbt-sbc-encoder", - "libbt-stack", - "libbt-utils", - "libbtcore", - "libbtdevice", - "libbte", - "libbtif", - "libchrome", - } - // - // Module separator - // m["com.android.cellbroadcast"] = []string{"CellBroadcastApp", "CellBroadcastServiceModule"} // // Module separator