playback: fix state restore regression

Fix a state restore issue that would cause the parent to restore
incorrectly.

At some point, I accidentally used the index for the PlaybackMode field
when restoring the playbackState. This resulted in the playback mode
effectively reverting to ALL_SONGS and causing a number of subtle
issues.
This commit is contained in:
OxygenCobalt
2022-06-02 09:20:31 -06:00
parent 07127403ff
commit 182b08ab65
11 changed files with 98 additions and 79 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ if ndk_path is None or not os.path.isfile(os.path.join(ndk_path, "ndk-build")):
else:
print(FATAL + "fatal:" + NC + " the android ndk was not installed at a " +
"recognized location.")
system.exit(1)
sys.exit(1)
ndk_build_path = os.path.join(ndk_path, "ndk-build")