Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
f06068a189
commit
003c3af985
@@ -38,7 +38,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
|
||||
* @author Connor Petty - Initial contribution
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(immediate = true, service = { BluetoothDiscoveryParticipant.class })
|
||||
@Component(service = { BluetoothDiscoveryParticipant.class })
|
||||
public class RoamingBluetoothDiscoveryParticipant implements BluetoothDiscoveryParticipant {
|
||||
|
||||
private final Set<BluetoothAdapter> adapters = new CopyOnWriteArraySet<>();
|
||||
|
||||
Reference in New Issue
Block a user