Commit Graph

832 Commits

Author SHA1 Message Date
Anish Kumar 8402ed6435 Android: Fix crash when emitting signal with java.util.HashMap
(cherry picked from commit 5387f0d596dde3583e1e6c4c856ceba7ac046825)
2026-03-18 10:37:18 -05:00
Anish Kumar ceb9fdbd65 Android: Fix FileAccess crash when using treeUri in Gradle-built apps
(cherry picked from commit ed8853b8d123b458b2a387be708fec9b2486276f)
2026-03-06 15:18:34 +01:00
Anish Kumar 701ae9e552 Enable native file picker support on Android 9 and older
(cherry picked from commit c7e5caa68eb97db400160a71082cdde1a183965f)
2026-03-05 13:29:40 -06:00
Anish Kumar d338295d3e Fix file access tests failing on older Android devices
(cherry picked from commit ddffef6fb17231791b39d4f59440636293883998)
2026-03-05 10:36:09 -06:00
David Snopek 310e1317b0 Android: Fail instrumented tests when test function doesn't complete
(cherry picked from commit ec404a91d37f17ac9bfc7958a70888828846b22d)
2026-03-05 10:36:00 -06:00
Anish Kumar ac86b22f3b Fix crash in StorageScope.kt on Android
(cherry picked from commit 40b770ecf019c3742b4dbc9a8ce7b11168f99824)
2026-02-05 10:05:06 -06:00
Anish Kumar a570951ff4 Android: Fix Bad file descriptor in SAF/MediaStore in long term access
(cherry picked from commit 1c80b25af8c6c6f8cf6c80b96e7fdb10a18efa8a)
2026-02-05 10:05:00 -06:00
Rémi Verschelde 4595e5fc6c Merge pull request #114207 from m4gr3d/fix_anr_on_exit
Android: Fix ANRs when shutting down the engine due to the render thread
2026-01-08 22:57:13 +01:00
Fredia Huya-Kouadio 422cc7b91b Fix ANRs when shutting down the engine 2026-01-07 13:40:06 -08:00
Pāvels Nadtočajevs f10b71ff56 [Android/Gradle] Do not ignore asset folders starting with _. 2026-01-02 22:08:24 +02:00
Rémi Verschelde 16975f5c24 Merge pull request #114465 from m4gr3d/fix_editor_hybrid_app_support_detection
[Android editor] Restrict Android editor support for hybrid app projects to XR devices
2026-01-01 16:47:59 +01:00
Rémi Verschelde d45718ecb4 Merge pull request #114334 from Nintorch/android-fix-joypad-fingerprints
Fix Android fingerprint scanners being recognized as joypads
2026-01-01 16:47:09 +01:00
Fredia Huya-Kouadio 185a4abcb5 Fix hybrid app support detection for the Android editor 2025-12-31 19:17:56 -08:00
Fredia Huya-Kouadio be24804e1a Trigger save of the RD pipeline cache on application pause 2025-12-30 19:25:29 -08:00
Anish Kumar 614e35f04b Fix AAB file not copied to export path 2025-12-28 03:54:21 +05:30
Nintorch 66e357f29a Joypads: ignore Android fingerprint scanners
Fix Android fingerprint scanners being detected as joypads
2025-12-26 23:28:47 +05:00
Thaddeus Crews 5311b5e4d0 Merge pull request #113878 from m4gr3d/fix_obb_dir_access
Fix storage scope for the obb directory
2025-12-15 08:01:14 -06:00
Fredia Huya-Kouadio c9fb6a3040 Ensure that the permission requests results are dispatched on the render thread 2025-12-12 14:38:54 -08:00
Fredia Huya-Kouadio 280120b1f8 Add instrumentation tests to validate obb directory access 2025-12-12 14:20:13 -08:00
Fredia Huya-Kouadio b40afd6781 Fix storage scope for the obb directory 2025-12-10 21:58:40 -08:00
Fredia Huya-Kouadio 27e63aa270 Update the version of the OpenXR Vendors plugin to the latest stable version 2025-12-05 09:00:13 -08:00
Thaddeus Crews bed803fcda Merge pull request #113367 from syntaxerror247/persistable_uri_perm
Android: Add method to take persistable URI permission
2025-12-02 11:52:09 -06:00
Thaddeus Crews cd8a292324 Merge pull request #113297 from shiena/feature/lifecycle-callbacks
Add platform lifecycle callbacks to CameraServer base class
2025-12-02 11:51:52 -06:00
Anish Kumar 398927226e Android: Add method to take persistable URI permission 2025-12-02 19:40:49 +05:30
Rémi Verschelde 12ca45a905 Merge pull request #112215 from syntaxerror247/SAF-support
Android: Implement Storage Access Framework (SAF) support
2025-12-02 14:15:53 +01:00
KOGA Mitsuhiro 85ec5b9f42 Add platform lifecycle callbacks to CameraServer base class 2025-12-02 00:31:51 +09:00
Fredia Huya-Kouadio 0f160c7293 Fix Android build regression introduced by https://github.com/godotengine/godot/pull/110829 2025-12-01 01:21:32 -08:00
David Snopek 5593a0b2b2 Enable Gradle builds on the Android editor via a dedicated build app
Co-authored-by: Logan Lang <devloglogan@gmail.com>
2025-11-27 11:03:06 -06:00
Rémi Verschelde b22d15311c Merge pull request #113159 from dsnopek/android-variant-to-jvalue-memory-issues
Android: Fix memory issues in `_variant_to_jvalue()`
2025-11-27 09:56:04 +01:00
David Snopek c2f8d1a29b Android: Fix memory issues in _variant_to_jvalue() 2025-11-26 11:17:34 -06:00
Fredia Huya-Kouadio 023024440b Deprecate and remove vendors specific XR APIs from the Godot core Android library
Follow-up to https://github.com/GodotVR/godot_openxr_vendors/pull/380, done in order to prevent vendors specific dependencies onto the Godot core Android library.
2025-11-25 17:06:43 -08:00
Anish Kumar 60d20ab038 Android: Implement Storage Access Framework (SAF) support 2025-11-26 02:37:30 +05:30
Fredia Huya-Kouadio 3206e28c8d Ensure that the Android editor properly passes hybrid data when switching mode 2025-11-20 19:13:02 -08:00
Thaddeus Crews b0a03edce0 Merge pull request #106891 from BastiaanOlij/openxr_core_android_loader
OpenXR add core support for Khronos loader
2025-11-20 16:47:00 -06:00
Bastiaan Olij c056cae437 OpenXR add core support for Khronos loader 2025-11-19 11:54:25 +11:00
Anish Kumar acdace4f00 Android Editor: Fix padding for display cutout in fullscreen mode 2025-11-17 19:00:37 +05:30
Thaddeus Crews fa451cd05b Merge pull request #112777 from m4gr3d/add_android_xr_support
[Android editor] Add support for Android XR devices to the Godot XR Editor
2025-11-14 17:16:49 -06:00
Thaddeus Crews e46c2ea3fa Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00
Fredia Huya-Kouadio 353c871160 Add support for Android XR devices to the Godot XR Editor 2025-11-14 11:54:53 -08:00
Thaddeus Crews cf0d2d724e Merge pull request #112585 from syntaxerror247/fix-ui-issue
Android: Fix root window shrinking when keyboard appears
2025-11-13 20:52:13 -06:00
Fredia Huya-Kouadio 2ed51e00a1 Make use of activity-alias as the launcher mechanism for the Godot editor and the Godot app template 2025-11-13 10:17:43 -08:00
Anish Kumar 941aff3c06 Android: Fix root window shrinks when keyboard shows 2025-11-09 20:07:43 +05:30
Benjamin Dobell 84365402f8 Android: Fixed assets:// access i.e. fixed .pck from assets:// 2025-11-07 23:42:22 +11:00
Pāvels Nadtočajevs 281c74550a Make utterance_id 64-bit. 2025-11-07 10:21:20 +02:00
Max Hilbrunner 5e07b74bf5 Update Android build tools to version 35.0.1 2025-11-05 14:29:56 +01:00
Serhii Snitsaruk b0cb297cde Fix 64-bit integers being truncated to 32-bit in JNI 2025-10-30 22:57:53 +01:00
Fredia Huya-Kouadio 16bdc8c4f1 Add Android instrumented tests to the app module
This builds on the work from @dsnopek in https://github.com/dsnopek/javaclasswrapper-test, by importing the set of JavaClassWrapper tests from that repo within the Godot core repo in order to bootstrap and standardize how we write and run Android instrumented tests.
The approach used here should serve as a base to build upon to expand the set of instrumented tests used to validate the project's stability.

Co-authored-by: David Snopek <dsnopek@gmail.com>
2025-10-24 07:46:22 -07:00
Fredia Huya-Kouadio 5277c94fe4 Update the source sets configuration for the app and lib modules to match the default configuration
Both the `app` and `lib` modules had custom source sets configuration originating from the early days of the project. This updates the configuration to match the default Android Studio configuration which will simplify the addition of unit tests and instrumented tests to the project.

Note that for backcompat reasons, some folders (such as the `res` folder in the `app` module) are left as is.
2025-10-24 07:44:19 -07:00
KOGA Mitsuhiro 4483871cd3 Android: Stabilize camera lifecycle handling
- Pause camera feeds during lifecycle transitions to avoid crashes
- Refresh camera metadata after rotation to keep orientation accurate
2025-10-23 01:32:16 +09:00
Thaddeus Crews 70f07467be Merge pull request #110127 from AayushSarikhada/android-back-gesture-fail-fix
Fix Android back gesture failing after keyboard dismissal
2025-10-21 19:09:27 -05:00