Procházet zdrojové kódy

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

Fixes https://github.com/libsdl-org/SDL/issues/8930
Sam Lantinga před 2 roky
rodič
revize
4189edaeb7
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      build-scripts/androidbuild.sh

+ 2 - 1
build-scripts/androidbuild.sh

@@ -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