summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jim Miller <jaggies@google.com> 2014-01-28 23:25:47 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-01-28 23:25:47 +0000
commit2b033dce9f252ae30ac88c9ba1569d18afaaf2cf (patch)
tree89073798e4f12601e9101f081a10b26305d4491b
parent5e1814e2ebf5614f8f4f7edd063e1a79bd929844 (diff)
parent5a8daad469c22b9b48fdf3ac478991e4ddefdf1e (diff)
Merge "Clean up KeyguardSecurityCallback documentation and add copyright header."
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java4
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java15
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;