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
This commit is contained in:
@@ -61,7 +61,7 @@ public abstract class AppStateAppOpsBridge extends AppStateBaseBridge {
|
|||||||
new IPackageManagerWrapper(AppGlobals.getPackageManager()));
|
new IPackageManagerWrapper(AppGlobals.getPackageManager()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting(otherwise = VisibleForTesting.NONE)
|
@VisibleForTesting
|
||||||
AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback,
|
AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback,
|
||||||
int appOpsOpCode, String[] permissions, IPackageManagerWrapper packageManager) {
|
int appOpsOpCode, String[] permissions, IPackageManagerWrapper packageManager) {
|
||||||
super(appState, callback);
|
super(appState, callback);
|
||||||
|
Reference in New Issue
Block a user