diff options
| author | 2023-03-03 23:03:04 +0000 | |
|---|---|---|
| committer | 2023-03-08 22:15:14 +0000 | |
| commit | 8b9c3802f60eb394dd0726e3b138dac9324517a4 (patch) | |
| tree | 350b51a1fdc291a55dc0415f811501d3f4dd890c | |
| parent | 6789d002561ffc6204e8ef815f0ab656fb383b5f (diff) | |
Change trace tag for AppOpsCheckingServiceTracingDecorator
"Trace.TRACE_TAG_SYSTEM_SERVER" is used here as a trace category. This is probably fine, but, CrystalBall itself isn't currently configured to log this category.
As a workaround, use the trace tag "Trace.TRACE_TAG_ACTIVITY_MANAGER" instead.
Later, we might want to change this back to "Trace.TRACE_TAG_SYSTEM_SERVER" (or even create a new tag for permissions), and configure CrystalBall to support this category.
Bug: 252887420
Change-Id: Ia9ade03369de94ece045ec1433c9797e8eb8ce1e
Merged-In: Ia9ade03369de94ece045ec1433c9797e8eb8ce1e
Test: CrystalBall CUJ: android.platform.test.scenario.permissions.PermissionsTest
(cherry picked from commit 9bfeb112079812ef2cfbedc27bd37dd96d99d1da)
| -rw-r--r-- | services/core/java/com/android/server/appop/AppOpsCheckingServiceTracingDecorator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/appop/AppOpsCheckingServiceTracingDecorator.java b/services/core/java/com/android/server/appop/AppOpsCheckingServiceTracingDecorator.java index dd06464c4699..a028ae16da2f 100644 --- a/services/core/java/com/android/server/appop/AppOpsCheckingServiceTracingDecorator.java +++ b/services/core/java/com/android/server/appop/AppOpsCheckingServiceTracingDecorator.java @@ -32,7 +32,7 @@ import java.io.PrintWriter; * Trace.traceEnd. These traces are used for performance testing. */ public class AppOpsCheckingServiceTracingDecorator implements AppOpsCheckingServiceInterface { - private static final long TRACE_TAG = Trace.TRACE_TAG_SYSTEM_SERVER; + private static final long TRACE_TAG = Trace.TRACE_TAG_ACTIVITY_MANAGER; private final AppOpsCheckingServiceInterface mService; AppOpsCheckingServiceTracingDecorator( |