We remove the `VOLUME_UP` and `VOLUME_DOWN` gestures,
and all associated code
This removes the preferences:
"gestureVolumeUp"
"gestureVolumeDown"
Instead, this is passed to a binding, for example:
"binding_EDIT": [keycode 24]
Related: 6502
COMMAND_ANSWER_FIRST_BUTTON
COMMAND_ANSWER_SECOND_BUTTON
COMMAND_ANSWER_THIRD_BUTTON
COMMAND_ANSWER_FOURTH_BUTTON
COMMAND_ANSWER_RECOMMENDED
We already have "flip and answer".
Now we differentiate between question & answer, these are not necessary
Use constraintlayout and have width == height
rather than using onMeasure.
OnMeasure didn't work perfectly as there was an
AT_MOST constraint enforced by the dialog box wrapper
This was broken when we moved to onKeyDown, but the test was faulty
so did not pick up on this.
Test will be fixed in a commit in this PR
History: Moved to onKeyDown in
e439280bf3
PR 8507
* New JavaScript api for TTS
Since it is unlikely that a beginner will handle this api,
I moved the functions on the android side to
JavaScript with as little modification as possible.
Since the function conversion rules have been simplified,
the api can be extended with consistent rules even
if other TTS functions are needed on the JavaScript side in the future.
* Create LanguageUtils class
Moved the localeFromStringIgnoringScriptAndExtensions function
to the LanguageUtils class.
* Improved JavaScript TTS initialization process
Fixed a problem that null may be passed
as an argument when initializing JavaScriptTTS.
Changed to refer to context from within the class
instead of the argument when initializing JavaScriptTTS.
- If AnkiDroid is using a non-app-specific directory to store user data
and storage permission hasn't been granted, the Deck Import dialog
appears over the DeckPicker startup dialog if an import is requested
via an Intent. This allows the user to attempt to import the Deck when
AnkiDroid can't access user data in the non-app-specific directory,
resulting in a crash.
- Require that data is either stored in an app-specific directory, or
storage permission has been granted if user data is stored in a
non-app-specific directory, before allowing a deck to be imported via
an Intent.
Allows mapping from a collection of CSV columns to notes
(fields and tags)
Also includes Parcelize to allow for simple serialisation
of objects to bundles
For use in the CSV Import (issue 6772)