mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user