diff options
| author | 2014-01-28 23:25:47 +0000 | |
|---|---|---|
| committer | 2014-01-28 23:25:47 +0000 | |
| commit | 2b033dce9f252ae30ac88c9ba1569d18afaaf2cf (patch) | |
| tree | 89073798e4f12601e9101f081a10b26305d4491b | |
| parent | 5e1814e2ebf5614f8f4f7edd063e1a79bd929844 (diff) | |
| parent | 5a8daad469c22b9b48fdf3ac478991e4ddefdf1e (diff) | |
Merge "Clean up KeyguardSecurityCallback documentation and add copyright header."
| -rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java | 4 | ||||
| -rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java index 957098c47982..975ad6cb4a31 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java @@ -37,8 +37,8 @@ public interface KeyguardSecurityCallback { boolean isVerifyUnlockOnly(); /** - * Call when user correctly enters their credentials - * @param success + * Call to report an unlock attempt. + * @param success set to 'true' if user correctly entered security credentials. */ void reportUnlockAttempt(boolean success); diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java index 76066891010b..ea92b6497511 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * 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.keyguard; import android.app.Activity; |