Commit Graph

374 Commits

Author SHA1 Message Date
ahmed siddique
2af857e2c1 Android SingleInstanceService fixes for crash and activity switching.Also updated ASISStub and output ASISProject
#rb Chris.Babcock, matthew.sorrels
#android

[CL 31009144 by ahmed siddique in ue5-main branch]
2024-01-30 11:45:19 -05:00
rafa lecina
6a39de8a9f Update GooglePlay games dependencies. This includes
- Create our own JNI wrapper on top of latest play-services-games-v2 classes
 - Adapt OSSGooglePlay to use this wrapper
 - Remove deprecated/unsupported functionality
 - Fix some issues with JNI support

#jira UE-201481
[REVIEW] [at]Michael.Kirzinger, [at]Chris.Babcock, [at]Bertrand.Carre
#rb Chris.Babcock, Michael.Kirzinger, Sam.Zamani

[CL 30963393 by rafa lecina in ue5-main branch]
2024-01-29 03:39:53 -05:00
ahmed siddique
81e2dbfee7 Android SingleInstance Services fixes to address crash and activity/surface binding issues.
known issues remaining: have to pause before switching surface binding (should be handled internally eventually)
need to finish up the changes for compiling reference ASIS android studio project samlple. This will be in another submit.
#rb chris.babcock
#android

[CL 30685682 by ahmed siddique in ue5-main branch]
2024-01-18 11:23:13 -05:00
chris babcock
3dcdaa237d Fix usage of _activity errors
#android
[REVIEW] [at]Ben.Temple
#rb Ben.Temple

[CL 30342745 by chris babcock in ue5-main branch]
2023-12-14 22:26:25 -05:00
ahmed siddique
503fa43a47 Android Single Instance Service missing files for packaging and shortname for build.cs
#android
#rb Chris.Babcock
#jira UE-202407

[CL 30295656 by ahmed siddique in ue5-main branch]
2023-12-13 12:01:40 -05:00
chris babcock
3e9372f623 Add protection to InputDevice check for gamepads
#android
[REVIEW] [at]Allan.Bentham
#rb Allan.Bentham

[CL 30162138 by chris babcock in ue5-main branch]
2023-12-06 13:56:11 -05:00
dmytro ivanov
472be09f89 Enable memory tracing on Android
#jira UE-200096
#rb ionut.matasaru, Johan.Berg

[CL 29637861 by dmytro ivanov in ue5-main branch]
2023-11-10 08:42:29 -05:00
allan bentham
740be9fb4c Reduce PSO compiler service priority.
- reduces likelihood of PSO tasks starving application of cpu cycles.
#rb jack.porter

[CL 29041795 by allan bentham in ue5-main branch]
2023-10-24 06:20:37 -04:00
allan bentham
fd99ee36dc Android:
- Add engine access to java thermal headroom api.
 - Add 'thermal stress' to perf reports. (see powermanager.getthermalheadroom)
 - Add rss as separate property of android mem stats
#rb jack.porter

[CL 29032044 by allan bentham in ue5-main branch]
2023-10-24 02:40:54 -04:00
dmytro ivanov
32d57e9b28 Don't bundle libUnreal.so in .apk for faster iteration
#jira UE-186383
#rb Chris.Babcock

[CL 28967167 by dmytro ivanov in ue5-main branch]
2023-10-20 11:24:28 -04:00
allan bentham
bcf47fc734 Android: Update memory advisor to v2.0.1
- Add new total memory estimate to logs and crash context.
 - Add memory available estimate to logs and crash context.

#rb chris.babcock

[CL 28450956 by allan bentham in ue5-main branch]
2023-10-04 08:08:04 -04:00
allan bentham
f5e0f0b7ca Android: Add 'Product name' to android misc, gives access to the device's marketing/product name - if available.
#rb chris.babcock

[CL 28268625 by allan bentham in ue5-main branch]
2023-09-27 06:36:53 -04:00
thomas ross
c549d7a65d Android Studio build improvements:
- Allow pass through of BypassGradlePackaging argument in UBT
- Allow setting skippackage to actually skip packaging on Android in UBT
- Fix to Android Studio detection to skip build.gradle stomping when building in RunUAT or VisualStudio. Requires setting File > Settings > Build, Execution, Deployment > Build Tools > Gradle > "Generate *.iml files for modules imported from Gradle"
- Save RunConfiguration for app config in AndroidStudio so that we can load already having the debugger set to dual and the correct LLDB StartupCommand set.
#tests Android, Dev, Client, compile, mobile
#rb swarm

[CL 28206857 by thomas ross in ue5-main branch]
2023-09-25 17:28:13 -04:00
allan bentham
9abf69f0bd Android Vulkan external PSO compiler precache support
- currently default disabled.
 - external PSO compilers now pass shared memory blocks back and forth to the engine.
 - When precaching and external compilers are enabled the external compilers are created during RHI init.
 - Chunked Pipeline cache can do limited tests to check if a PSO is required before compiling (where EXTPipelineCreationCacheControl is supported)
 - added vulkan GetPrecachePSOHashVersion that should be updated if RHIComputePrecachePSOHash changes.
 - Updated vulkan's PrecachePSOHash.

#rb chris.babcock, Dmitriy.Dyomin
[FYI] jeannoe.morissette

[CL 28130863 by allan bentham in ue5-main branch]
2023-09-22 08:09:25 -04:00
chris babcock
4ad0ca0255 Add null clipboard item check
#jira UE-195530
#android
[REVIEW] [at]Ben.Temple
#rb Ben.Temple

[CL 27897216 by chris babcock in ue5-main branch]
2023-09-14 17:44:09 -04:00
allan bentham
93f523c936 Fix Android PSO program service initialization failure when application is backgrounded during engine init.
- service timeout error was thrown since connection does not complete when app is backgrounded.
#rb chris.babcock

[CL 27713622 by allan bentham in ue5-main branch]
2023-09-08 11:51:50 -04:00
wei liu
ef3db73069 Fix the Safezone updated incorrectly issue, the SafeFrameChangeEvent needs to be triggered after the orientation changed.
Fix the Gyro broken issue.


#rb Allan.Bentham, Chris.Babcock

[CL 27434423 by wei liu in ue5-main branch]
2023-08-28 22:30:51 -04:00
ismael desouza
09299f3b2e Fix left/right triggers not functional when connecting over xbox one wired controller
-Added proper product and vendor IDs to the list of known XBox wired controllers

[CL 26991255 by ismael desouza in ue5-main branch]
2023-08-10 10:09:35 -04:00
nicolas potvin
1aeafcc15d Fix for [Mobile] [Luna Controller] The left and right triggers are not functional
-> Added a name check for Luna controllers, to enable using the threshold to consider pulling triggers as "button presses".
   -> Added controller info to GameActivity

[REVIEW] [at]Mathieu.Roy [at]Ghislain.Theriault [at]Bernard.Lambert [at]Chris.Babcock

#rnx

[CL 26771341 by nicolas potvin in ue5-main branch]
2023-08-02 10:21:05 -04:00
wei liu
b9cd7267df Fix the screen resolution (on mobile) stretched issue when casted to a larger screen with a USBC to HDMI cable.
#b Chris.Babcock, Allan.Bentham

[CL 26602466 by wei liu in ue5-main branch]
2023-07-26 06:46:11 -04:00
dmytro ivanov
6531c32f20 Fixing broken .apk generation when iterating
#jira UE-188461
#rb Chris.Babcock

[CL 25946813 by dmytro ivanov in ue5-main branch]
2023-06-13 04:37:50 -04:00
Chris Babcock
cd98a42dbc Fix up Lyra warnings
#jira UE-187229
#android
#review @Ryan.Hummer
#rb Ryan.Hummer

#preflight https://horde.devtools.epicgames.com/job/6478f6e77a6aeda41b5a5ed2

[CL 25743610 by Chris Babcock in ue5-main branch]
2023-06-01 17:30:34 -04:00
dmytro ivanov
894b85c74c Removing emoji filtering on Android
Originally 25582853
#jira UE-186846
#rb Chris.Babcock
#preflight 647709e303438130a456974f

[CL 25698473 by dmytro ivanov in ue5-main branch]
2023-05-31 05:12:51 -04:00
chris babcock
6cb1dc628b Add additional Razer Kishi gamepad
#android
[REVIEW] [at]Mic.Rooney
#rb Mic.Rooney

#preflight none

[CL 25694689 by chris babcock in ue5-main branch]
2023-05-30 19:28:40 -04:00
Chris Babcock
a7b817d8ca Upgrade Android Studio and Gradle (OpenJDK 17 from 2202.2.1 and Gradle 7.5)
#jira UE-182869
#android
#review @Jack.Porter
#rb Ben.Temple

#preflight https://horde.devtools.epicgames.com/job/6470fd1fd729def34b72a8ff

[CL 25651882 by Chris Babcock in ue5-main branch]
2023-05-26 16:03:01 -04:00