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

Commit 52924b56 authored by Ivan Chiang's avatar Ivan Chiang
Browse files

Fix the issue of chips row disappears after rotate the device

It will not trigger refreshCurrentRootAndDirectory in this case.
UpdateChips in Activity's onCreate

Change-Id: I843de4067ab7ef3a973a90b111a3955568a4a881
Fix: 124481820
Test: Manual
parent 55ba6da7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -201,6 +201,8 @@ public abstract class BaseActivity
                chipGroup, icicle);
        // initialize the chip sets by accept mime types
        mSearchManager.initChipSets(mState.acceptMimes);
        // update the chip items by the mime types of the root
        mSearchManager.updateChips(getCurrentRoot().derivedMimeTypes);
        // parse the query content from intent when launch the
        // activity at the first time
        if (icicle == null) {