Uppercase the first letter of the class name to match Java conventions

Fixes https://github.com/libsdl-org/SDL/issues/8930
This commit is contained in:
Sam Lantinga 2024-03-03 16:56:29 -08:00
parent a4d7ff6751
commit 4189edaeb7
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ do
cd $folder
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
# Fill in a default Activity