summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Olivier Gaillard <gaillard@google.com> 2018-12-03 21:49:39 +0000
committer Olivier Gaillard <gaillard@google.com> 2018-12-04 09:49:11 +0000
commit2c9d47a53303522aaced90ac3f7baf73cc20728a (patch)
treefa254c97316839f8603f18877f17320329308d94
parent579fdf3ba62c8db90cfdde43562d7fbd726f623e (diff)
Use setMaxBinderCallStats instead of set interval.
Test: manual Change-Id: I9ddb84209bb1c4719374276a3ed47e5eebf874f7
-rw-r--r--services/core/java/com/android/server/BinderCallsStatsService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/BinderCallsStatsService.java b/services/core/java/com/android/server/BinderCallsStatsService.java
index 98203213e996..01716a0ea40a 100644
--- a/services/core/java/com/android/server/BinderCallsStatsService.java
+++ b/services/core/java/com/android/server/BinderCallsStatsService.java
@@ -98,7 +98,7 @@ public class BinderCallsStatsService extends Binder {
mBinderCallsStats.setSamplingInterval(mParser.getInt(
SETTINGS_SAMPLING_INTERVAL_KEY,
BinderCallsStats.PERIODIC_SAMPLING_INTERVAL_DEFAULT));
- mBinderCallsStats.setSamplingInterval(mParser.getInt(
+ mBinderCallsStats.setMaxBinderCallStats(mParser.getInt(
SETTINGS_MAX_CALL_STATS_KEY,
BinderCallsStats.MAX_BINDER_CALL_STATS_COUNT_DEFAULT));