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

Skip to content
Commit ce8d4f51 authored by Ryan Lothian's avatar Ryan Lothian
Browse files

Improve documentation for IntentService

The argument to onHandleIntent(Intent) is sometimes null. This
is surprising, and isn't mentioned in the Javadoc.

+ Add a warning about this behavior to the method's Javadoc.

+ Add @Nullable annotation so tools that do null safety analysis
  (e.g. Android Studio) will generate a warning for apps that
  dereference the intent parameter without checking.

Change-Id: I26485eba8c79ba700dd9423e5d356efbb423becd
parent c1b92381
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