Commit 9c28ee38 authored by Jasper Chapman-Black's avatar Jasper Chapman-Black Committed by Commit Bot

SuperSize: Don't join dex method classes in (No path)

Change-Id: I027ecd4022ca78872c32188e22c997826bf60027
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1917240Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Jasper Chapman-Black <jaspercb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715286}
parent 54960182
...@@ -224,7 +224,8 @@ class TreeBuilder { ...@@ -224,7 +224,8 @@ class TreeBuilder {
const isFileNode = node.type[0] === _CONTAINER_TYPES.FILE; const isFileNode = node.type[0] === _CONTAINER_TYPES.FILE;
const hasDex = node.childStats[_DEX_SYMBOL_TYPE] || const hasDex = node.childStats[_DEX_SYMBOL_TYPE] ||
node.childStats[_DEX_METHOD_SYMBOL_TYPE]; node.childStats[_DEX_METHOD_SYMBOL_TYPE];
if (!isFileNode || !hasDex || !node.children) return node; const isNoPath = node.idPath === "";
if (!isFileNode || !hasDex || isNoPath || !node.children) return node;
/** @type {Map<string, TreeNode>} */ /** @type {Map<string, TreeNode>} */
const javaClassContainers = new Map(); const javaClassContainers = new Map();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment