TigerBeanst / TigerInTheWall

A 🐯Tiger hides in the wall, waiting to 💀bite the "Intent" passby. 🚫Block annoying superfluous Intent for your Android devices. 👺Magisk needed, named as RnIntentClean before.
https://ic.into.icu/
Apache License 2.0
167 stars 14 forks source link

Intent Filter for Browser not working #27

Closed fakerqu closed 1 year ago

fakerqu commented 1 year ago

Current ifw rule for browser is like

<activity block="true" log="true">
    <intent-filter>
      <action name="android.intent.action.VIEW" />
      <cat name="android.intent.category.DEFAULT" />
      <type name="*/*" />
    </intent-filter>
    <component-filter name="com.taobao.taobao/com.taobao.browser.BrowserActivity" />
    <or>
      <sender type="system" />
      <not>
        <sender type="userId" />
      </not>
    </or>
  </activity>

after relpace like this, it works fine

<activity block="true" log="true">
    <intent-filter>
      <action name="android.intent.action.VIEW" />
      <cat name="android.intent.category.BROWSABLE" />
      <scheme name="http" />
      <scheme name="https" />
    </intent-filter>
    <component equals="com.taobao.taobao/com.taobao.browser.BrowserActivity" />
    <or>
      <sender type="system" />
      <not>
        <sender type="userId" />
      </not>
    </or>
  </activity>
fakerqu commented 1 year ago

PR fix this issue, close this issue