title: Is my broadcast receiver explicit or implicit?
body: <p>after reading some manuals (<a href="https://stackoverflow.com/questions/46121467/differentiate-implicit-broadcast-receiver-vs-explicit-broadcast-receiver-in-the">1</a>,<a href="https://medium.com/@iiro.krankka/its-time-to-kiss-goodbye-to-your-implicit-broadcastreceivers-eefafd9f4f8a" rel="nofollow noreferrer">2</a>) about this I still need help. I am targeting my app to android O and on android 7.0 it work fine but on 8.1 I don`t seem to get any broadcast. So, if targeting android O in manifest and running on 7.0 and using implicit broadcast should it still work?
  Can you please help me determine if my broadcast is explicit or implicit?
  I am using <a href="https://developers.google.com/awareness/" rel="nofollow noreferrer">Awareness</a> API...</p>
  
  <p>Manifest:</p>
  
  <pre><code>   &lt;receiver android:name=".DetectionBroadcastReceiver" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="childincar.com.michlindevelopment.DETECTIONFENCE" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  </code></pre>
  
  <p>DetectionBroadcastReceiver</p>
  
  <pre><code>public class DetectionBroadcastReceiver extends BroadcastReceiver {
  
      Context context;
  
      @Override
      public void onReceive(Context context, Intent intent) {
  
  
          Log.d("DTAG", "onReceive");
          this.context = context;
  
          if (!TextUtils.equals(Constans.FENCE_RECEIVER_ACTION, intent.getAction())) {
              return;
          }
  
          //Some Code
      }
  }
  </code></pre>
  
  <p>Constans </p>
  
  <pre><code>public class Constans {
      public static final String FENCE_RECEIVER_ACTION = BuildConfig.APPLICATION_ID + ".DETECTIONFENCE";
  }
  </code></pre>
  
  <p>Registering</p>
  
  <pre><code> public static void registerFences(final Context context) {
  
          Intent intent = new Intent(Constans.FENCE_RECEIVER_ACTION);
          PendingIntent mPendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0);
  
  
          Awareness.getFenceClient(context).updateFences(new FenceUpdateRequest.Builder()
                  .addFence(Constans.DETECTION_FENCE_DRIVING, DetectedActivityFence.starting(DetectedActivity.IN_VEHICLE), mPendingIntent)
                  .addFence(Constans.DETECTION_FENCE_WALKING, DetectedActivityFence.starting(DetectedActivity.WALKING), mPendingIntent)
                  .build())
                  .addOnSuccessListener(new OnSuccessListener&lt;Void&gt;() {
                      @Override
                      public void onSuccess(Void aVoid) {
  
                      }
                  })
                  .addOnFailureListener(new OnFailureListener() {
                      @Override
                      public void onFailure(@NonNull Exception e) {
  
                      }
                  });
      }
  </code></pre>