Merge "Fix statsd publicapi stub default usage" into rvc-dev am: 578cac6e93

Change-Id: Iff0930a1f63eb5c6bc95940f664ea03f2b835870
This commit is contained in:
Anton Hansson
2020-03-28 17:14:42 +00:00
committed by Automerger Merge Worker
2 changed files with 12 additions and 1 deletions

View File

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

View File

@@ -1 +1,12 @@
// Signature format: 2.0 // 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);
}
}