Merge "Fix the position of the "Recents" root in DocumentsUI."

This commit is contained in:
Ben Kwa
2015-10-13 19:54:23 +00:00
committed by Android (Google) Code Review

View File

@@ -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);