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:
@@ -64,7 +64,7 @@ class SliceTestUtils {
|
||||
: SettingsSliceProvider.SLICE_AUTHORITY)
|
||||
.appendPath(SettingsSlicesContract.PATH_SETTING_ACTION)
|
||||
.appendPath(key)
|
||||
.build().toSafeString());
|
||||
.build().toString());
|
||||
values.put(SlicesDatabaseHelper.IndexColumns.TITLE, FAKE_TITLE);
|
||||
values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, FAKE_SUMMARY);
|
||||
values.put(SlicesDatabaseHelper.IndexColumns.SCREENTITLE, FAKE_SCREEN_TITLE);
|
||||
|
Reference in New Issue
Block a user