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

Skip to content
Commit 6c903712 authored by Paul Duffin's avatar Paul Duffin
Browse files

Add missing Javadoc dependency to `com.android.location.provider`

The `LocationProviderBase.java` file imports
`android.location.provider.ProviderRequest` and references it from
the Javadoc of the `onSetReqeust(...)` method.

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 `ProviderRequest` 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
Change-Id: If523d495f9822e8b1ac011442564407454080a7b
parent b1815bd8
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