blob: 742328917961bf79bf1ae78e773cf0635e2e1126 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.lifecycle;
import android.content.res.Configuration;
/**
* Implement this interface and register in {@link ActivityLifecycleDispatcher} to be notified of
* configuration changes.
*/
public interface ConfigurationChangedObserver {
/**
* Called when the Activity configuration changes. See
* {@link android.app.Activity#onConfigurationChanged(Configuration)}.
*/
void onConfigurationChanged(Configuration newConfig);
}