Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8646252e authored by Zemiao Zhu's avatar Zemiao Zhu
Browse files

Fix SearchFragment crash in tests.

Cause of crash: FragmentManager is already executing transactions.
This is because we unnecessarily resets the current query string,
indirectly invoking onQueryTextChange, causing a fragment transaction;
later when the searchView focus changes. it causes a second fragment
transaction. Fixes by removing the query reset step (it gets reset at
next expansion of search view anyway).

Bug: 182958870
Test: atest DocumentsUIGoogleTests
Change-Id: I21de9ec3a2e8c72be1d0ce7c7ccfd98a4567e2a5
parent cd06f188
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment