Commit Graph

338 Commits

Author SHA1 Message Date
ahmed siddique
187fb013b4 New: cleanup ASIS impact on GameActivity
QA: should check this change to ensure the 4 finger touch and other crashes are addressed.
#android
#rb ahmed.siddique

[CL 32458987 by ahmed siddique in ue5-main branch]
2024-03-22 22:50:47 -04:00
ahmed siddique
3c41fc2ddc [Backout] - CL32410244
[FYI] ahmed.siddique
Original CL Desc
-----------------------------------------------------------------
New: Cleanup and simplify GameActivity.java.template changes to be less intrusive and support ASIS.
BugFix: Cleanup Android engine source logic to have minimal impact when not using ASIS.

#ushell-cherrypick of 32146848 by ahmed.siddique
#rb Chris.Babcock
#jira UE-210348, FORT-720545

[CL 32441502 by ahmed siddique in ue5-main branch]
2024-03-22 14:02:54 -04:00
ahmed siddique
b443cdcd68 New: Cleanup and simplify GameActivity.java.template changes to be less intrusive and support ASIS.
BugFix: Cleanup Android engine source logic to have minimal impact when not using ASIS.

#ushell-cherrypick of 32146848 by ahmed.siddique
#rb Chris.Babcock
#jira UE-210348, FORT-720545

[CL 32413941 by ahmed siddique in ue5-main branch]
2024-03-21 16:29:33 -04:00
chris babcock
e17b91a1ee Set input text to black on Android with new theme
#android
[REVIEW] [at]Peter.Sauerbrei
#rb Peter.Sauerbrei

[CL 31670774 by chris babcock in ue5-main branch]
2024-02-20 21:10:57 -05:00
ahmed siddique
3222d8487d Do cleanup in LaunchAndroid.cpp and remove any logic that was experimental
Cleanup runOnUiThread in SimpleContextWrapper.java
fixes bug for

#android
#rb chris.babcock

#changelist validated
#virtualized

[CL 31233409 by ahmed siddique in ue5-main branch]
2024-02-06 17:23:15 -05:00
allan bentham
7212e96ae9 EGL's Robust context can change the result of GL's shader compiler/linker.
Make sure the robust context setting is replicated on the external compilers services and also changes OGL shader cache hash when enabled.
#rb Chris.Babcock, Peter.Sauerbrei
[REVIEW] [at]chris.babcock, [at]peter.sauerbrei

[CL 31165214 by allan bentham in ue5-main branch]
2024-02-04 20:10:20 -05:00
ahmed siddique
79fccbac98 Refactoring onCreate for GameActivity and switching nativemain to use AndroidMain, also updating ASISStub to properly handle activity change and theme change.
Also added gradle build files for ASISStub to make it easier to use the sample android app to test Android Single Instance
Also fixes for Jira: UE-205628
Jira UEHMI-316
#android
#rb Chris.Babcock, matthew.sorrels
#jira UE-205628

[CL 31101181 by ahmed siddique in ue5-main branch]
2024-02-01 16:04:43 -05:00
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
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