diff --git a/packages/DocumentsUI/src/com/android/documentsui/RootsCache.java b/packages/DocumentsUI/src/com/android/documentsui/RootsCache.java index de35cef6ddb66..4fc378875b749 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/RootsCache.java +++ b/packages/DocumentsUI/src/com/android/documentsui/RootsCache.java @@ -102,6 +102,7 @@ public class RootsCache { mRecentsRoot.authority = null; mRecentsRoot.rootId = null; mRecentsRoot.derivedIcon = R.drawable.ic_root_recent; + mRecentsRoot.derivedType = RootInfo.TYPE_RECENTS; mRecentsRoot.flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_IS_CHILD; mRecentsRoot.title = mContext.getString(R.string.root_recent);