title: Samsung phones ignore Captive Portal intent (android.net.conn.CAPTIVE_PORTAL)
body: <p>I want to setup an Activity that can be chosen to navigate a captive portal. </p>
  
  <p>When I select a WiFi network that is captive I want to be able to choose my app as the handler instead of starting the CaptivePortalLogin app that's preinstalled on every Android phone.</p>
  
  <p>This works on a Pixel 2 and on a OnePlus 6t but it doesn't on any of the Samsung phones I have laying around here (S10 (9.0.0), S8 (8.0.0), A6 (8.0.0)). On the Samsung phones it instantly opens the CaptivePortalLogin app.</p>
  
  <p>The CaptivePortalLogin app is not set as a default app on the Samsung phones.</p>
  
  <p>I have setup the activity in the standard way:</p>
  
  <pre><code>&lt;activity android:name=".MainActivity"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.MAIN"/&gt;
  
          &lt;category android:name="android.intent.category.LAUNCHER"/&gt;
      &lt;/intent-filter&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.net.conn.CAPTIVE_PORTAL"/&gt;
          &lt;category android:name="android.intent.category.DEFAULT"/&gt;
      &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>Is there a way to make Samsung phones behave the way all other phones behave?</p>