OSDN Git Service

Update license and log tag
authorJaap Jan Meijer <jjmeijer88@gmail.com>
Sat, 4 Jun 2016 18:40:13 +0000 (20:40 +0200)
committerJaap Jan Meijer <jjmeijer88@gmail.com>
Sat, 4 Jun 2016 18:42:55 +0000 (20:42 +0200)
Android.mk
power.c

index 8f714e4..7dd518b 100644 (file)
@@ -1,16 +1,12 @@
-# Copyright (C) 2011 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.
+# Copyright (C) 2016 The Android-x86 Open Source Project
+#
+# Licensed under the GNU General Public License Version 2 or later.
+# 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
+#      http://www.gnu.org/licenses/gpl.html
 #
-# 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.
 
 LOCAL_PATH := $(call my-dir)
 
diff --git a/power.c b/power.c
index 423a281..845e0a2 100644 (file)
--- a/power.c
+++ b/power.c
@@ -1,17 +1,14 @@
 /*
- * Copyright (C) 2012 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.
+ * Copyright (C) 2016 The Android-x86 Open Source Project
+ *
+ * Licensed under the GNU General Public License Version 2 or later.
+ * 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
+ *      http://www.gnu.org/licenses/gpl.html
+ *
  *
- * 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.
  */
 #include <errno.h>
 #include <string.h>
@@ -19,7 +16,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#define LOG_TAG "Legacy PowerHAL"
+#define LOG_TAG "PowerHAL"
 #include <utils/Log.h>
 
 #include <hardware/hardware.h>