af70288ee0
Merge pull request #51586 from m4gr3d/investigate_godot_resume_stalls_master
...
Resolve issue where the Godot app remains stuck when resuming.
2021-08-13 08:43:59 +02:00
e73e336e3b
Add support for prompting the user to retain app data on uninstall.
...
Supported on Android 10 and higher.
2021-08-12 22:16:14 -07:00
28a99e4cf6
Resolve issue where the Godot app remains stuck when resuming.
...
This was caused by the fact that a new instance of Godot was created at resume while a previous instance already existed.
The previous instance would then go through its cleanup lifecycle, and would thus attempt to close the entire app, leading to the system to restart the app, thus starting the cycle anew.
The fix involves reusing the previous instance of Godot if one is available instead of creating a new one, as well as giving control to the host activity for how the process should be terminated.
2021-08-12 21:05:18 -07:00
20b3e2cc94
Properly finishes Godot's Android activity when destroyed by the system
2021-08-12 15:33:51 +02:00
3564c16cb8
Fix various typos with codespell
...
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25 11:21:51 +02:00
fa587778d8
Disable resource optimizations for release builds as it breaks the legacy build system.
2021-07-20 16:44:04 -07:00
5d7c23dcc6
Merge pull request #50220 from madmiraal/fix-50125
...
Queue the calls to GodotLib.key when Android virtual done is pressed
2021-07-06 23:46:21 +02:00
57317ce7b8
Remove Android onKeyMultiple override
2021-07-06 17:39:42 +01:00
1856f16378
Queue the calls to GodotLib.key when Android virtual done is pressed
2021-07-06 17:32:09 +01:00
c47b6f4b5c
Merge pull request #50107 from madmiraal/android-use-lambdas
...
Replace single method anonymous classes with lambdas in Godot Java code
2021-07-06 18:10:38 +02:00
23e152040b
Use static inner classes in Godot Java code
2021-07-03 05:50:04 +01:00
a7825ca12a
Replace single method anonymous classes with lambdas in Godot Java code
2021-07-03 05:13:31 +01:00
f2229bb1ea
Merge pull request #50085 from madmiraal/android-replace-stringbuffer
...
Use StringBuilder instead StringBuffer in Godot Java code
2021-07-02 22:09:50 +02:00
aee59c3547
Merge pull request #50083 from madmiraal/android-fix-raw-use
...
Fix raw use of parameterized Class
2021-07-02 22:09:39 +02:00
3f95bbed73
Remove redundant explicit types in Godot Java code
2021-07-02 17:45:30 +01:00
61ee51d2bf
Use StringBuilder instead StringBuffer in Godot Java code
2021-07-02 16:57:12 +01:00
710effdaad
Merge pull request #50078 from madmiraal/android-remove-unused-imports
2021-07-02 17:45:29 +02:00
d237f7d33d
Fix raw use of parameterized Class
2021-07-02 16:35:52 +01:00
a38fd4a4c2
Remove unused imports from Android Java code
2021-07-02 12:57:55 +01:00
6ef0b8fcd3
Merge pull request #50074 from madmiraal/android-replace-c-array
...
Use Java array declarations not C-style declarations in Android Java code
2021-07-02 13:44:22 +02:00
42184dd6d5
Merge pull request #50072 from madmiraal/android-remove-interface-modifiers
...
Remove redundant interface modifiers from Android Java code
2021-07-02 12:35:14 +02:00
721b3d56c5
Use Java array declarations not C-style declarations in Android Java code
2021-07-02 11:09:09 +01:00
a74e803a4f
Remove redundant interface modifiers from Android Java code
2021-07-02 09:37:45 +01:00
360447001d
Remove unnecessary semicolons from Android Java code
2021-07-02 08:54:09 +01:00
40a594c6ea
Android: Add isGame application attribute, default to true
...
It can be turned off in the export preset with `package/classify_as_game`.
Upstream definition: https://developer.android.com/guide/topics/manifest/application-element#isGame
> `android:isGame`
>
> Whether or not the application is a game. The system may group together
> applications classifed as games or display them separately from other
> applications.
Also fixes replacing `android:allowBackup` in custom builds.
2021-07-01 11:00:23 +02:00
8270e101a7
Fix unchecked call to put() warning in GodotInputHandler.java
2021-06-30 12:13:05 +01:00
d1a9363c4c
Update config versions and deprecate the use of the jcenter maven repo.
2021-06-24 08:58:56 -07:00
532b0e3462
Add support for custom debug keystore.
2021-06-22 10:05:55 -07:00
bc1fcb9c65
Merge pull request #49435 from madmiraal/add-android-external-dir
...
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 22:11:02 +02:00
b3a962945e
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 16:48:17 +01:00
4ba2ed332e
Remove unused AudioDriverAndroid from Android
2021-06-10 08:32:56 +01:00
d567abd714
Merge pull request #49382 from akien-mga/misc-cleanup
...
Style: Cleanup uses of double spaces between words
2021-06-07 11:57:47 +02:00
c1c76850cb
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
2021-06-07 11:03:08 +02:00
78e791045c
Update Gradle archiveName and destinationDir properties
2021-06-07 06:41:10 +01:00
5634093703
Fixed screen orientation on Android
2021-05-24 16:58:35 -07:00
f5b5e00a01
Android: Add support for cursor icons
2021-05-19 22:01:51 +03:00
47bf216af9
[Android] fix generateDevTemplate
2021-04-28 21:59:42 +03:00
b999fbc4bd
Merge pull request #48228 from akien-mga/android-build-tools-30.0.3
...
Android: Upgrade buildTools from 30.0.1 to 30.0.3
2021-04-27 18:42:23 +02:00
abb21844d8
Remove deprecated xr features properties. These properties are now provided directly by the plugin.
2021-04-26 13:20:12 -07:00
d88e1f04df
Android: Upgrade buildTools from 30.0.1 to 30.0.3
...
It seems 30.0.1 had issues with compatibility with JDK 8 and 11,
which appear to be solved in 30.0.3 as per godotengine/godot-docs#4796 .
2021-04-26 17:22:53 +02:00
c395b9c4ac
Merge pull request #47552 from szymonm-google/validation_layers_android
...
Validation layers on Android
2021-04-20 20:53:34 +02:00
e598acff3a
Allow to build dev template with symbols
2021-04-14 00:14:57 +03:00
a9c29fdc1f
Merge pull request #47844 from m4gr3d/update_activity_result_callback
...
Add support for forwarding callbacks from Godot's parent activity
2021-04-13 10:10:29 +02:00
1f16ba2696
Add support for forwarding callbacks from Godot's parent activity.
2021-04-12 16:48:35 -07:00
b51dc2dc44
Fix custom boot splash image scaling.
2021-04-12 16:38:41 -07:00
0a29322991
Validation layers on Android
2021-04-12 10:09:06 -07:00
a21457155b
Fix issue causing the response callback to be invoked with the invalid requestCode and deprecate support for forwarding callbacks from Godot's parent activity.
2021-04-09 13:42:49 -07:00
b3a43430aa
Fixes on android:
...
- creating Vulkan context instead of OpenGL
- checking for validity of ENV in wrapper classes
- fix for access to JavaVM from threads
2021-03-18 10:41:54 +11:00
8f285d93e8
Fix onMainRequestPermissionsResult callback for Android plugins.
2021-03-17 09:23:58 -07:00
4380004176
Enable doNotStrip when doing development/debugging within Android Studio
2021-03-16 17:21:00 -07:00