mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Uri decode search query
This commit is contained in:
parent
e919c9be4a
commit
f16a57a607
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class ActivitySearch extends ActivityBase {
|
|||
if (uri == null || !SEARCH_SCHEME.equals(uri.getScheme()))
|
||||
query = getIntent().getCharSequenceExtra(Intent.EXTRA_PROCESS_TEXT);
|
||||
else
|
||||
query = uri.toString().substring(SEARCH_SCHEME.length() + 1);
|
||||
query = Uri.decode(uri.toString().substring(SEARCH_SCHEME.length() + 1));
|
||||
|
||||
Log.i("External search query=" + query);
|
||||
Intent view = new Intent(this, ActivityView.class);
|
||||
|
|
Loading…
Reference in a new issue