diff options
author | Tor Norbye <tnorbye@google.com> | 2018-12-26 19:55:07 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2019-01-19 12:07:50 -0800 |
commit | 68ea0c3c1375c9a14a0851b90899f36b5d355403 (patch) | |
tree | cdc2c9e5d6b93f789d2be836729def1e19dc20e8 /location/lib | |
parent | 401e3d4c842ce86569de4477138137dc07a6aa6f (diff) |
Update signature files to the new format
The new format is described in tools/metalava/FORMAT.md.
Fixes: 116589402 Switch signature files over to the v2 format
Fixes: 112626813 Drop "synchronized" modifier from the signature format
Fixes: 122358225 Omit overriding methods that only differ in final [...]
Fixes: 73088715 API Review: Need doclava to output nullability
Fixes: 79739773 API Review: Metalava enforcing constants are constant
Exempt-From-Owner-Approval: Large-scale tooling change
Test: make sdk, make update-api, make checkapi
Change-Id: Ia248aece5250e84e47c815c601133b698bf644c2
Diffstat (limited to 'location/lib')
-rw-r--r-- | location/lib/api/current.txt | 25 | ||||
-rw-r--r-- | location/lib/api/removed.txt | 1 | ||||
-rw-r--r-- | location/lib/api/system-current.txt | 1 | ||||
-rw-r--r-- | location/lib/api/system-removed.txt | 1 | ||||
-rw-r--r-- | location/lib/api/test-current.txt | 1 | ||||
-rw-r--r-- | location/lib/api/test-removed.txt | 1 |
6 files changed, 18 insertions, 12 deletions
diff --git a/location/lib/api/current.txt b/location/lib/api/current.txt index 10c344775019..c7212183a37e 100644 --- a/location/lib/api/current.txt +++ b/location/lib/api/current.txt @@ -1,27 +1,28 @@ +// Signature format: 2.0 package com.android.location.provider { - public abstract deprecated class FusedProvider { - ctor public FusedProvider(); - method public android.os.IBinder getBinder(); + @Deprecated public abstract class FusedProvider { + ctor @Deprecated public FusedProvider(); + method @Deprecated public android.os.IBinder getBinder(); } public abstract class LocationProviderBase { - ctor public LocationProviderBase(java.lang.String, com.android.location.provider.ProviderPropertiesUnbundled); + ctor public LocationProviderBase(String, com.android.location.provider.ProviderPropertiesUnbundled); method public android.os.IBinder getBinder(); method public boolean isEnabled(); - method protected deprecated void onDisable(); - method protected void onDump(java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); - method protected deprecated void onEnable(); - method protected deprecated int onGetStatus(android.os.Bundle); - method protected deprecated long onGetStatusUpdateTime(); + method @Deprecated protected void onDisable(); + method protected void onDump(java.io.FileDescriptor, java.io.PrintWriter, String[]); + method @Deprecated protected void onEnable(); + method @Deprecated protected int onGetStatus(android.os.Bundle); + method @Deprecated protected long onGetStatusUpdateTime(); method protected void onInit(); - method protected boolean onSendExtraCommand(java.lang.String, android.os.Bundle); + method protected boolean onSendExtraCommand(@Nullable String, @Nullable android.os.Bundle); method protected abstract void onSetRequest(com.android.location.provider.ProviderRequestUnbundled, android.os.WorkSource); method public void reportLocation(android.location.Location); method public void setEnabled(boolean); method public void setProperties(com.android.location.provider.ProviderPropertiesUnbundled); - field public static final java.lang.String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; - field public static final java.lang.String FUSED_PROVIDER = "fused"; + field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; + field public static final String FUSED_PROVIDER = "fused"; } public final class LocationRequestUnbundled { diff --git a/location/lib/api/removed.txt b/location/lib/api/removed.txt index e69de29bb2d1..d802177e249b 100644 --- a/location/lib/api/removed.txt +++ b/location/lib/api/removed.txt @@ -0,0 +1 @@ +// Signature format: 2.0 diff --git a/location/lib/api/system-current.txt b/location/lib/api/system-current.txt index e69de29bb2d1..d802177e249b 100644 --- a/location/lib/api/system-current.txt +++ b/location/lib/api/system-current.txt @@ -0,0 +1 @@ +// Signature format: 2.0 diff --git a/location/lib/api/system-removed.txt b/location/lib/api/system-removed.txt index e69de29bb2d1..d802177e249b 100644 --- a/location/lib/api/system-removed.txt +++ b/location/lib/api/system-removed.txt @@ -0,0 +1 @@ +// Signature format: 2.0 diff --git a/location/lib/api/test-current.txt b/location/lib/api/test-current.txt index e69de29bb2d1..d802177e249b 100644 --- a/location/lib/api/test-current.txt +++ b/location/lib/api/test-current.txt @@ -0,0 +1 @@ +// Signature format: 2.0 diff --git a/location/lib/api/test-removed.txt b/location/lib/api/test-removed.txt index e69de29bb2d1..d802177e249b 100644 --- a/location/lib/api/test-removed.txt +++ b/location/lib/api/test-removed.txt @@ -0,0 +1 @@ +// Signature format: 2.0 |