summaryrefslogtreecommitdiff
path: root/x15-main-workarounds-auto
blob: dfb4ab13ef27c410af03fc26c7b2325adce6f4b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/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

## auto: enable ENABLE_EVS_SERVICE and more settings
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/2263404
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 2263404/2

## Revert "Request correct rendering type for EGL config"
#revert frameworks/base d93f7b274b1ecc6e62e69d2be08cf48a34e5a65f