Loading core/java/android/widget/RemoteViews.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -8483,8 +8483,11 @@ public class RemoteViews implements Parcelable, Filter { } } try { try { LoadedApk.checkAndUpdateApkPaths(mApplication); LoadedApk.checkAndUpdateApkPaths(mApplication); return context.createApplicationContext(mApplication, Context applicationContext = context.createApplicationContext(mApplication, Context.CONTEXT_RESTRICTED); Context.CONTEXT_RESTRICTED); // Get the correct apk paths while maintaining the current context's configuration. return applicationContext.createConfigurationContext( context.getResources().getConfiguration()); } catch (NameNotFoundException e) { } catch (NameNotFoundException e) { Log.e(LOG_TAG, "Package name " + mApplication.packageName + " not found"); Log.e(LOG_TAG, "Package name " + mApplication.packageName + " not found"); } } Loading Loading
core/java/android/widget/RemoteViews.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -8483,8 +8483,11 @@ public class RemoteViews implements Parcelable, Filter { } } try { try { LoadedApk.checkAndUpdateApkPaths(mApplication); LoadedApk.checkAndUpdateApkPaths(mApplication); return context.createApplicationContext(mApplication, Context applicationContext = context.createApplicationContext(mApplication, Context.CONTEXT_RESTRICTED); Context.CONTEXT_RESTRICTED); // Get the correct apk paths while maintaining the current context's configuration. return applicationContext.createConfigurationContext( context.getResources().getConfiguration()); } catch (NameNotFoundException e) { } catch (NameNotFoundException e) { Log.e(LOG_TAG, "Package name " + mApplication.packageName + " not found"); Log.e(LOG_TAG, "Package name " + mApplication.packageName + " not found"); } } Loading