Fix statsd publicapi stub default usage

It was referring to the systemapi defaults, which is incorrect.
I noticed this as I was adding all the stub txt variants to dist.

Bug: 147768409
Test: m
Change-Id: If12fe22c92fbfc82a6efce9c466990d9c3da242e
This commit is contained in:
Anton Hansson
2020-03-23 17:47:18 +00:00
parent f79b08b7ab
commit 4f8f0d9d5b
2 changed files with 12 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ stubs_defaults {
droidstubs {
name: "framework-statsd-stubs-srcs-publicapi",
defaults: [
"framework-module-stubs-defaults-systemapi",
"framework-module-stubs-defaults-publicapi",
"framework-statsd-stubs-srcs-defaults",
],
}

View File

@@ -1 +1,12 @@
// Signature format: 2.0
package android.util {
public final class StatsLog {
method @RequiresPermission(allOf={android.Manifest.permission.DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public static boolean logBinaryPushStateChanged(@NonNull String, long, int, int, @NonNull long[]);
method public static boolean logEvent(int);
method public static boolean logStart(int);
method public static boolean logStop(int);
}
}