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

Skip to content
Commit f8d29aa4 authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Apps: Switch to require API instead of get API



AndroidX added new "require____()" versions of common "get___()" APIs, such as getContext/getActivity/getArguments/etc.
Rather than wrap these in something like requireNotNull(), using these APIs will allow the underlying component to try
to tell you _why_ it was null, and thus yield a better error message.

Signed-off-by: Aayush Gupta's avatarAayush Gupta <theimpulson@e.email>
parent aa98cc89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment