From 5c9beeb26d13c69054bc5445b5adc251d066545f Mon Sep 17 00:00:00 2001 From: Kavish Devar Date: Fri, 19 Sep 2025 14:29:55 +0530 Subject: [PATCH] android: add header to ATTManager --- .../kavishdevar/librepods/utils/ATTManager.kt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/android/app/src/main/java/me/kavishdevar/librepods/utils/ATTManager.kt b/android/app/src/main/java/me/kavishdevar/librepods/utils/ATTManager.kt index 72857bb..f370957 100644 --- a/android/app/src/main/java/me/kavishdevar/librepods/utils/ATTManager.kt +++ b/android/app/src/main/java/me/kavishdevar/librepods/utils/ATTManager.kt @@ -1,3 +1,26 @@ +/* + * LibrePods - AirPods liberated from Apple’s ecosystem + * + * Copyright (C) 2025 LibrePods contributors + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published + * by the Free Software Foundation, either version 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + + /* This is a very basic ATT (Attribute Protocol) implementation. I have only implemented + * what is necessary for LibrePods to function, i.e. reading and writing characteristics, + * and receiving notifications. It is not a complete implementation of the ATT protocol. + */ + package me.kavishdevar.librepods.utils import android.annotation.SuppressLint