playback: first pass at the deck, a play-after region of the queue

Twelve TDD cycles plus menu wiring: base case, pointer advancement, resets on
IndexMoved/NewPlayback/QueueReordered, drag and remove boundary adjustments,
play-next interplay, the :app unit-test harness, and PlaybackViewModel routing
add-to-queue to playAfter. Region-of-heap model with a deckEnd pointer;
superseded by the ephemeral-queue model (separate deck list) in later work.
This commit is contained in:
jay
2026-11-11 21:31:06 -05:00
parent c8d3ba55fc
commit f3003f3a8a
7 changed files with 625 additions and 18 deletions
+8
View File
@@ -75,6 +75,12 @@ android {
viewBinding true
buildConfig true
}
// Return default values from android.jar stubs in unit tests instead of throwing.
// PlaybackStateManagerImpl construction calls Progression.nil() -> SystemClock.elapsedRealtime().
testOptions {
unitTests.returnDefaultValues = true
}
}
kotlin {
@@ -86,6 +92,8 @@ kotlin {
}
dependencies {
testImplementation "junit:junit:4.13.2"
androidTestImplementation "androidx.test:runner:1.7.0"
androidTestImplementation "androidx.test.ext:junit:1.3.0"