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

Commit 95b91f5e authored by Jacky Wang's avatar Jacky Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix SettingsSearchIndexablesProviderTest" into main

parents c4332615 36779842
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ public class SettingsSearchIndexablesProviderTest {
    @Before
    public void setUp() {
        mContext = RuntimeEnvironment.application;
        mProvider = spy(new SettingsSearchIndexablesProvider());
        mProvider = spy(new IndexablesProvider());
        ProviderInfo info = new ProviderInfo();
        info.exported = true;
        info.grantUriPermissions = true;
@@ -238,4 +238,11 @@ public class SettingsSearchIndexablesProviderTest {
            sCategory = category;
        }
    }

    private static class IndexablesProvider extends SettingsSearchIndexablesProvider {
        @Override
        public boolean isCatalystSearchEnabled() {
            return false;
        }
    }
}