envsetup: Remove call to deprecated function

This allows us to get rid of the following warning when running
`breakfast` command:

add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead.

Change-Id: I5b05515465d40b9b77f74c69293a1431c5325f5d
This commit is contained in:
Bruno Martins
2019-09-11 21:54:28 +01:00
parent 85471bb4be
commit ae8f482a0c

View File

@@ -68,15 +68,6 @@ function breakfast()
{
target=$1
local variant=$2
LINEAGE_DEVICES_ONLY="true"
unset LUNCH_MENU_CHOICES
add_lunch_combo full-eng
for f in `/bin/ls vendor/lineage/vendorsetup.sh 2> /dev/null`
do
echo "including $f"
. $f
done
unset f
if [ $# -eq 0 ]; then
# No arguments, so let's have the full menu