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

Skip to content
Commit f33d0d7a authored by Tony Huang's avatar Tony Huang
Browse files

Only clear selection if select size larger than 0

Many crash bug is occured while clearSelection onDestroyActionMode.
By log pattern, selection change to 0 so it call action mode finish.
In this case, selection size is 0 so we should not call clearSelection
again.

Fix: 143999752
Fix: 144862372
Test: atest DocumentsUIGoogleTests
Change-Id: Ib50912e00dce62535e455dee431e142021ec7cba
parent e62906a3
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