Merge "aidegen: Fix bug of generating module dependency information"

am: a4b0422fc2

Change-Id: I72c5110032f78515f2f06e66a54a17564df5d4c6
This commit is contained in:
patricktu 2018-10-11 22:27:27 -07:00 committed by android-build-merger
commit 2c7ee9d444

View file

@ -1757,7 +1757,7 @@ func (j *Import) IDECustomizedModuleName() string {
// solution to get the Import name.
name := j.Name()
if strings.HasPrefix(name, removedPrefix) {
name = strings.Trim(name, removedPrefix)
name = strings.TrimPrefix(name, removedPrefix)
}
return name
}