Commit 4259c86c authored by Mohamed Heikal's avatar Mohamed Heikal Committed by Commit Bot

Explain BackgroundTaskSchedulerExternalUma otherwise visibility to lint

BackgroundTaskSchedulerExternalUma#toUmaEnumValueFromTaskId is used by
child classes but gives a lint warning. Fix the lint warning by
explaining to lint it was supposed to be protected not private.

Change-Id: I1f1cf080cf0750aaea1fdf94b1972b0f70e134b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514963
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823600}
parent 172c40cf
...@@ -95,7 +95,7 @@ public abstract class BackgroundTaskSchedulerExternalUma { ...@@ -95,7 +95,7 @@ public abstract class BackgroundTaskSchedulerExternalUma {
} }
} }
@VisibleForTesting @VisibleForTesting(otherwise = VisibleForTesting.PROTECTED)
public static int toUmaEnumValueFromTaskId(int taskId) { public static int toUmaEnumValueFromTaskId(int taskId) {
switch (taskId) { switch (taskId) {
case TaskIds.TEST: case TaskIds.TEST:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment