dolphin/Source/Android
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
..
app Android: Make GameFileCacheService not be a service 2021-11-16 21:45:06 +01:00
gradle/wrapper Android: update dependencies 2021-07-25 16:23:18 -04:00
jni Android: Add Riivolution patch configuration 2021-10-30 23:24:37 +02:00
.gitignore
build.gradle Android: update dependencies 2021-07-25 16:23:18 -04:00
code-style-java.xml Android: Update code-style-java for androidx files 2020-09-08 05:59:08 -04:00
gradle.properties gradle.properties: Remove duplicate property keys 2021-01-16 01:12:31 +01:00
gradlew
gradlew.bat
settings.gradle