blob: a347bc4661bf381196e1d8e495441478c8b5c842 [file] [log] [blame]
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.net;
/** Registration policy which make sure that the listener is always registered. */
public class RegistrationPolicyAlwaysRegister
extends NetworkChangeNotifierAutoDetect.RegistrationPolicy {
@Override
protected void init(NetworkChangeNotifierAutoDetect notifier) {
super.init(notifier);
register();
}
@Override
protected void destroy() {}
}