aidegen: Fix bug of generating module dependency information
Bug: 117588037 Test: cd $android_root;make aidegen;aidegen -m tradefed Change-Id: I05712ef3243771605034e4e9a746b8e1081c3516
This commit is contained in:
parent
db69b6691f
commit
bb640e0240
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue