From dd60f56455cf6cb929ec507f8ccffa19eda59acb Mon Sep 17 00:00:00 2001 From: Stanislav Zholnin Date: Mon, 3 May 2021 19:08:32 +0100 Subject: [PATCH] Add more explanation on difference between aggregate and discrete information. Bug: 185226805 Test: Change limited to docs, no tests. Change-Id: If041bad776d60dcfe018ef4d095f3e68e33a9e8d --- core/java/android/app/AppOpsManager.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/java/android/app/AppOpsManager.java b/core/java/android/app/AppOpsManager.java index d77ce4addacc9..4709754fd4e19 100644 --- a/core/java/android/app/AppOpsManager.java +++ b/core/java/android/app/AppOpsManager.java @@ -4723,8 +4723,8 @@ public class AppOpsManager { } /** - * Flag for querying app op history: get only aggregate information and no - * discrete accesses. + * Flag for querying app op history: get only aggregate information (counts of events) and no + * discret accesses information - specific accesses with timestamp. * * @see #getHistoricalOps(HistoricalOpsRequest, Executor, Consumer) * @@ -4735,8 +4735,8 @@ public class AppOpsManager { public static final int HISTORY_FLAG_AGGREGATE = 1 << 0; /** - * Flag for querying app op history: get only discrete information and no - * aggregate accesses. + * Flag for querying app op history: get only discrete access information (only specific + * accesses with timestamps) and no aggregate information (counts over time). * * @see #getHistoricalOps(HistoricalOpsRequest, Executor, Consumer) * @@ -4747,7 +4747,7 @@ public class AppOpsManager { public static final int HISTORY_FLAG_DISCRETE = 1 << 1; /** - * Flag for querying app op history: get all types of historical accesses. + * Flag for querying app op history: get all types of historical access information. * * @see #getHistoricalOps(HistoricalOpsRequest, Executor, Consumer) *