hwsmm
3075810de8
Fix Android safe area
2024-08-20 01:26:58 +09:00
hwsmm
7e8b45cd7a
Apply a change for SDL3 bindings update
2024-08-05 22:48:24 +09:00
Susko3
33a58f5a7b
Merge branch 'master' into fix-gamehost-collect-on-android
2024-05-24 23:09:08 +02:00
Susko3
fac74e00ac
Use SDL3 screen saver functions to implement AllowScreenSuspension
...
This removes the custom Android and iOS implementations, and also adds support for desktop platforms.
2024-04-30 12:35:21 +02:00
Susko3
673fa11f50
Don't store the host in AndroidGameActivity
2024-04-30 11:45:41 +02:00
Susko3
53affedbd7
Don't call GameHost.Collect() twice
...
We already trim memory on a `SDL_EVENT_LOW_MEMORY`.
2024-04-30 11:44:43 +02:00
Bartłomiej Dach
106ea66d88
Remove back button disable hint
...
Not sure why it's still here, I asked during review and it was supposed
to be removed.
2024-04-26 10:11:51 +02:00
Bartłomiej Dach
dad23c0c65
Do not dispose host on android
2024-04-26 10:11:50 +02:00
hwsmm
b3314484f9
Apply review suggestions and cleanup
2024-04-20 22:57:15 +09:00
hwsmm
1771df5a69
Add ScreenSuspension and Remove unneeded lines in AndroidGameActivity
2024-04-16 22:18:05 +09:00
hwsmm
fdf34de89f
Remove unneeded changes in AndroidGameActivity
2024-04-16 01:17:34 +09:00
hwsmm
095d3c30b5
Merge master and update Android to SDL3
2024-04-15 23:35:45 +09:00
hwsmm
cce5feeffa
Merge master
2024-02-12 23:28:36 +09:00
Susko3
b620e6fcb7
Move get entry assembly api to RuntimeInfo
...
A better place for it, as the entry assembly is queried in non-"debug" situations.
2024-01-31 23:55:13 +01:00
Susko3
50f98806f0
Merge branch 'master' into fix-isDebugBuild-on-android
2024-01-31 23:29:28 +01:00
hwsmm
f3dfbbb641
Move SafeArea to AndroidGameSurface
2024-01-07 14:11:03 +09:00
hwsmm
a690c70444
Use backported SDL3 feature to get rid of MainSetter as per Susko3's suggestion
2024-01-07 03:20:11 +09:00
hwsmm
6587a9a536
Implement DefaultFocusHighlightEnabled properly
2024-01-07 03:17:57 +09:00
hwsmm
58079105c3
Convert Framework.Android to SDL2
2024-01-05 00:23:46 +09:00
i3ym
49f838f1f2
Fix android storage path
2023-12-31 20:27:29 +07:00
Susko3
821b747aa2
Rename EntryAssembly and static-initialise to GetEntryAssembly()
2023-01-15 17:10:22 +01:00
Susko3
e3fcd01af3
Fix DebugUtils.IsDebugBuild not working on Android
2022-12-31 01:09:19 +01:00
Huo Yaoyuan
ec5bbf1aa3
Merge branch 'master'
2022-07-08 11:48:29 +08:00
Susko3
f5363df7e5
Full NRT pass on Android
...
Includes everything except `AndroidInputHandler`s as those will be covered separately.
2022-07-02 20:15:27 +02:00
Bartłomiej Dach
53de765a2a
Merge branch 'master' into activity-exported
2022-06-17 12:11:02 +02:00
Dan Balasescu
ba1385330c
Automated #nullable processing
2022-06-13 21:57:05 +09:00
Huo Yaoyuan
cfcdb981f8
Add forgotten minimum OS version and guard to Android framework
2022-04-03 22:38:54 +08:00
Huo Yaoyuan
fc8151a324
Disable warnings for deprecated API.
2022-03-24 18:21:29 +08:00
Dean Herbert
b0bde913a5
Merge branch 'master' into android-IsActive
2022-02-24 16:51:41 +09:00
Susko3
52d7e9d15c
Implement IWindow.IsActive on Android
2022-02-12 14:15:37 +01:00
Susko3
81bdb06b96
Add null asserts
2022-02-12 13:30:34 +01:00
Susko3
dac31eb473
Always hide the status bar
2022-02-12 13:18:49 +01:00
Susko3
5161624f03
Use correct lifecycle methods for suspending and resuming host
2022-02-12 13:18:49 +01:00
Susko3
f050c2af43
Update config changes to allow connecting additional devices
...
`ConfigChanges.Navigation` is needed so the game doesn't crash when connecting
additional devices (eg. a bluetooth mouse). `ConfigChanges.Touchscreen` added
just in case.
2021-12-27 15:33:07 +01:00
Susko3
03317bbaea
Add explicit Exported = true to AndroidGameActivity
2021-12-24 18:58:56 +01:00
Susko3
4f28d1cff5
Move over the CurrentDirectory logic from OsuGameActivity
...
Makes sense to have consistent behaviour framework-side as well.
2021-12-24 02:37:05 +01:00
Susko3
cadae0b8f9
Standardize Android activity and permissions
...
Relevant osu!-side permissions have been moved over.
Theme is changed to a pure black one, so we don't get the ugly gradient at startup.
Added some relevant config changes, so the activity doesn't unwantedly get restarted.
2021-12-24 02:25:36 +01:00
Bartłomiej Dach
36213a6b03
Pause/resume game audio on activity state changes
2021-12-21 23:28:28 +01:00
Bartłomiej Dach
f8ca20e2b7
Suspend/resume game threads along with activity state changes
2021-12-21 23:28:28 +01:00
Bartłomiej Dach
956190418c
Remove no longer necessary workaround for GL context loss
2021-12-21 23:28:25 +01:00
smoogipoo
1d5c093173
Update iOS/Android handling
2021-04-07 21:34:47 +09:00
Joehu
e608b9dbd7
Make window render to the cutout areas of android devices
2021-02-01 11:00:55 -08:00
Poliwrath
28db1992fc
Fix typos in various comments
2020-09-05 00:33:31 -04:00
Lucas A
c3d9ca4023
Fix android screen suspension logic.
2020-07-28 15:55:33 +02:00
Dean Herbert
60d627e258
Fix all iOS/Android project inspections that can be fixed
2020-06-26 13:18:41 +09:00
Lucas A
aa9dd9c5e9
Always change WindowManager flags on the UI thread.
2020-06-19 23:20:10 +02:00
Tim Oliver
15762dc8a5
Deferred registering for screen suspension until game host is ready in Android
2020-03-13 15:45:06 +08:00
Tim Oliver
ef25f6caa7
Cleaned screen suspension property in Android Activity
2020-02-28 20:53:28 +09:00
Tim Oliver
7417940dcc
Added screen on flags to Android Window Activity
2020-02-27 19:15:19 +09:00
Lucas A
b55c9339ab
Reword comments
...
Co-Authored-By: Salman Ahmed <slmanarendo1950@gmail.com >
2019-10-26 12:49:24 +02:00