Bug 1658937 - [3.2] Update changelog. r=geckoview-reviewers,agi
authorEugen Sawin <esawin@mozilla.com>
Thu, 24 Sep 2020 21:21:17 +0000
changeset 550249 f4662be775dbf2cb8a5717fee0d1c5e80378ee3a
parent 550248 f1c6d2333d5a46881e9dd178a91eaafc72d81dc1
child 550250 1854aceb8ba433e63d9b7ff99ee017d0d287e767
push id127197
push useresawin@mozilla.com
push dateThu, 24 Sep 2020 21:40:56 +0000
treeherderautoland@f4662be775db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgeckoview-reviewers, agi
bugs1658937
milestone83.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1658937 - [3.2] Update changelog. r=geckoview-reviewers,agi Differential Revision: https://phabricator.services.mozilla.com/D90912
mobile/android/geckoview/api.txt
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/doc-files/CHANGELOG.md
--- a/mobile/android/geckoview/api.txt
+++ b/mobile/android/geckoview/api.txt
@@ -1368,17 +1368,16 @@ package org.mozilla.geckoview {
 
   @UiThread public static interface MediaSession.Delegate {
     method default public void onActivated(@NonNull GeckoSession, @NonNull MediaSession);
     method default public void onDeactivated(@NonNull GeckoSession, @NonNull MediaSession);
     method default public void onFeatures(@NonNull GeckoSession, @NonNull MediaSession, long);
     method default public void onFullscreen(@NonNull GeckoSession, @NonNull MediaSession, boolean, @Nullable MediaSession.ElementMetadata);
     method default public void onMetadata(@NonNull GeckoSession, @NonNull MediaSession, @NonNull MediaSession.Metadata);
     method default public void onPause(@NonNull GeckoSession, @NonNull MediaSession);
-    method default public void onPictureInPicture(@NonNull GeckoSession, @NonNull MediaSession, boolean);
     method default public void onPlay(@NonNull GeckoSession, @NonNull MediaSession);
     method default public void onPositionState(@NonNull GeckoSession, @NonNull MediaSession, @NonNull MediaSession.PositionState);
     method default public void onStop(@NonNull GeckoSession, @NonNull MediaSession);
   }
 
   public static class MediaSession.ElementMetadata {
     ctor public ElementMetadata(@Nullable String, double, long, long, int, int);
     field public final int audioTrackCount;
--- a/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/doc-files/CHANGELOG.md
+++ b/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/doc-files/CHANGELOG.md
@@ -12,18 +12,23 @@ exclude: true
 # GeckoView API Changelog.
 
 ⚠️  breaking change and deprecation notices
 
 ## v83
 - Added [`WebExtension.MetaData.temporary`][83.1] which exposes whether an extension
   has been installed temporarily, e.g. when using web-ext.
   ([bug 1624410]({{bugzilla}}1624410))
+- ⚠️  Removing unsupported `MediaSession.Delegate.onPictureInPicture` for now.
+  Also, [`MediaSession.Delegate.onMetadata`][83.2] is no longer dispatched for
+  plain media elements.
+  ([bug 1658937]({{bugzilla}}1658937))
 
 [83.1]: {{javadoc_uri}}/WebExtension.MetaData.html#temporary
+[83.2]: {{javadoc_uri}}/MediaSession.Delegate.html#onMetadata-org.mozilla.geckoview.GeckoSession-org.mozilla.geckoview.MediaSession-org.mozilla.geckoview.MediaSession.Metadata-
 
 ## v82
 - ⚠️  [`WebNotification.source`][79.2] is now `@Nullable` to account for
   WebExtension notifications which don't have a `source` field.
 - ⚠️ Deprecated [`ContentDelegate#onExternalResponse(GeckoSession, WebResponseInfo)`][82.1] with the intention of removing
   them in GeckoView v85. 
   ([bug 1530022]({{bugzilla}}1530022))
 - Added [`ContentDelegate#onExternalResponse(GeckoSession, WebResponse)`][82.2] to eliminate the need
@@ -803,9 +808,9 @@ to allow adding gecko profiler markers.
 [65.19]: {{javadoc_uri}}/GeckoSession.NavigationDelegate.LoadRequest.html#isRedirect
 [65.20]: {{javadoc_uri}}/GeckoSession.html#LOAD_FLAGS_BYPASS_CLASSIFIER
 [65.21]: {{javadoc_uri}}/GeckoSession.ContentDelegate.ContextElement.html
 [65.22]: {{javadoc_uri}}/GeckoSession.ContentDelegate.html#onContextMenu-org.mozilla.geckoview.GeckoSession-int-int-org.mozilla.geckoview.GeckoSession.ContentDelegate.ContextElement-
 [65.23]: {{javadoc_uri}}/GeckoSession.FinderResult.html
 [65.24]: {{javadoc_uri}}/CrashReporter.html#sendCrashReport-android.content.Context-android.os.Bundle-java.lang.String-
 [65.25]: {{javadoc_uri}}/GeckoResult.html
 
-[api-version]: 8a8ae9a25f36172359421f78ec83bb8613621541
+[api-version]: 01fdaf45cfe4dc5974de314cbdb79584781eb282