Commit Graph

338 Commits

Author SHA1 Message Date
joakim trossvik
42ec2d88c1 Change Memstats printing function.
Allow config to change printing interval
#rb Allan.Bentham
#preflight 63fe10baef1b24bf940947ad
#preflight 63fe202a437ce3e7f39245b1

[CL 24446338 by joakim trossvik in ue5-main branch]
2023-02-28 13:16:55 -05:00
Rafa Lecina
a4120e35ca Fix Find/Join session using OSSNull on Android.
In order to use multicast communication or broadcasts Android applications need the CHANGE_WIFI_MULTICAST_STATE permission and acquiring a WifiManager.MulticastLock

#jira UE-165411
#review @Bertrand.Carre, @Chris.Varnsverry, @Chris.Babcock, @Jack.Porter
#preflight 63e363beb923ed4bdd350643

[CL 24069824 by Rafa Lecina in ue5-main branch]
2023-02-08 04:18:21 -05:00
chris babcock
a2e6292e96 Update force feedback support on Android
- Use VibrationEffect for intensity control
- Forward feedback to controller(s) if Android.UseControllerFeedback non-zero (defaults to 1)
- Fix issue with fingerprint scanner false detection as controller
- Does not continue feedback when backgrounded

#jira UE-168579
#android
[REVIEW] [at]Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/63e2ff10c11233cdcab34b6e

[CL 24068849 by chris babcock in ue5-main branch]
2023-02-08 01:41:47 -05:00
Wei Liu
be6c26b029 Fix a bug that media couldn't resume after entering background on Android devices.
#jira none

#rb Chris.Babcock
#preflight 63e2e0231020773a3f45dce8

[CL 24062957 by Wei Liu in ue5-main branch]
2023-02-07 18:44:28 -05:00
Rafa Lecina
724827847d Allow purchasing multiple products in one transaction on GooglePlay Android
#jira UE-161334
#review @Bertrand.Carre, @Chris.Varnsverry, @Chris.Babcock, @Jack.Porter
#preflight 63d3ac375c69f453c10f6321

[CL 23987744 by Rafa Lecina in ue5-main branch]
2023-02-03 03:56:51 -05:00
maxime zobenbueler
3944711b21 Adding another way to get device metrics as Display#getRealSize() is deprecated in API level 31
[REVIEW] [at]Fourat.Jellouli
[RN] Adding another way to get device metrics for API level 31 and higher

[CL 23951452 by maxime zobenbueler in ue5-main branch]
2023-02-01 12:29:55 -05:00
dmytro vovk
01b0620d4b Added a way to provide command line to Android apps vis adb shell
#rb Chris.Babcock

[CL 23924006 by dmytro vovk in ue5-main branch]
2023-01-31 01:27:11 -05:00
allan bentham
ea0d9bc0eb Reduce PSO compiler service priority.
Fixes hitching while external PSO compiles are running.
#rb chris.babcock
#preflight 63d171c1574ab9cae4c92f61

[CL 23862719 by allan bentham in ue5-main branch]
2023-01-25 20:02:39 -05:00
chris babcock
2ee9d41108 Update Android controllers
#android
[REVIEW] [at]Josh.Adams
#rb Josh.Adams

[CL 23832046 by chris babcock in ue5-main branch]
2023-01-24 11:32:33 -05:00
Chris Babcock
26ad6a1644 Fix a range check in WebViewControl for Android that could cause a crash if character code not correct
#jira UE-173890
#android
#review @Josh.Adams
#rb Josh.Adams

#preflight https://horde.devtools.epicgames.com/job/63cf1b30bb143672422f888e

[CL 23824608 by Chris Babcock in ue5-main branch]
2023-01-23 19:01:27 -05:00
Chris Babcock
b7d532ee32 Add key support for Android WebBrowser widget
#jira UE-173890
#android
#review-23670839 @Victor.Brodin
#rb Victor.Brodin

#preflight

[CL 23745372 by Chris Babcock in ue5-main branch]
2023-01-17 16:19:32 -05:00
Wei Liu
51007a2bac Fix a copy-paste issue in android MediaPlayer14, WebView and CameraPlayer14
#jira none

#rb Chris.Babcock
#preflight 63bd7799c45a2c81e0022607

[CL 23626482 by Wei Liu in ue5-main branch]
2023-01-10 09:49:34 -05:00
Chris Babcock
2763393dbf Use an alternative bitmap rendering mode for Quest webview
#jira UE-150021
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/639ce5682540a78d275827d2

[CL 23542080 by Chris Babcock in ue5-main branch]
2022-12-16 17:07:47 -05:00
chris babcock
335ea429d8 Update Firebase to deal with IMMUTABLE crash
#jira UE-173021
#android
[REVIEW] [at]Sean.Campbell
#rb Sean.Campbell

#preflight 639b7e8035203bc7aa7af7eb

[CL 23532647 by chris babcock in ue5-main branch]
2022-12-15 17:03:41 -05:00
Chris Babcock
56fd4cd6cb Let Android WebBrowser handle mouse (forward to webview as touch events)
#jira UE-61616
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight 639b8e4743330e63e57f3150

[CL 23532316 by Chris Babcock in ue5-main branch]
2022-12-15 16:48:22 -05:00
chris babcock
333817f8ec Fix missing flag on PendingIntent for Target SDK 31+
#jira UE-170743
#android
[REVIEW] [at]Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/637c1cf88b12eb83a79559ca

robomerge[FN_EngineMerge] -UE5-RES

[CL 23232485 by chris babcock in ue5-main branch]
2022-11-22 04:20:59 -05:00
dmitriy dyomin
30bfa72155 Fixed: occasional crash at android.view.Surface.checkNotReleasedLocked(Surface.java:753) when app is backgrounded
[CL 22406650 by dmitriy dyomin in ue5-main branch]
2022-10-07 15:09:39 -04:00
dmitriy dyomin
ffb20c0007 Fixed: Frame stuterring on devices wtih a non standard 'Motion Smoothness' on
#rb jack.porter

[CL 22112950 by dmitriy dyomin in ue5-main branch]
2022-09-21 10:47:00 -04:00
allan bentham
af635a442b Fix proguard exceptions for Android PSO compiler services JNI.
#rb chris.babcock, carl.lloyd

[CL 22039838 by allan bentham in ue5-main branch]
2022-09-15 18:02:06 -04:00
Rafa Lecina
991f7d00cc - Update Google Billing Library to v5 and fix or mitigate several issues found before the update
Included update and fixes together because the update was affecting how the fixes would be implemented

UE-160024:
 - Updated Google Billing Library to v5.
 - Many types and methods changed.
 - Cleaned up unused/non accessible/non needed methods and interfaces from GooglePlayStoreHelper.java, GameActivity.java.template and additions from OnlineSubsystemGooglePlay_UPL.xml
 - Used a uniform code style on GooglePlayStoreHelper.java (tried to be near the C++ guidelines)
 - Also follow C++ code guidelines and naming on the Java native functions implementation
 - Fixed support for GooglePlay pending transactions
 - General cleanup on OnlinePurchaseGooglePlay.h/cpp
 - Do not add validation information for pending purchases so they are not redeemable (thus not consumed accidentally)

UE-160021 and UE-160022
 - Use just one list of transactions to simplify handling them
 - Clear the list of transactions and fill it with the result of the query. GooglePlay always returns the full list of non consumed transactions (and the list of non consumable ones, but those are not currently supported by UE)
 - Added consume delegate to be able to remove consumed receipts

UE-160023:
 - Checked result of BillingClient.launchBillingFlow and notify the native side in case of failure

OI-3209:
 - When launch mode is set to single task in the manifest and the user moves to background and then to foreground using the Android launcher the onPurchasesUpdated listener reports BillingClient.BillingResponseCode.USER_CANCELLED with an empty list of purchases. Detect that as in progress purchase was cancelled

#jira UE-160021, UE-160022, UE-160023, UE-160024, OI-3209, UE-162461
#review @Bertrand.Carre, @Chris.Varnsverry, @Chris.Babcock
#preflight 630ddb31e54ec9d581788286
#9528

[CL 21737049 by Rafa Lecina in ue5-main branch]
2022-09-01 03:39:00 -04:00
chris babcock
8a37f7eadf Expose versionCode and versionName to configrules
#android
[REVIEW] Peter.Sauerbrei
#rb Peter.Sauerbrei

[CL 21524922 by chris babcock in ue5-main branch]
2022-08-23 19:21:13 -04:00
jeannoe morissette
7ebedb9384 Added support for compiling Vulkan PSO's in separate process
#rb jeannoe.morissette
#preflight 62ff8206086f90bbc4fe751f

[CL 21499839 by jeannoe morissette in ue5-main branch]
2022-08-22 21:18:17 -04:00
Chris Babcock
63ee669793 Remove depreciated AppCache settings calls from WebViewControl
#jira UE-159384
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/62cedc31f324cee189e546a7

[CL 21074594 by Chris Babcock in ue5-main branch]
2022-07-13 13:13:47 -04:00
chris babcock
32b3394309 Update chipset detection to handle mismatches in ro.hardware and ro.soc.model
Add MT6785 chipset and fix a typo in MT6853

#android
[REVIEW] [at]Allan.Bentham
#rb Allan.Bentham


#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 20630114 via CL 20630150 via CL 20630168 via CL 20630181 via CL 20630198
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20636306 by chris babcock in ue5-main branch]
2022-06-13 18:38:19 -04:00
dmytro vovk
f3e6bce755 Update Android dependencies to use static libc++ instead of libc++_shared
#jira UE-131966
#rb Chris.Babcock

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 20121044 via CL 20121102 via CL 20121151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20122386 by dmytro vovk in ue5-main branch]
2022-05-10 09:48:16 -04:00