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

Commit d3904013 authored by Scott Kennedy's avatar Scott Kennedy Committed by Android (Google) Code Review
Browse files

Merge "Mark Service#onBind() @Nullable"

parents d52ff5e0 7db73ed1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.app;

import android.annotation.Nullable;
import android.content.ComponentCallbacks2;
import android.content.ComponentName;
import android.content.Intent;
@@ -498,6 +499,7 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
     * @return Return an IBinder through which clients can call on to the 
     *         service.
     */
    @Nullable
    public abstract IBinder onBind(Intent intent);

    /**