diff --git a/extract_utils.sh b/extract_utils.sh index 34801fe..6c28ed0 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -826,7 +826,7 @@ function write_product_packages() { write_blueprint_packages "JAVA_LIBRARIES" "product" "" "P_FRAMEWORK" >> "$ANDROIDBP" fi local SE_FRAMEWORK=( $(prefix_match "system_ext/framework/") ) - if [ "${#P_FRAMEWORK[@]}" -gt "0" ]; then + if [ "${#SE_FRAMEWORK[@]}" -gt "0" ]; then write_blueprint_packages "JAVA_LIBRARIES" "system_ext" "" "SE_FRAMEWORK" >> "$ANDROIDBP" fi local O_FRAMEWORK=( $(prefix_match "odm/framework/") )