| commit | 6a7e6ad55ca7112444e4bc4678a19f0abc93b060 | [log] [tgz] |
|---|---|---|
| author | Aaron Huang <huangaaron@google.com> | Wed Apr 14 01:25:55 2021 +0800 |
| committer | Aaron Huang <huangaaron@google.com> | Fri May 14 10:30:49 2021 +0800 |
| tree | 2a6ec415fc8c722c3e958615845e04c8e78b5039 | |
| parent | e4472e31519e22d092baf7d1ee7aed24784e4e7d [diff] |
Add ConnectivityAnnotations class
This change is to address API review, add respective
@IntDef for network policy API.
Typedef cannot be exposed as SystemApi so add
ConnectivityAnnotations class and add an annotation library
so that it can be used in module and platform.
Bug: 183972925
Test: m, build doc target framework-doc-stubs_annotations.zip
and check the APIs have an attribute IntDef annotation
Change-Id: Ie3ec40cf48818edd422a4550377774eae387d3b2