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

Commit 8662e464 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix search test"

parents a031404a 8b0e4018
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -68,7 +68,9 @@ public class SearchFeatureProviderImplTest {
        final Intent searchIntent = new Intent(Settings.ACTION_APP_SEARCH_SETTINGS)
                .setPackage(mActivity.getString(R.string.config_settingsintelligence_package_name));
        final ResolveInfo info = new ResolveInfo();
        info.activityInfo = new ActivityInfo();
        final ActivityInfo activityInfo = new ActivityInfo();
        activityInfo.packageName = "com.android.example";
        info.activityInfo = activityInfo;
        mPackageManager.addResolveInfoForIntent(searchIntent, info);

        // Should not crash.