Merge "Enable compat checking & lint for module_lib api" am: 0e9166f15b

Change-Id: Iba12d70334a211e03531af8537659c1322b2757e
This commit is contained in:
Automerger Merge Worker
2020-02-19 16:38:21 +00:00
2 changed files with 43 additions and 13 deletions

View File

@@ -193,20 +193,17 @@ droidstubs {
api_file: "api/module-lib-current.txt", api_file: "api/module-lib-current.txt",
removed_api_file: "api/module-lib-removed.txt", removed_api_file: "api/module-lib-removed.txt",
}, },
// TODO(b/147559833) enable the compatibility check against the last release API last_released: {
// and the API lint api_file: ":last-released-module-lib-api",
//last_released: { removed_api_file: "api/module-lib-removed.txt",
// api_file: ":last-released-module-lib-api", baseline_file: ":module-lib-api-incompatibilities-with-last-released"
// removed_api_file: "api/module-lib-removed.txt", },
// baseline_file: ":module-lib-api-incompatibilities-with-last-released" api_lint: {
//}, enabled: true,
//api_lint: { new_since: ":last-released-module-lib-api",
// enabled: true, baseline_file: "api/module-lib-lint-baseline.txt",
// new_since: ":last-released-module-lib-api", },
// baseline_file: "api/module-lib-lint-baseline.txt",
//},
}, },
//jdiff_enabled: true,
} }

View File

@@ -0,0 +1,33 @@
// Baseline format: 1.0
ActionValue: android.net.TetheringConstants#EXTRA_ADD_TETHER_TYPE:
Inconsistent extra value; expected `android.net.extra.ADD_TETHER_TYPE`, was `extraAddTetherType`
ActionValue: android.net.TetheringConstants#EXTRA_PROVISION_CALLBACK:
Inconsistent extra value; expected `android.net.extra.PROVISION_CALLBACK`, was `extraProvisionCallback`
ActionValue: android.net.TetheringConstants#EXTRA_REM_TETHER_TYPE:
Inconsistent extra value; expected `android.net.extra.REM_TETHER_TYPE`, was `extraRemTetherType`
ActionValue: android.net.TetheringConstants#EXTRA_RUN_PROVISION:
Inconsistent extra value; expected `android.net.extra.RUN_PROVISION`, was `extraRunProvision`
ActionValue: android.net.TetheringConstants#EXTRA_SET_ALARM:
Inconsistent extra value; expected `android.net.extra.SET_ALARM`, was `extraSetAlarm`
ActionValue: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
Inconsistent action value; expected `android.net.action.TETHER_STATE_CHANGED`, was `android.net.conn.TETHER_STATE_CHANGED`
ActionValue: android.net.TetheringManager#EXTRA_ACTIVE_TETHER:
Inconsistent extra value; expected `android.net.extra.ACTIVE_TETHER`, was `tetherArray`
ActionValue: android.net.TetheringManager#EXTRA_AVAILABLE_TETHER:
Inconsistent extra value; expected `android.net.extra.AVAILABLE_TETHER`, was `availableArray`
ActionValue: android.net.TetheringManager#EXTRA_ERRORED_TETHER:
Inconsistent extra value; expected `android.net.extra.ERRORED_TETHER`, was `erroredArray`
ManagerConstructor: android.net.TetheringManager#TetheringManager(android.content.Context, java.util.function.Supplier<android.os.IBinder>):
Managers must always be obtained from Context; no direct constructors
PrivateSuperclass: android.location.GnssAntennaInfo.PhaseCenterVariationCorrections:
Public class android.location.GnssAntennaInfo.PhaseCenterVariationCorrections extends private class android.location.GnssAntennaInfo.SphericalCorrections
PrivateSuperclass: android.location.GnssAntennaInfo.SignalGainCorrections:
Public class android.location.GnssAntennaInfo.SignalGainCorrections extends private class android.location.GnssAntennaInfo.SphericalCorrections
StaticUtils: android.net.TetheringConstants:
Fully-static utility classes must not have constructor