Revert "Add attribution tags for VCN and VPN"
This reverts commit 694b187597.
Reason for revert: <Break VpnManagerServiceTest. See b/286161960>
Change-Id: I4665c257c3cca28f0f657ba0f653ba2068f0d5e2
This commit is contained in:
committed by
Gerrit Code Review
parent
694b187597
commit
85029a4e5f
@@ -162,8 +162,6 @@ import java.util.concurrent.TimeUnit;
|
||||
// TODO(b/180451994): ensure all incoming + outgoing calls have a cleared calling identity
|
||||
public class VcnManagementService extends IVcnManagementService.Stub {
|
||||
@NonNull private static final String TAG = VcnManagementService.class.getSimpleName();
|
||||
@NonNull private static final String CONTEXT_ATTRIBUTION_TAG = "VCN";
|
||||
|
||||
private static final long DUMP_TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(5);
|
||||
private static final int LOCAL_LOG_LINE_COUNT = 512;
|
||||
|
||||
@@ -225,9 +223,7 @@ public class VcnManagementService extends IVcnManagementService.Stub {
|
||||
|
||||
@VisibleForTesting(visibility = Visibility.PRIVATE)
|
||||
VcnManagementService(@NonNull Context context, @NonNull Dependencies deps) {
|
||||
mContext =
|
||||
requireNonNull(context, "Missing context")
|
||||
.createAttributionContext(CONTEXT_ATTRIBUTION_TAG);
|
||||
mContext = requireNonNull(context, "Missing context");
|
||||
mDeps = requireNonNull(deps, "Missing dependencies");
|
||||
|
||||
mLooper = mDeps.getLooper();
|
||||
|
||||
@@ -80,7 +80,6 @@ import java.util.List;
|
||||
*/
|
||||
public class VpnManagerService extends IVpnManager.Stub {
|
||||
private static final String TAG = VpnManagerService.class.getSimpleName();
|
||||
private static final String CONTEXT_ATTRIBUTION_TAG = "VPN_MANAGER";
|
||||
|
||||
@VisibleForTesting
|
||||
protected final HandlerThread mHandlerThread;
|
||||
@@ -158,7 +157,7 @@ public class VpnManagerService extends IVpnManager.Stub {
|
||||
}
|
||||
|
||||
public VpnManagerService(Context context, Dependencies deps) {
|
||||
mContext = context.createAttributionContext(CONTEXT_ATTRIBUTION_TAG);
|
||||
mContext = context;
|
||||
mDeps = deps;
|
||||
mHandlerThread = mDeps.makeHandlerThread();
|
||||
mHandlerThread.start();
|
||||
|
||||
Reference in New Issue
Block a user