summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/sensors/android/androidcompass.cpp20
-rw-r--r--src/plugins/sensors/android/qt_attribution.json12
2 files changed, 14 insertions, 18 deletions
diff --git a/src/plugins/sensors/android/androidcompass.cpp b/src/plugins/sensors/android/androidcompass.cpp
index d6f4f0f7..9cdea54d 100644
--- a/src/plugins/sensors/android/androidcompass.cpp
+++ b/src/plugins/sensors/android/androidcompass.cpp
@@ -1,22 +1,6 @@
// Copyright (C) 2019 BogDan Vatra <bogdan@kde.org>
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-
-/*
- * Copyright (C) 2008 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.
- */
-
+// Copyright (C) 2008 The Android Open Source Project
+// SPDX-License-Identifier: Apache-2.0
#include "androidcompass.h"
diff --git a/src/plugins/sensors/android/qt_attribution.json b/src/plugins/sensors/android/qt_attribution.json
new file mode 100644
index 00000000..9599e5bf
--- /dev/null
+++ b/src/plugins/sensors/android/qt_attribution.json
@@ -0,0 +1,12 @@
+{
+ "Id": "android-compass",
+ "Name": "Android getRotationMatrix and getOrientation",
+ "QDocModule": "qtsensors",
+ "Description": "Code to calculate the rotation matrix and orientation of a compass, adopted from Android sources.",
+ "QtUsage": "Used on Android, in the Android Sensor plugin.",
+ "Files": "androidcompass.cpp",
+
+ "License": "Apache License 2.0",
+ "LicenseId": "Apache-2.0",
+ "Copyright": "Copyright (C) 2008 The Android Open Source Project"
+}