Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b151fd44 authored by Stanley Wang's avatar Stanley Wang
Browse files

Allow AOSP SettingsIntelligence to have visibility of apps

Follow the Declaring package visibility needs.

- SettingsIntelligence queries SearchIndexablesProviders to show
  Search results in Settings. It currently has visibility of apps
  for intent action android.intent.action.MAIN.
- Add visibility for apps with intent signature
  SEARCH_INDEXABLES_PROVIDER.

Fixes: 236813510
Test: manuall test and obersve the index database
Change-Id: I62f5d1a647427e61b74639ca6295f0a6530f643f
parent 4330a931
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -28,6 +28,15 @@

    <uses-sdk android:targetSdkVersion="31" />

    <queries>
        <intent>
            <action android:name="android.intent.action.MAIN"/>
        </intent>
        <intent>
            <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
        </intent>
    </queries>

    <application
        android:label="@string/app_name_settings_intelligence"
        android:icon="@mipmap/ic_launcher"