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
diff --git a/apex/framework/Android.bp b/apex/framework/Android.bp
index 804eb03..7480ec8 100644
--- a/apex/framework/Android.bp
+++ b/apex/framework/Android.bp
@@ -89,7 +89,7 @@
droidstubs {
name: "framework-statsd-stubs-srcs-publicapi",
defaults: [
- "framework-module-stubs-defaults-systemapi",
+ "framework-module-stubs-defaults-publicapi",
"framework-statsd-stubs-srcs-defaults",
],
}
diff --git a/apex/framework/api/current.txt b/apex/framework/api/current.txt
index d802177..a655693 100644
--- a/apex/framework/api/current.txt
+++ b/apex/framework/api/current.txt
@@ -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);
+ }
+
+}
+