Use Uri.toString() instead of Uri.toSafeString()
Uri.toSafeString strips out paths and shouldn't be used for situations other than logging. Bug: 232694281 Test: PtsPowerTestCases Change-Id: Iec835b738c3e928e922bd6a14573106f2ce4f526
This commit is contained in:
@@ -101,7 +101,7 @@ class SlicesIndexer implements Runnable {
|
||||
for (SliceData dataRow : indexData) {
|
||||
values = new ContentValues();
|
||||
values.put(IndexColumns.KEY, dataRow.getKey());
|
||||
values.put(IndexColumns.SLICE_URI, dataRow.getUri().toSafeString());
|
||||
values.put(IndexColumns.SLICE_URI, dataRow.getUri().toString());
|
||||
values.put(IndexColumns.TITLE, dataRow.getTitle());
|
||||
values.put(IndexColumns.SUMMARY, dataRow.getSummary());
|
||||
final CharSequence screenTitle = dataRow.getScreenTitle();
|
||||
@@ -122,4 +122,4 @@ class SlicesIndexer implements Runnable {
|
||||
values);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user