eden/src/android
inix 6bdf479488
[core, android] Initial playtime implementation (#2535)
So firstly, playtime code is moved to src/common and qt specific code to yuzu/utils.cpp.

The dependency on ProfileManager was removed because it was working properly on Android, and I think a shared playtime is better behavior.
Now, playtime is stored in a file called "playtime.bin".

JNI code is from Azahar although modified by me, as well as that I added code to reset the game's playtime which was missing for some reason on there.

Before this gets merged, I plan to add the ability to manually edit the database as well.

Note: Code still needs a bit of cleanup.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2535
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: inix <Nixy01@proton.me>
Co-committed-by: inix <Nixy01@proton.me>
2025-10-17 22:47:43 +02:00
..
app [core, android] Initial playtime implementation (#2535) 2025-10-17 22:47:43 +02:00
gradle/wrapper android: Update various deps 2025-04-01 18:30:57 +02:00
.gitignore android: Ignore validation layers library in git 2023-09-19 00:31:43 -04:00
build.gradle.kts Revert "[gradle] fix warnings & update deps (#189)" 2025-06-15 21:46:24 -04:00
gradle.properties [cmake] refactor: CPM over vcpkg (#250) 2025-08-14 20:30:30 +02:00
gradlew android: Various fixes for CI. 2023-06-03 00:06:05 -07:00
gradlew.bat android: Various fixes for CI. 2023-06-03 00:06:05 -07:00
settings.gradle.kts android: Various fixes for CI. 2023-06-03 00:06:05 -07:00