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

Commit 36779842 authored by Jacky Wang's avatar Jacky Wang
Browse files

Fix SettingsSearchIndexablesProviderTest

Fix: 420899878
Flag: TEST_ONLY
Test: atest
Change-Id: Id1fa6df50afa87354b61181119dea2ab4f9ce535
parent 9c0c5a8f
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;
        }
    }
}