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

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

Temporarily remove @Nullable from findViewById(int) methods

Previously, Metalava had a nasty hack that would ignore the `@Nullable`
annotation present in the source code definition of any
`findViewById(int)` 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 `findViewById(int)` that would be broken
because they treat the returned value as being `@NonNull` will be
replaced with `requireViewById(int)`.

Bug: 347204084
Test: m droid
Change-Id: Ie67b40dd3321f403bcecffddd11453038b2329a9
parent d67cb978
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