John Spurlock | 657c62c | 2014-07-22 12:18:09 -0400 | [diff] [blame] | 1 | /* |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 2 | * Copyright (C) 2016 The Android Open Source Project |
John Spurlock | 657c62c | 2014-07-22 12:18:09 -0400 | [diff] [blame] | 3 | * |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 4 | * 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 Spurlock | 657c62c | 2014-07-22 12:18:09 -0400 | [diff] [blame] | 6 | * |
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | * |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 9 | * 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 Spurlock | 657c62c | 2014-07-22 12:18:09 -0400 | [diff] [blame] | 13 | */ |
| 14 | |
| 15 | package com.android.systemui.statusbar.policy; |
| 16 | |
Jason Monk | 8852905 | 2016-11-04 13:29:58 -0400 | [diff] [blame] | 17 | import com.android.systemui.statusbar.policy.KeyguardMonitor.Callback; |
Jason Monk | 8a3a964 | 2015-06-05 11:01:30 -0400 | [diff] [blame] | 18 | |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 19 | public interface KeyguardMonitor extends CallbackController<Callback> { |
John Spurlock | 657c62c | 2014-07-22 12:18:09 -0400 | [diff] [blame] | 20 | |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 21 | boolean isSecure(); |
| 22 | boolean canSkipBouncer(); |
| 23 | boolean isShowing(); |
John Spurlock | 657c62c | 2014-07-22 12:18:09 -0400 | [diff] [blame] | 24 | |
| 25 | public interface Callback { |
| 26 | void onKeyguardChanged(); |
| 27 | } |
Jason Monk | 9abca5e | 2016-11-11 16:18:14 -0500 | [diff] [blame^] | 28 | } |