@BinderThread
private Bookmark getBookmarkForPosition(int position) {
if (mCurrentFolder == null) return null;
// The position 0 is saved for an entry of the current folder used to go up.
// This is not the case when the current node has no parent (it's the root node).
if (mCurrentFolder.parent != null) {
if (position == 0) return mCurrentFolder.folder;
position--;
}
return mCurrentFolder.children.get(position);
}
BookmarkWidgetService.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:AndroidChromium
作者:
评论列表
文章目录