Merge "Tentative fix for aidl import issue"

This commit is contained in:
Laurent Tu
2013-02-15 23:16:07 +00:00
committed by Android (Google) Code Review

View File

@ -1348,7 +1348,7 @@ Namespace::Search(const string& name)
// would be the place to do it, but I don't think the complexity in
// scoping rules is worth it.
int N = m_types.size();
for (int i=0; i<N; i++) {
for (int i=N-1; i>=0; i--) {
if (m_types[i]->Name() == name) {
return m_types[i];
}