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:
+1
-1
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user