diff options
| author | Jim Miller <jaggies@google.com> | 2014-01-14 18:57:03 -0800 |
|---|---|---|
| committer | Jim Miller <jaggies@google.com> | 2014-01-28 15:23:24 -0800 |
| commit | 5a8daad469c22b9b48fdf3ac478991e4ddefdf1e (patch) | |
| tree | 122ee16dd0415b953739b25b5792947f1131a134 | |
| parent | ef4aad220fbd2e79cd44e11a09657d3aab58a673 (diff) | |
| download | frameworks_base-5a8daad469c22b9b48fdf3ac478991e4ddefdf1e.zip frameworks_base-5a8daad469c22b9b48fdf3ac478991e4ddefdf1e.tar.gz frameworks_base-5a8daad469c22b9b48fdf3ac478991e4ddefdf1e.tar.bz2 | |
Clean up KeyguardSecurityCallback documentation and add copyright header.
Bug 12135931
Change-Id: I9f2e20fb4c1a2cb6a9fb49f4b6939fd7687ef262
| -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 957098c..975ad6c 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 7606689..ea92b64 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; |
