From 39c2d03489433d0822a79bd87fc9a39ce02c54ec Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Fri, 17 Jan 2020 20:03:57 +1000 Subject: [PATCH 1/6] Negate local media id over the bridge --- .../org/wordpress/android/editor/GutenbergEditorFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/editor/WordPressEditor/src/main/java/org/wordpress/android/editor/GutenbergEditorFragment.java b/libs/editor/WordPressEditor/src/main/java/org/wordpress/android/editor/GutenbergEditorFragment.java index cc1d9ef37e86..3881301bf606 100644 --- a/libs/editor/WordPressEditor/src/main/java/org/wordpress/android/editor/GutenbergEditorFragment.java +++ b/libs/editor/WordPressEditor/src/main/java/org/wordpress/android/editor/GutenbergEditorFragment.java @@ -790,7 +790,7 @@ public void appendMediaFiles(Map mediaList) { for (Map.Entry mediaEntry : mediaList.entrySet()) { int mediaId = isNetworkUrl ? Integer.valueOf(mediaEntry.getValue().getMediaId()) - : mediaEntry.getValue().getId(); + : -mediaEntry.getValue().getId(); // negate local id here String url = isNetworkUrl ? mediaEntry.getKey() : "file://" + mediaEntry.getKey(); rnMediaList.add(createRNMediaUsingMimeType(mediaId, url, mediaEntry.getValue().getMimeType())); } From f16cf872c28d87c71219ef81dcd468bbd0fb8013 Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Fri, 17 Jan 2020 20:04:08 +1000 Subject: [PATCH 2/6] Update gutenberg-mobile reference --- libs/gutenberg-mobile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gutenberg-mobile b/libs/gutenberg-mobile index 5b7b896d7fd5..4e3043f5379c 160000 --- a/libs/gutenberg-mobile +++ b/libs/gutenberg-mobile @@ -1 +1 @@ -Subproject commit 5b7b896d7fd51d903329d2e4fb267931d2e464fb +Subproject commit 4e3043f5379c4db2b4a0cf12a38b0880443e7a19 From 80a6d080f51a06b50c8274b3b4af3fb9490baf3b Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Wed, 22 Jan 2020 19:03:48 +1000 Subject: [PATCH 3/6] Update gutenberg-mobile reference --- libs/gutenberg-mobile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gutenberg-mobile b/libs/gutenberg-mobile index 4e3043f5379c..5acb41bee4c9 160000 --- a/libs/gutenberg-mobile +++ b/libs/gutenberg-mobile @@ -1 +1 @@ -Subproject commit 4e3043f5379c4db2b4a0cf12a38b0880443e7a19 +Subproject commit 5acb41bee4c985bbf9252d5fd9133ba698ca14fe From 2d5aba513557467930a81f1b00a3e6dde2de785d Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Thu, 20 Feb 2020 19:46:18 +1000 Subject: [PATCH 4/6] Update gutenberg-mobile reference --- libs/gutenberg-mobile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gutenberg-mobile b/libs/gutenberg-mobile index 5acb41bee4c9..28e46c4f6481 160000 --- a/libs/gutenberg-mobile +++ b/libs/gutenberg-mobile @@ -1 +1 @@ -Subproject commit 5acb41bee4c985bbf9252d5fd9133ba698ca14fe +Subproject commit 28e46c4f6481c4c4389bcca12b041b501560813e From 01dadb2fd9f1c182434946a04bd78f472762080e Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Thu, 20 Feb 2020 20:41:32 +1000 Subject: [PATCH 5/6] Update gutenberg-mobile reference --- libs/gutenberg-mobile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gutenberg-mobile b/libs/gutenberg-mobile index 28e46c4f6481..79d1673fa838 160000 --- a/libs/gutenberg-mobile +++ b/libs/gutenberg-mobile @@ -1 +1 @@ -Subproject commit 28e46c4f6481c4c4389bcca12b041b501560813e +Subproject commit 79d1673fa8385073e5d723b6b8f3bef797155ba6 From 3201a002fe0f980fc9459b82dec976c348f396da Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Fri, 21 Feb 2020 13:30:47 +1000 Subject: [PATCH 6/6] Update gutenberg-mobile reference --- libs/gutenberg-mobile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gutenberg-mobile b/libs/gutenberg-mobile index 79d1673fa838..178e94cd3327 160000 --- a/libs/gutenberg-mobile +++ b/libs/gutenberg-mobile @@ -1 +1 @@ -Subproject commit 79d1673fa8385073e5d723b6b8f3bef797155ba6 +Subproject commit 178e94cd33279d5e3475fe11b5ad1b250d336abd