Merge "DO NOT MERGE"

This commit is contained in:
Treehugger Robot
2021-11-16 00:15:32 +00:00
committed by Gerrit Code Review

View File

@@ -552,6 +552,11 @@ public class AppWidgetHostView extends FrameLayout {
inflateAsync(rvToApply); inflateAsync(rvToApply);
return; return;
} }
// Prepare a local reference to the remote Context so we're ready to
// inflate any requested LayoutParams
mRemoteContext = getRemoteContext();
int layoutId = rvToApply.getLayoutId(); int layoutId = rvToApply.getLayoutId();
if (rvToApply.canRecycleView(mView)) { if (rvToApply.canRecycleView(mView)) {
try { try {