Merge "Make Settings Slider Slices one row" into pi-dev am: 4199198ec2

am: 2c7fe6f8ea

Change-Id: I0910df206d702cc348371c57da27ddf698faa6ff
This commit is contained in:
Matthew Fritze
2018-05-31 15:38:17 -07:00
committed by android-build-merger
2 changed files with 6 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ import androidx.slice.SliceMetadata;
import androidx.slice.builders.ListBuilder;
import androidx.slice.core.SliceAction;
import androidx.slice.core.SliceQuery;
import androidx.slice.widget.EventInfo;
import androidx.core.graphics.drawable.IconCompat;
@@ -159,6 +160,9 @@ public class SliceTester {
final long sliceTTL = metadata.getExpiry();
assertThat(sliceTTL).isEqualTo(ListBuilder.INFINITY);
final int headerType = metadata.getHeaderType();
assertThat(headerType).isEqualTo(EventInfo.ROW_TYPE_SLIDER);
// Check primary intent
final PendingIntent primaryPendingIntent = primaryAction.getAction();
assertThat(primaryPendingIntent).isEqualTo(