From aa92c4a9d5d4ac16b0aef34827b445f73b2f92ca Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 2 May 2018 10:29:58 -0500 Subject: [PATCH] global: Add or update copyright headers in Java code Signed-off-by: Samuel Holland --- app/src/main/java/com/wireguard/android/Application.java | 5 +++++ .../java/com/wireguard/android/BootShutdownReceiver.java | 5 +++++ .../main/java/com/wireguard/android/QuickTileService.java | 5 +++++ .../java/com/wireguard/android/activity/BaseActivity.java | 5 +++++ .../java/com/wireguard/android/activity/MainActivity.java | 5 +++++ .../com/wireguard/android/activity/SettingsActivity.java | 5 +++++ .../wireguard/android/activity/TunnelCreatorActivity.java | 5 +++++ app/src/main/java/com/wireguard/android/backend/Backend.java | 5 +++++ .../main/java/com/wireguard/android/backend/GoBackend.java | 5 +++++ .../java/com/wireguard/android/backend/WgQuickBackend.java | 5 +++++ .../java/com/wireguard/android/configStore/ConfigStore.java | 5 +++++ .../com/wireguard/android/configStore/FileConfigStore.java | 5 +++++ .../com/wireguard/android/databinding/BindingAdapters.java | 5 +++++ .../wireguard/android/databinding/ItemChangeListener.java | 5 +++++ .../android/databinding/ObservableKeyedListAdapter.java | 5 +++++ .../java/com/wireguard/android/fragment/BaseFragment.java | 5 +++++ .../com/wireguard/android/fragment/TunnelController.java | 5 +++++ .../com/wireguard/android/fragment/TunnelDetailFragment.java | 5 +++++ .../com/wireguard/android/fragment/TunnelEditorFragment.java | 5 +++++ .../com/wireguard/android/fragment/TunnelListFragment.java | 5 +++++ app/src/main/java/com/wireguard/android/model/Tunnel.java | 5 +++++ .../main/java/com/wireguard/android/model/TunnelManager.java | 5 +++++ .../android/preference/ToolsInstallerPreference.java | 5 +++++ .../wireguard/android/preference/ZipExporterPreference.java | 5 +++++ .../main/java/com/wireguard/android/util/AsyncWorker.java | 5 +++++ .../main/java/com/wireguard/android/util/ClipboardUtils.java | 5 +++++ .../java/com/wireguard/android/util/ExceptionLoggers.java | 5 +++++ app/src/main/java/com/wireguard/android/util/Keyed.java | 5 +++++ app/src/main/java/com/wireguard/android/util/KeyedList.java | 5 +++++ .../com/wireguard/android/util/ObservableKeyedArrayList.java | 5 +++++ .../java/com/wireguard/android/util/ObservableKeyedList.java | 5 +++++ .../android/util/ObservableSortedKeyedArrayList.java | 5 +++++ .../wireguard/android/util/ObservableSortedKeyedList.java | 5 +++++ app/src/main/java/com/wireguard/android/util/RootShell.java | 5 +++++ .../java/com/wireguard/android/util/SortedKeyedList.java | 5 +++++ .../main/java/com/wireguard/android/util/ToolsInstaller.java | 5 +++++ .../java/com/wireguard/android/widget/KeyInputFilter.java | 5 +++++ .../java/com/wireguard/android/widget/NameInputFilter.java | 5 +++++ app/src/main/java/com/wireguard/config/Attribute.java | 5 +++++ app/src/main/java/com/wireguard/config/Config.java | 5 +++++ app/src/main/java/com/wireguard/config/IPCidr.java | 5 +++++ app/src/main/java/com/wireguard/config/Interface.java | 5 +++++ app/src/main/java/com/wireguard/config/Peer.java | 5 +++++ app/src/main/java/com/wireguard/crypto/KeyEncoding.java | 5 ++++- app/src/main/java/com/wireguard/crypto/Keypair.java | 5 +++++ 45 files changed, 224 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/wireguard/android/Application.java b/app/src/main/java/com/wireguard/android/Application.java index f3cf0887..88e635f9 100644 --- a/app/src/main/java/com/wireguard/android/Application.java +++ b/app/src/main/java/com/wireguard/android/Application.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java b/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java index 001c3b55..c26a34d6 100644 --- a/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java +++ b/app/src/main/java/com/wireguard/android/BootShutdownReceiver.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/wireguard/android/QuickTileService.java b/app/src/main/java/com/wireguard/android/QuickTileService.java index f23eb4ba..2f8359f2 100644 --- a/app/src/main/java/com/wireguard/android/QuickTileService.java +++ b/app/src/main/java/com/wireguard/android/QuickTileService.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android; import android.annotation.TargetApi; diff --git a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java index 6ee9ff14..23607e99 100644 --- a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.activity; import android.content.Intent; diff --git a/app/src/main/java/com/wireguard/android/activity/MainActivity.java b/app/src/main/java/com/wireguard/android/activity/MainActivity.java index 307d0bf6..053d72af 100644 --- a/app/src/main/java/com/wireguard/android/activity/MainActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/MainActivity.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.activity; import android.content.Intent; diff --git a/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java b/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java index 46a90daa..4be7f2b7 100644 --- a/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/SettingsActivity.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.activity; import android.content.pm.PackageManager; diff --git a/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java b/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java index dc25d463..c91cf119 100644 --- a/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java +++ b/app/src/main/java/com/wireguard/android/activity/TunnelCreatorActivity.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.activity; import android.os.Bundle; diff --git a/app/src/main/java/com/wireguard/android/backend/Backend.java b/app/src/main/java/com/wireguard/android/backend/Backend.java index 3f0e19ca..13de33f2 100644 --- a/app/src/main/java/com/wireguard/android/backend/Backend.java +++ b/app/src/main/java/com/wireguard/android/backend/Backend.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.backend; import com.wireguard.android.model.Tunnel; diff --git a/app/src/main/java/com/wireguard/android/backend/GoBackend.java b/app/src/main/java/com/wireguard/android/backend/GoBackend.java index e055c353..4f32297a 100644 --- a/app/src/main/java/com/wireguard/android/backend/GoBackend.java +++ b/app/src/main/java/com/wireguard/android/backend/GoBackend.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.backend; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java b/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java index b9eb3461..b656ba71 100644 --- a/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java +++ b/app/src/main/java/com/wireguard/android/backend/WgQuickBackend.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.backend; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java b/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java index 3995376c..6cd9c917 100644 --- a/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java +++ b/app/src/main/java/com/wireguard/android/configStore/ConfigStore.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.configStore; import com.wireguard.config.Config; diff --git a/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java b/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java index ea5baf6d..da16e7b2 100644 --- a/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java +++ b/app/src/main/java/com/wireguard/android/configStore/FileConfigStore.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.configStore; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java index d4dd3726..5a1bec1b 100644 --- a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java +++ b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.databinding; import android.databinding.BindingAdapter; diff --git a/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java b/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java index 2b693c9f..ef607650 100644 --- a/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java +++ b/app/src/main/java/com/wireguard/android/databinding/ItemChangeListener.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.databinding; import android.databinding.DataBindingUtil; diff --git a/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java b/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java index b22c8909..b444e151 100644 --- a/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java +++ b/app/src/main/java/com/wireguard/android/databinding/ObservableKeyedListAdapter.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.databinding; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java b/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java index 9bfeeb5c..4505d212 100644 --- a/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/BaseFragment.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.fragment; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelController.java b/app/src/main/java/com/wireguard/android/fragment/TunnelController.java index a5b147e7..03c82b1b 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelController.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelController.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.fragment; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java index 01fa594b..d5cbfd4b 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelDetailFragment.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.fragment; import android.os.Bundle; diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java index f0731587..5d9f6b62 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.fragment; import android.app.Activity; diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java index 9fc7346b..89f1b893 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.fragment; import android.annotation.SuppressLint; diff --git a/app/src/main/java/com/wireguard/android/model/Tunnel.java b/app/src/main/java/com/wireguard/android/model/Tunnel.java index 037b380f..934b3018 100644 --- a/app/src/main/java/com/wireguard/android/model/Tunnel.java +++ b/app/src/main/java/com/wireguard/android/model/Tunnel.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.model; import android.databinding.BaseObservable; diff --git a/app/src/main/java/com/wireguard/android/model/TunnelManager.java b/app/src/main/java/com/wireguard/android/model/TunnelManager.java index 72980f5e..f8e69e84 100644 --- a/app/src/main/java/com/wireguard/android/model/TunnelManager.java +++ b/app/src/main/java/com/wireguard/android/model/TunnelManager.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.model; import android.content.SharedPreferences; diff --git a/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java b/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java index 5c919aae..9fab78a4 100644 --- a/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java +++ b/app/src/main/java/com/wireguard/android/preference/ToolsInstallerPreference.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.preference; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java b/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java index 53c19b3c..6077b0d5 100644 --- a/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java +++ b/app/src/main/java/com/wireguard/android/preference/ZipExporterPreference.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.preference; import android.Manifest; diff --git a/app/src/main/java/com/wireguard/android/util/AsyncWorker.java b/app/src/main/java/com/wireguard/android/util/AsyncWorker.java index 394b500f..85d2a407 100644 --- a/app/src/main/java/com/wireguard/android/util/AsyncWorker.java +++ b/app/src/main/java/com/wireguard/android/util/AsyncWorker.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.os.Handler; diff --git a/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java b/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java index 5cc32c5c..313c7f0e 100644 --- a/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java +++ b/app/src/main/java/com/wireguard/android/util/ClipboardUtils.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.content.ClipData; diff --git a/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java b/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java index 46922dd8..332c168c 100644 --- a/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java +++ b/app/src/main/java/com/wireguard/android/util/ExceptionLoggers.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.util.Log; diff --git a/app/src/main/java/com/wireguard/android/util/Keyed.java b/app/src/main/java/com/wireguard/android/util/Keyed.java index d79fdb97..7b8e9be9 100644 --- a/app/src/main/java/com/wireguard/android/util/Keyed.java +++ b/app/src/main/java/com/wireguard/android/util/Keyed.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; /** diff --git a/app/src/main/java/com/wireguard/android/util/KeyedList.java b/app/src/main/java/com/wireguard/android/util/KeyedList.java index 4eae34ff..5fb7a0a6 100644 --- a/app/src/main/java/com/wireguard/android/util/KeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/KeyedList.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import java.util.Collection; diff --git a/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java b/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java index 6ba76207..0bfbe929 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableKeyedArrayList.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.databinding.ObservableArrayList; diff --git a/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java b/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java index af9fd34d..5305872d 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableKeyedList.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.databinding.ObservableList; diff --git a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java index 7ffffc4c..222422ff 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedArrayList.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.support.annotation.NonNull; diff --git a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java index 56d10c17..cf19966d 100644 --- a/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/ObservableSortedKeyedList.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; /** diff --git a/app/src/main/java/com/wireguard/android/util/RootShell.java b/app/src/main/java/com/wireguard/android/util/RootShell.java index d24f6051..ac436975 100644 --- a/app/src/main/java/com/wireguard/android/util/RootShell.java +++ b/app/src/main/java/com/wireguard/android/util/RootShell.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java b/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java index b164b99d..66864040 100644 --- a/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java +++ b/app/src/main/java/com/wireguard/android/util/SortedKeyedList.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import java.util.Collection; diff --git a/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java b/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java index 2aa35957..c22d6ee9 100644 --- a/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java +++ b/app/src/main/java/com/wireguard/android/util/ToolsInstaller.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.util; import android.content.Context; diff --git a/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java b/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java index 5fe48ce9..853c5e8b 100644 --- a/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java +++ b/app/src/main/java/com/wireguard/android/widget/KeyInputFilter.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.widget; import android.text.InputFilter; diff --git a/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java b/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java index 458f4fb9..d38e34e2 100644 --- a/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java +++ b/app/src/main/java/com/wireguard/android/widget/NameInputFilter.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.android.widget; import android.text.InputFilter; diff --git a/app/src/main/java/com/wireguard/config/Attribute.java b/app/src/main/java/com/wireguard/config/Attribute.java index 726eaa1a..7a256c69 100644 --- a/app/src/main/java/com/wireguard/config/Attribute.java +++ b/app/src/main/java/com/wireguard/config/Attribute.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.config; import android.text.TextUtils; diff --git a/app/src/main/java/com/wireguard/config/Config.java b/app/src/main/java/com/wireguard/config/Config.java index ca2d3b1f..97e71ce9 100644 --- a/app/src/main/java/com/wireguard/config/Config.java +++ b/app/src/main/java/com/wireguard/config/Config.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.config; import android.databinding.BaseObservable; diff --git a/app/src/main/java/com/wireguard/config/IPCidr.java b/app/src/main/java/com/wireguard/config/IPCidr.java index a0135d15..89892061 100644 --- a/app/src/main/java/com/wireguard/config/IPCidr.java +++ b/app/src/main/java/com/wireguard/config/IPCidr.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.config; import java.net.Inet4Address; diff --git a/app/src/main/java/com/wireguard/config/Interface.java b/app/src/main/java/com/wireguard/config/Interface.java index 37186206..e43b7637 100644 --- a/app/src/main/java/com/wireguard/config/Interface.java +++ b/app/src/main/java/com/wireguard/config/Interface.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.config; import android.databinding.BaseObservable; diff --git a/app/src/main/java/com/wireguard/config/Peer.java b/app/src/main/java/com/wireguard/config/Peer.java index 413a8d6e..34fae0b1 100644 --- a/app/src/main/java/com/wireguard/config/Peer.java +++ b/app/src/main/java/com/wireguard/config/Peer.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.config; import android.databinding.BaseObservable; diff --git a/app/src/main/java/com/wireguard/crypto/KeyEncoding.java b/app/src/main/java/com/wireguard/crypto/KeyEncoding.java index ba867668..82e8904c 100644 --- a/app/src/main/java/com/wireguard/crypto/KeyEncoding.java +++ b/app/src/main/java/com/wireguard/crypto/KeyEncoding.java @@ -1,4 +1,7 @@ -/* Copyright (C) 2015-2017 Jason A. Donenfeld . All Rights Reserved. */ +/* + * Copyright (C) 2015-2017 Jason A. Donenfeld . All Rights Reserved. + * SPDX-License-Identifier: GPL-2.0-or-later + */ package com.wireguard.crypto; diff --git a/app/src/main/java/com/wireguard/crypto/Keypair.java b/app/src/main/java/com/wireguard/crypto/Keypair.java index 0fc08508..48decadb 100644 --- a/app/src/main/java/com/wireguard/crypto/Keypair.java +++ b/app/src/main/java/com/wireguard/crypto/Keypair.java @@ -1,3 +1,8 @@ +/* + * Copyright © 2018 Samuel Holland + * SPDX-License-Identifier: GPL-2.0-or-later + */ + package com.wireguard.crypto; import java.security.SecureRandom;