Add a new column for slices_index table.

To distinguish public and non-public slices, add public_slice column
to the database so we can return corresponding results based on this
value.

Bug: 141088937
Test: robotests
Change-Id: I05d003875a8be27e5cb735b4814eb86d6dc40174
This commit is contained in:
Yi-Ling Chuang
2019-11-18 16:39:02 +08:00
parent 345dc2bf3a
commit c7cd6c4671
9 changed files with 93 additions and 5 deletions

View File

@@ -75,6 +75,7 @@ public class SlicesDatabaseHelperTest {
IndexColumns.CONTROLLER,
IndexColumns.SLICE_TYPE,
IndexColumns.UNAVAILABLE_SLICE_SUBTITLE,
IndexColumns.PUBLIC_SLICE
};
assertThat(columnNames).isEqualTo(expectedNames);