blob: 61a70071f5b2767b1be4347a313d3d55c6049213 [file] [log] [blame]
#!/bin/bash
. $(dirname $0)/functions
PATCHES=0
if [ -n "$1" ]; then
AOSP="$1"
else
AOSP="`pwd`"
fi
if ! [ -d "$AOSP" ] && ! [ -d "$AOSP/bionic" ] && [ -d "$AOSP"/build ]; then
echo "This script must be run from the AOSP source directory"
echo "or with the AOSP source directory as its first parameter."
exit 1
fi
######################################################
## workaround for TI projects
######################################################
## tablet_core_hardware_beagle_x15.xml: enable android.hardware.bluetooth
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/2074439
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 2074439/3
## auto: disable GnssTimeUpdateService via overlay
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/2074440
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 2074440/1
## manifest.xml: update FCM Version to 4 for API LEVEL 29
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/2005371
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 2005371/1
## beagle_x15: Enabled video playback
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1919397
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1919397/3
## beagle_x15: Adding Audio HAL support
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1919398
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1919398/3
## beagle_x15: fix settings for soundtrigger
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1919399
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1919399/2
## x15: initial setup to enable webcamera
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1923497
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1923497/3