blob: de47267465cdd119340e004cdbae91065d61c93d [file] [log] [blame]
John Spurlock657c62c2014-07-22 12:18:09 -04001/*
Jason Monk9abca5e2016-11-11 16:18:14 -05002 * Copyright (C) 2016 The Android Open Source Project
John Spurlock657c62c2014-07-22 12:18:09 -04003 *
Jason Monk9abca5e2016-11-11 16:18:14 -05004 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5 * except in compliance with the License. You may obtain a copy of the License at
John Spurlock657c62c2014-07-22 12:18:09 -04006 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
Jason Monk9abca5e2016-11-11 16:18:14 -05009 * Unless required by applicable law or agreed to in writing, software distributed under the
10 * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 * KIND, either express or implied. See the License for the specific language governing
12 * permissions and limitations under the License.
John Spurlock657c62c2014-07-22 12:18:09 -040013 */
14
15package com.android.systemui.statusbar.policy;
16
Jason Monk88529052016-11-04 13:29:58 -040017import com.android.systemui.statusbar.policy.KeyguardMonitor.Callback;
Jason Monk8a3a9642015-06-05 11:01:30 -040018
Jason Monk9abca5e2016-11-11 16:18:14 -050019public interface KeyguardMonitor extends CallbackController<Callback> {
John Spurlock657c62c2014-07-22 12:18:09 -040020
Jason Monk9abca5e2016-11-11 16:18:14 -050021 boolean isSecure();
22 boolean canSkipBouncer();
23 boolean isShowing();
John Spurlock657c62c2014-07-22 12:18:09 -040024
25 public interface Callback {
26 void onKeyguardChanged();
27 }
Jason Monk9abca5e2016-11-11 16:18:14 -050028}