diff options
author | 2024-06-19 18:12:05 +0100 | |
---|---|---|
committer | 2024-06-19 18:12:05 +0100 | |
commit | 30540639b0e13a384f52580f81a4ef520b6d5084 (patch) | |
tree | 7de6d399952328601978b98533682899f313810c /api/api.go | |
parent | 4c70fa92d13203988da58fb92f3b8049d919b0ef (diff) |
Temporarily remove @Nullable from getSystemService(...) methods
Previously, Metalava had a nasty hack that would ignore the `@Nullable`
annotation present in the source code definition of any
`getSystemService(...)` methods. This change explicitly removes the
annotations from the source code which will allow the Metalava hack to
be removed.
Longer term, the calls to `getSystemService(...)` that would be broken
because they treat the returned value as being `@NonNull` will be
replaced by a new `requireSystemService(...)` method.
Bug: 347269120
Test: m checkapi
Change-Id: I9709acfb57c6954401ea617329c821cb4efa0889
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions