Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 63146cde authored by Paul Duffin's avatar Paul Duffin
Browse files

Add missing Javadoc dependency to `framework-nfc`

The `CardEmulation.java` file imports `android.app.role.RoleManager`
and references it from some method bodies and the Javadoc of some of
its API members. Strictly speaking, that class should have been
imported in the stubs to ensure that the references in the Javadoc
could be correctly resolved. However, due to some inaccurate handling
of imports in Metalava the import was not added to the stubs.

The handling of imports in Metalava will be improved and so the class
will be correctly imported. However, that would lead to a compile time
failure because `RoleManager` is not on the classpath when compiling
the stubs. This change avoids that by adding the missing dependency
in preparation for the Metalava changes.

Bug: 371955471
Test: m droid
      tools/metalava/scripts/gather-android-metalava-artifacts.py before
      tools/metalava/scripts/gather-android-metalava-artifacts.py after
      meld before after
Change-Id: Id2e10482baec9031541efab7c9496be2b76cb8e7
parent 448c575e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment