summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLaurent Tu <laurentt@google.com>2013-02-15 16:11:26 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-02-15 16:11:26 -0800
commit34ab0a4a181cf9a9267625af59a3b52bd2a7b56e (patch)
tree8df6403861034a496ea2778d69313179e73e7cc2 /tools
parent8cf1921fc027409fb29ffe45e12da6d25197def8 (diff)
parent7c93839d7b41727c11925b034d4ec84491d3dee1 (diff)
downloadframeworks_base-34ab0a4a181cf9a9267625af59a3b52bd2a7b56e.zip
frameworks_base-34ab0a4a181cf9a9267625af59a3b52bd2a7b56e.tar.gz
frameworks_base-34ab0a4a181cf9a9267625af59a3b52bd2a7b56e.tar.bz2
am 7c93839d: Revert "Tentative fix for aidl import issue"
* commit '7c93839d7b41727c11925b034d4ec84491d3dee1': Revert "Tentative fix for aidl import issue"
Diffstat (limited to 'tools')
-rw-r--r--tools/aidl/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aidl/Type.cpp b/tools/aidl/Type.cpp
index c637aee..d572af6 100644
--- a/tools/aidl/Type.cpp
+++ b/tools/aidl/Type.cpp
@@ -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=N-1; i>=0; i--) {
+ for (int i=0; i<N; i++) {
if (m_types[i]->Name() == name) {
return m_types[i];
}