If you use "sed -i -e" it creates backup files with extension '-e' for every edit
This was breaking the build (on MacOS 10.13 + AndroidStudio at least)
I changed it to "-i ''" (zero-length backup extension) so no backup was created
parameterized new loadModels method from dae so it could load any column,
used new parameterized method to load models as before, but also to
load decks, as hinted by timrae
This makes the whiteboard more ergonomic (in my subjective opinion).
Related issue: https://github.com/ankidroid/Anki-Android/issues/4522
Summing up, when keeping one finger on the whiteboard while it is activated, it is now possible to use a second finger to scroll the card behind the whiteboard or tap onto one of its elements.
If the question or answer contains any <tts> elements with the 'service'
attribute set to 'android', then only the text enclosed in these elements
is read aloud using the text-to-speech engine. The 'voice' attribute can
be used to specify the language of the text (details below). If no
<tts service='android'> elements are present in the question or answer,
the user is asked to select the language from a list (as before). <tts>
elements with other values of the 'service' attribute are ignored, which
makes it possible to use the same card format with AnkiDroid and with
the AwesomeTTS add-on to the desktop Anki application (each ignoring
unrecognised services).
'voice' attributes should be given in the format used by the
Locale.toString() function, i.e.
language_code + "_" + country_code [+ "_" + variant_code]
(the second underscore and the variant are optional and typically
unnecessary). Typical examples: en_US, en_GB, fr_FR.
Full example:
<tts service="android" voice="de_DE">{{Back}}</tts> (pl. {{Plural}})
Here only the contents of the 'Back' field are read aloud (in German); the
contents of the 'Plural' field are only displayed, not read.
Two regular expressions are worth 80 lines of code.
The newly added test also worked with the old code,
except that the old code for detecting the MP3 file
could only handle English pages.
* Show notifications even when app is in background (fixes#4615)
* call correct receiver, dont run BootService more than once
* handle settings changes
* curly braces
Since this is a weekly breakdown, if the data is not rounded down to whole
weeks then recent weekdays will get one day worth of extra data, skewing
the statistic by as much as 25%.