Loading core/java/android/appwidget/AppWidgetHostView.java +7 −0 Original line number Diff line number Diff line Loading @@ -552,6 +552,10 @@ public class AppWidgetHostView extends FrameLayout { inflateAsync(rvToApply); return; } // Prepare a local reference to the remote Context so we're ready to // inflate any requested LayoutParams. mRemoteContext = getRemoteContext(); int layoutId = rvToApply.getLayoutId(); if (rvToApply.canRecycleView(mView)) { try { Loading Loading @@ -727,6 +731,9 @@ public class AppWidgetHostView extends FrameLayout { } catch (NameNotFoundException e) { Log.e(TAG, "Package name " + mInfo.providerInfo.packageName + " not found"); return mContext; } catch (NullPointerException e) { Log.e(TAG, "Error trying to create the remote context.", e); return mContext; } } Loading Loading
core/java/android/appwidget/AppWidgetHostView.java +7 −0 Original line number Diff line number Diff line Loading @@ -552,6 +552,10 @@ public class AppWidgetHostView extends FrameLayout { inflateAsync(rvToApply); return; } // Prepare a local reference to the remote Context so we're ready to // inflate any requested LayoutParams. mRemoteContext = getRemoteContext(); int layoutId = rvToApply.getLayoutId(); if (rvToApply.canRecycleView(mView)) { try { Loading Loading @@ -727,6 +731,9 @@ public class AppWidgetHostView extends FrameLayout { } catch (NameNotFoundException e) { Log.e(TAG, "Package name " + mInfo.providerInfo.packageName + " not found"); return mContext; } catch (NullPointerException e) { Log.e(TAG, "Error trying to create the remote context.", e); return mContext; } } Loading