Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 30540639 authored by Paul Duffin's avatar Paul Duffin
Browse files

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
parent 4c70fa92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment