Skip to content

Commit 6f763fb

Browse files
authored
Minor refactoring of dynamic patching code. (#7325)
Minor refactoring of dynamic patching code. - Changes naming of manifest properties to be consistent with documentation. - Moves methods from inner class to outer class to make them more reusable.
1 parent 868dc04 commit 6f763fb

File tree

3 files changed

+240
-242
lines changed

3 files changed

+240
-242
lines changed

shell/platform/android/io/flutter/view/FlutterMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ private static void initResources(Context applicationContext) {
264264
Log.e(TAG, "Unable to read application info", e);
265265
}
266266

267-
if (metaData != null && metaData.getBoolean("DynamicUpdates")) {
267+
if (metaData != null && metaData.getBoolean("DynamicPatching")) {
268268
sResourceUpdater = new ResourceUpdater(context);
269269
sResourceUpdater.startUpdateDownloadOnce();
270270
sResourceUpdater.waitForDownloadCompletion();

0 commit comments

Comments
 (0)