dolphin/Source
JosJuice ffd8cd059c Android: Make GameFileCacheService not be a service
The past few Android releases have been adding restrictions
to what services are allowed to do, for the sake of stopping
services from using up too much battery in the background.
The IntentService class, which GameFileCacheService uses,
was even deprecated in Android 11 in light of this.

Typically, the reason why you would want use a service instead of
using a simple thread or some other concurrency mechanism from the
Java standard library is if you want to be able to run code in the
background while the user isn't using your app. This isn't actually
something we care about for GameFileCacheService -- if Android wants
to kill Dolphin there's no reason to keep GameFileCacheService
running -- so let's make it not be a service.

I'm changing this mainly for the sake of future proofing, but there
is one immediate (minor) benefit: Previously, if you tried to launch
Dolphin from Android Studio while your phone was locked, the whole
app would fail to launch because launching GameFileCacheService
wasn't allowed because Dolphin wasn't considered a foreground app.
2021-11-16 21:45:06 +01:00
..
Android Android: Make GameFileCacheService not be a service 2021-11-16 21:45:06 +01:00
Core msbuild: use /external:anglebrackets 2021-11-15 00:33:51 -08:00
DSPSpy DSPSpy: Replace less_test with cond_test 2021-08-22 17:07:41 -07:00
DSPTool Core: Add GBA host interface 2021-07-13 16:42:49 +02:00
PCH msvc: update to vs2022 and windows sdk 10.0.22000 2021-11-11 08:01:26 -08:00
UnitTests Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
VSProps msbuild: use /external:anglebrackets 2021-11-15 00:33:51 -08:00
.clang-format
CMakeLists.txt Android: Don't hold gameFileCache lock during updateAdditionalMetadata 2021-08-24 15:35:39 +02:00
dolphin-emu.sln msvc: update to vs2022 and windows sdk 10.0.22000 2021-11-11 08:01:26 -08:00