once the sticker is sent together with the quote,
the quote is cleared.
if there is some draft text, however, that is kept as draft.
tickers together with text are discouraged.
we keep using the screenlock for "Backup" and "Manage keys";
these dialog always used the wording of the "global" screenlock,
sth. as "Please Unlock Delta Chat", however, that wording was always wrong
as Delta Chat itself is not locked in these situations.
this pr sets the title to the selected action
and just says "Please enter system secret to continue."
moreover, the toasts on canceling the action are removed,
they do not make much sense here,
there was a user action just before, so that is pretty clear anyway.
* Remove screen lock feature, move the two remaining "App access" options into "Advanced"
Locking the app was removed a long time ago, so in "App access" in the
settings, the only two remaining items were "Screen security" and
"Incognito keyboard".
* Remove the now-unused strings
* remove app-access-category from main settings screen
Co-authored-by: B. Petersen <r10s@b44t.com>
the speedup is done by the following changes:
- if the query-string is updated while actually performing a search,
the new search is not directly scheduled as before;
instead the flag needsAnotherBgSearch is set;
in the search-thread, the flag is checked
and another search will be performed
this way, searches as skipped, but the most recent is always executed
- if there are already chat- or contact-results and
the query-search has changed meanwhile, search is aborted
and the partial result is used (next search will be exexuted immediately)
this way, esp. the expensive searchMsgs() search is executed less often
on fast typing
- for a one-letter-search, search for messages is always skipped
this is roughly what we are doing on ios since
https://github.com/deltachat/deltachat-ios/pull/1140
moreover, this pr cleans up some things,
putting logic to the same java class.