From 31704a2e19106c16879dc2bf7f7c35f7cda190d3 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Fri, 19 Jan 2024 15:24:54 +0000 Subject: Remove android.graphics.RecordingCanvas.drawMesh(...) from current.txt Previously, the `core/api/current.txt` erroneously and unnecessarily listed `drawMesh(...)` as the only method in the `android.graphics.RecordingCanvas` class. That was because there was an bug in Metalava that meant it ignored a super method if that method came from a hidden/inaccessible class. The accompanying change in this topic fixes the bug and so it can be removed. Listing `drawMesh(...)` method in `RecordingCanvas` was unnecessary because `RecordingCanvas` extends `Canvas` which defines and provides a concrete implement of `drawMesh(...)`. The `RecordingCanvas` does not add any new methods, it simply overrides the methods from `Canvas` and records their parameters. Bug: 319826204 Test: m checkapi (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cf7ff527cf5fa7deb086cb61c5ec3400d45838db) Merged-In: I7e23b93659a87f13606ca2d6c4c3ceebee23901f Change-Id: I7e23b93659a87f13606ca2d6c4c3ceebee23901f --- core/api/current.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/core/api/current.txt b/core/api/current.txt index b6b8b6e65cd3..e75fc3cada05 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -16384,7 +16384,6 @@ package android.graphics { } public final class RecordingCanvas extends android.graphics.Canvas { - method public final void drawMesh(@NonNull android.graphics.Mesh, android.graphics.BlendMode, @NonNull android.graphics.Paint); } public final class Rect implements android.os.Parcelable { -- cgit v1.2.3-59-g8ed1b