Files
lawnchair/systemUI/plugin/src/com/android/systemui/plugins/statusbar/DozeParameters.java

33 lines
989 B
Java
Raw Normal View History

2021-06-03 10:55:06 +07:00
/*
* Copyright (C) 2019 The Android Open Source Project
2021-06-03 10:55:06 +07:00
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.systemui.plugins.statusbar;
2021-06-03 10:55:06 +07:00
import com.android.systemui.plugins.annotations.ProvidesInterface;
2021-10-07 08:38:54 +07:00
2023-09-21 21:54:56 +08:00
/**
* Retrieve doze information
2023-09-21 21:54:56 +08:00
*/
@ProvidesInterface(version = DozeParameters.VERSION)
public interface DozeParameters {
int VERSION = 1;
2023-09-21 21:54:56 +08:00
/**
* Whether to doze when the screen turns off
2023-09-21 21:54:56 +08:00
*/
boolean shouldControlScreenOff();
2023-09-21 21:54:56 +08:00
}