People use this - Anki has it special cased unintentionally due to
hooks, but this is in use in AnkiDroid
It wasn't working before this, but the template
{{Front}}{{FrontSide}} previously rendered
as helloworld{Unknown field FrontSide} in 2.14.6
Anki: 400254277b/rslib/src/template.rs (L409-L417)
Our change: 08217da (issue 7980)
Fixes 8951
(cherry picked from commit 2391712061)
This is disappointing: there is a bug in TaLayout which means that
selecting index[0] before the control has been laid out will position
the control at LEFT, rather than START (effective result,
not actual code)
Fix this by detecting the layout event for the control, and then
selecting the tab: this uses a scroll animation, which works
Fixes 8984
(cherry picked from commit 447da4275b)
We moved to our own backend cursor which did not implement
moveToPostion, or getType(int). I did not believe this cursor was
provided to consumers, but it was provided via our ContentProvider
API
A new backend version implements those methods
DatabaseUtils.cursorFillWindow is used by a real usage of the API
but our tests did not use it
We copy it into the project as the methods are marked with `hide`
And ensure the invariants are handled
Fixes 8957
(cherry picked from commit d9d30108b8)
Prevents Automatic Display Answer from happening instantly when the delay is set to 0, but there is audio present
(cherry picked from commit 672a654e21)
Fixed by upgrading the backend
some of the methods on the Cursor for the database
were called internally by Android
These were throwing NotImplementedException
Changed in the backend code to log a warning:
they shouldn't be required as we don't support .requery()
Fixes 8931
Fixes 8928 (hopefully)
(cherry picked from commit a47b3acb2a)
User reported that 2.15 was significantly slower, this seems to be due
to MathJax 3.
User's cards did not contain MathJax
So, we only load slow code if we need it.
Fixes 8927
(cherry picked from commit 4c6044c13a)
this causes a rebuild of the options menu with the side effect that undo
will be made invisible again - previously it was there even though deck delete
clears the undo queue, which led to crashes
Fixes#8935
(cherry picked from commit 4c30d333d9)
Fixes#7748 - ContentResolver can throw while fetching DISPLAY_NAME column,
for unknown reasons. We were avoiding a crash after #7754 but we were still
aborting the paste. Now we will continue with a MIME attempt for display name
and maybe paste successfully. Crash will still be avoided.
(cherry picked from commit be77639b01)
SchedV1 did not have the 'schedVer' variable set unless a downgrade
was performed. Existing users of SchedV1 did not have this variable set
so they were using SchedV2 without having gone through the upgrade
process.
Therefore they used 'fDefaultSchedulerVersion' which was bumped to 2
Now, instead of using the default, we set the value explicitly
Fixes#8926
(cherry picked from commit dff7728395)
a862073a8f was merged without third party review. So I guess that nothing is really
obviously correct. We have a method that returns the user's locale. There is no point in indicating a locale if it is
always ROOT.
(cherry picked from commit 6d96bbebd6)