Skip to content

Commit

Permalink
Clarify inconsistent docs on DaggerBroadcastReceiver
Browse files Browse the repository at this point in the history
Fixes #1031

RELNOTES=Clarified `DaggerBroadcastReceiver` documentation with respect to when injection is performed

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182056847
  • Loading branch information
ronshapiro committed Jan 17, 2018
1 parent e3a9cd5 commit a49cee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/dagger/android/DaggerBroadcastReceiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
import dagger.internal.Beta;

/**
* A {@link BroadcastReceiver} that injects its members in the first call to {@link
* #onReceive(Context, Intent)}.
* A {@link BroadcastReceiver} that injects its members in every call to {@link #onReceive(Context,
* Intent)}.
*
* <p>This class should only be used for {@link BroadcastReceiver}s that are declared in an {@code
* AndroidManifest.xml}. If, instead, the {@link BroadcastReceiver} is created in code, prefer
Expand Down

0 comments on commit a49cee0

Please sign in to comment.