mirror of https://github.com/libsdl-org/SDL
Uppercase the first letter of the class name to match Java conventions
Fixes https://github.com/libsdl-org/SDL/issues/8930
(cherry picked from commit 4189edaeb7
)
This commit is contained in:
parent
d35dee76c7
commit
a842bc29fa
|
@ -80,7 +80,8 @@ do
|
||||||
cd $folder
|
cd $folder
|
||||||
done
|
done
|
||||||
|
|
||||||
ACTIVITY="${folder}Activity"
|
# Uppercase the first char in the activity class name because it's Java
|
||||||
|
ACTIVITY="${folder^}Activity"
|
||||||
sed -i -e "s|\"SDLActivity\"|\"$ACTIVITY\"|g" $BUILDPATH/app/src/main/AndroidManifest.xml
|
sed -i -e "s|\"SDLActivity\"|\"$ACTIVITY\"|g" $BUILDPATH/app/src/main/AndroidManifest.xml
|
||||||
|
|
||||||
# Fill in a default Activity
|
# Fill in a default Activity
|
||||||
|
|
Loading…
Reference in New Issue