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

Commit 8321bfa5 authored by Viesturs Zarins's avatar Viesturs Zarins Committed by Android (Google) Code Review
Browse files

Merge "Fix too agresstive test, ActivityInfo should never be null." into main

parents 43a117cb e98d3f79
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -259,8 +259,10 @@ public class ActivityTileTest {
    }

    @Test
    public void isSearchable_noMetadata_isTrue() {
        final Tile tile = new ActivityTile(null, "category");
    public void isSearchable_nullMetadata_isTrue() {
        mActivityInfo.metaData = null;

        final Tile tile = new ActivityTile(mActivityInfo, "category");

        assertThat(tile.isSearchable()).isTrue();
    }