Fix deep link issue of Slice cards in home page
Add setData(uri) back to intent to fix deep link launching error. Change-Id: Ibffce43ddeb9a1388d001515d8d3b320c5b45520 Fixes: 120473478 Test: robotests, visual
This commit is contained in:
@@ -85,7 +85,8 @@ public class DeviceInfoSlice implements CustomSliceable {
|
||||
return SliceBuilderUtils.buildSearchResultPageIntent(mContext,
|
||||
MyDeviceInfoFragment.class.getName(), "" /* key */, screenTitle,
|
||||
MetricsProto.MetricsEvent.SLICE)
|
||||
.setClassName(mContext.getPackageName(), SubSettings.class.getName());
|
||||
.setClassName(mContext.getPackageName(), SubSettings.class.getName())
|
||||
.setData(CustomSliceRegistry.DEVICE_INFO_SLICE_URI);
|
||||
}
|
||||
|
||||
private PendingIntent getPrimaryAction() {
|
||||
|
Reference in New Issue
Block a user