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:
@@ -112,6 +112,7 @@ class SlicesIndexer implements Runnable {
|
||||
values.put(IndexColumns.SLICE_TYPE, dataRow.getSliceType());
|
||||
values.put(IndexColumns.UNAVAILABLE_SLICE_SUBTITLE,
|
||||
dataRow.getUnavailableSliceSubtitle());
|
||||
values.put(IndexColumns.PUBLIC_SLICE, dataRow.isPublicSlice());
|
||||
|
||||
database.replaceOrThrow(Tables.TABLE_SLICES_INDEX, null /* nullColumnHack */,
|
||||
values);
|
||||
|
Reference in New Issue
Block a user