OSDN Git Service

Clean up KeyguardSecurityCallback documentation and add copyright header.
authorJim Miller <jaggies@google.com>
Wed, 15 Jan 2014 02:57:03 +0000 (18:57 -0800)
committerJim Miller <jaggies@google.com>
Tue, 28 Jan 2014 23:23:24 +0000 (15:23 -0800)
Bug 12135931

Change-Id: I9f2e20fb4c1a2cb6a9fb49f4b6939fd7687ef262

packages/Keyguard/src/com/android/keyguard/KeyguardSecurityCallback.java
packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java

index 957098c..975ad6c 100644 (file)
@@ -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);
 
index 7606689..ea92b64 100644 (file)
@@ -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;