From fb9e3afc849c07f15fff59ea08254cc9daa33618 Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Fri, 2 Feb 2018 10:48:03 -0800 Subject: [PATCH] Fix VisibleForTesting annotation in AppStateAppOpsBridge Should be PRIVATE (the default) and not NONE since it's called from the regular constructor for the object. Bug: Clean-up Test: Compiles Change-Id: I9eb8881ed03dcddd1b478e313f5a314b338fccd7 --- src/com/android/settings/applications/AppStateAppOpsBridge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/applications/AppStateAppOpsBridge.java b/src/com/android/settings/applications/AppStateAppOpsBridge.java index 6ec32a3fdf5..e0c19ff230a 100755 --- a/src/com/android/settings/applications/AppStateAppOpsBridge.java +++ b/src/com/android/settings/applications/AppStateAppOpsBridge.java @@ -61,7 +61,7 @@ public abstract class AppStateAppOpsBridge extends AppStateBaseBridge { new IPackageManagerWrapper(AppGlobals.getPackageManager())); } - @VisibleForTesting(otherwise = VisibleForTesting.NONE) + @VisibleForTesting AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback, int appOpsOpCode, String[] permissions, IPackageManagerWrapper packageManager) { super(appState, callback);