OSDN Git Service

Handle new current.txt format.
authorJeff Sharkey <jsharkey@android.com>
Tue, 17 Jul 2018 19:29:40 +0000 (13:29 -0600)
committerJeff Sharkey <jsharkey@android.com>
Tue, 17 Jul 2018 19:59:04 +0000 (13:59 -0600)
commitbd2611916990b0d18a36483060365207fdd94c13
treeb5d41c7ae9361c9dc95e02f0551771e934462dcf
parent4237b16cac5f479a323216934063f33ea28bec39
Handle new current.txt format.

We're starting to see "@interface" show up, so handle them like any
other interface.  We're also seeing more details argument lists
with names and annotations; ignore them for now, since all our
existing lint checks work on the "real" data type.

Verified that it handles new support library current.txt files
without causing any regressions against existing framework
current.txt files.

Test: manual inspection
Bug: 111555356
Change-Id: Id11c3561edd317e4ba1a9b43993fd96d8243e00d
tools/apilint/apilint.py