commit | a8a6da0db98fb02626d32c84b088e1a9800d3516 | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Fri Nov 04 07:42:41 2022 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Wed Nov 30 16:38:19 2022 +0000 |
tree | 28e847dc1b0bb6fc7a5f1231e99258c72978970d | |
parent | efbd7cc67fb9a820927a56265922793548c33de0 [diff] |
Remove unused methods from NetworkTemplate NetworkTemplate.Builder was introduced in Android T and the callers outside of Connectivity module should use this Builder to build a template instead. Thus remove the buildTemplate* methods from NetworkTemplate class. Also, deprecate the methods which are annotated with @UnsupportedAppUsage and also use Builder to build the template. Bug: 238843364 Test: build, FrameworksNetTests Change-Id: I3190325f6663e4771edf5c7a19bf5ecc7780bf12