blob: 9e49a75e223524e3b99b7afd6a796fc9b11b7578 [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() {}
}