diff options
author | 2019-02-15 08:41:29 +0000 | |
---|---|---|
committer | 2019-02-15 08:41:29 +0000 | |
commit | 438f2cee937826295c3104e8a87836dd2a437605 (patch) | |
tree | 754eec54914c258cf4697ebd846d1859427ee40d | |
parent | 6b91e762736bb6a85651a8854f032ca53f14d048 (diff) | |
parent | 52924b561c3198f1b80e9693880ebcb900960959 (diff) |
Merge "Fix the issue of chips row disappears after rotate the device"
-rw-r--r-- | src/com/android/documentsui/BaseActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/documentsui/BaseActivity.java b/src/com/android/documentsui/BaseActivity.java index a0f09e7c3..e166b8734 100644 --- a/src/com/android/documentsui/BaseActivity.java +++ b/src/com/android/documentsui/BaseActivity.java @@ -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) { |