diff options
author | 2019-03-26 09:59:32 -0600 | |
---|---|---|
committer | 2019-03-26 09:59:52 -0600 | |
commit | b4e3d691d16414192484ef9f0290f0bfce06ba8c (patch) | |
tree | f2552400db070adf6820386a996e816c1fc557cc | |
parent | aecff3d7c4cb910e6ab95849d2d5def121b0469f (diff) |
Also need to filter second pass.
Bug: 116802409
Test: manual
Change-Id: I874cea7987684a8f7dca5c4d03d226568f355d8d
-rw-r--r-- | tools/apilint/apilint.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/apilint/apilint.py b/tools/apilint/apilint.py index f967c2fa6bcb..97ca6dc7bf34 100644 --- a/tools/apilint/apilint.py +++ b/tools/apilint/apilint.py @@ -2147,6 +2147,8 @@ def show_deprecations_at_birth(cur, prev): del cur[prev_clazz.fullname] for clazz in cur.values(): + if not is_interesting(clazz): continue + if "deprecated" in clazz.split and not clazz.fullname in prev: error(clazz, None, None, "Found API deprecation at birth") |