From 613db13d355b71a6d4880ea82f973c033fbcd38c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 8 Jul 2022 23:30:36 +1000 Subject: [PATCH] Update anki submodule for undo/scheduling fix --- .../java/net/ankiweb/rsdroid/BackendIntegrationTests.java | 3 ++- rslib-bridge/anki | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rsdroid-instrumented/src/androidTest/java/net/ankiweb/rsdroid/BackendIntegrationTests.java b/rsdroid-instrumented/src/androidTest/java/net/ankiweb/rsdroid/BackendIntegrationTests.java index 562570209..0a0674080 100644 --- a/rsdroid-instrumented/src/androidTest/java/net/ankiweb/rsdroid/BackendIntegrationTests.java +++ b/rsdroid-instrumented/src/androidTest/java/net/ankiweb/rsdroid/BackendIntegrationTests.java @@ -31,6 +31,7 @@ import java.util.concurrent.TimeUnit; +import anki.ankidroid.SchedTimingTodayLegacyRequest; import anki.scheduler.SchedTimingTodayResponse; import static org.hamcrest.MatcherAssert.assertThat; @@ -64,7 +65,7 @@ public void testBackendException() { @Test public void schedTimingTodayCall() { Backend backend = getBackend("initial_version_2_12_1.anki2"); - SchedTimingTodayResponse ret = backend.schedTimingTodayLegacy(1655258084, 0, 1655258084, 0, 0); + SchedTimingTodayResponse ret = backend.schedTimingTodayLegacy(SchedTimingTodayLegacyRequest.getDefaultInstance()); int elapsed = ret.getDaysElapsed(); long nextDayAt = ret.getNextDayAt(); } diff --git a/rslib-bridge/anki b/rslib-bridge/anki index 2f7a02029..c7ef2b4d9 160000 --- a/rslib-bridge/anki +++ b/rslib-bridge/anki @@ -1 +1 @@ -Subproject commit 2f7a0202976b3a400542b0a9bf5312c0e633472a +Subproject commit c7ef2b4d9dede30001790f7c4e3f5fc82cd6dacf