From 6fc5ae66b8757aa71c9d8501aab54dbc071d55ad Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Mon, 5 Jun 2023 12:21:15 +0200 Subject: [PATCH] Add license headers to files missing it --- AndroidManifest.xml | 7 +++++++ res/color/state_list_drawer_text.xml | 7 +++++++ res/layout/about_person_list_item_entry.xml | 6 ++++++ res/layout/activity_about_kde.xml | 9 ++++++++- res/layout/activity_bigscreen.xml | 9 ++++++++- res/layout/activity_clipboard_floating.xml | 9 ++++++++- res/layout/activity_custom_devices.xml | 8 +++++++- res/layout/activity_device.xml | 8 ++++++++ res/layout/activity_easter_egg.xml | 9 ++++++++- res/layout/activity_find_my_phone.xml | 8 +++++++- res/layout/activity_licenses.xml | 9 ++++++++- res/layout/activity_main.xml | 10 +++++++++- res/layout/activity_mousepad.xml | 8 +++++++- res/layout/activity_mpris.xml | 7 +++++++ res/layout/activity_notification_filter.xml | 9 ++++++++- res/layout/activity_plugin_settings.xml | 8 +++++++- res/layout/activity_presenter.xml | 7 +++++++ res/layout/activity_run_command.xml | 9 ++++++++- res/layout/activity_sendkeystrokes.xml | 9 ++++++++- res/layout/activity_share.xml | 9 ++++++++- res/layout/custom_device_item.xml | 9 ++++++++- res/layout/devices_list.xml | 9 ++++++++- res/layout/edit_text_alert_dialog_view.xml | 6 ++++++ res/layout/fragment_about.xml | 9 ++++++++- res/layout/fragment_storage_preference_dialog.xml | 9 ++++++++- res/layout/list_card_entry.xml | 9 ++++++++- res/layout/list_item_category.xml | 7 +++++++ res/layout/list_item_entry.xml | 6 ++++++ res/layout/list_item_plugin_header.xml | 7 +++++++ res/layout/list_item_systemvolume.xml | 9 ++++++++- res/layout/list_item_with_icon_entry.xml | 6 ++++++ res/layout/mouse_receiver_cursor.xml | 9 ++++++++- res/layout/mpris_control.xml | 6 ++++++ res/layout/mpris_now_playing.xml | 9 ++++++++- res/layout/nav_header.xml | 7 +++++++ res/layout/pairing_explanation_not_trusted.xml | 7 +++++++ res/layout/pairing_explanation_text.xml | 7 +++++++ res/layout/pairing_explanation_text_no_wifi.xml | 7 +++++++ res/layout/popup_notificationsfilter.xml | 7 +++++++ res/layout/preference_checkbox.xml | 9 ++++++++- res/layout/preference_widget_material_switch.xml | 10 +++++++++- res/layout/privacy_options.xml | 7 +++++++ res/layout/system_volume_fragment.xml | 9 ++++++++- res/layout/toolbar.xml | 8 +++++++- res/layout/trusted_network_list.xml | 8 +++++++- res/layout/view_pair_error.xml | 9 ++++++++- res/layout/view_pair_request.xml | 9 ++++++++- res/layout/widget_remote_command_plugin_dialog.xml | 9 ++++++++- res/layout/widget_remotecommandplugin.xml | 9 ++++++++- res/menu/menu_licenses.xml | 7 +++++++ res/menu/menu_mousepad.xml | 7 +++++++ res/menu/menu_presenter.xml | 7 +++++++ res/menu/pairing.xml | 8 ++++++++ res/menu/refresh.xml | 8 ++++++++ res/menu/runcommand_context.xml | 9 ++++++++- res/menu/sftp_settings_action_mode.xml | 9 ++++++++- res/values-land/consts.xml | 9 ++++++++- res/values-night-v31/colors.xml | 7 +++++++ res/values-night/colors-night.xml | 7 +++++++ res/values-notnight-v31/colors.xml | 7 +++++++ res/values-v23/styles.xml | 9 ++++++++- res/values-v27/styles.xml | 7 +++++++ res/values-w820dp/consts.xml | 9 ++++++++- res/values-w820dp/dimens.xml | 8 ++++++++ res/values/attrs.xml | 8 +++++++- res/values/colors.xml | 9 ++++++++- res/values/consts.xml | 9 ++++++++- res/values/dimens.xml | 8 ++++++++ res/values/strings.xml | 7 +++++++ res/values/styles.xml | 6 ++++++ res/xml/data_extraction_rules.xml | 7 +++++++ res/xml/fileprovider_paths.xml | 7 +++++++ res/xml/findmyphoneplugin_preferences.xml | 9 ++++++++- res/xml/mouse_receiver_service.xml | 10 +++++++++- res/xml/mousepadplugin_preferences.xml | 7 +++++++ res/xml/mprisplugin_preferences.xml | 7 +++++++ res/xml/network_security_config.xml | 9 ++++++++- res/xml/remotecommandplugin_widget.xml | 7 +++++++ res/xml/remotekeyboardplugin_keyboard.xml | 7 +++++++ res/xml/remotekeyboardplugin_method.xml | 7 +++++++ res/xml/remotekeyboardplugin_preferences.xml | 7 +++++++ res/xml/sftpplugin_preferences.xml | 9 ++++++++- res/xml/shareplugin_preferences.xml | 7 +++++++ res/xml/smsplugin_preferences.xml | 7 +++++++ res/xml/telephonyplugin_preferences.xml | 9 ++++++++- .../BluetoothBackend/ConnectionMultiplexer.java | 6 ++++++ src/org/kde/kdeconnect/Device.java | 2 +- src/org/kde/kdeconnect/DevicePacketQueue.java | 6 ++++++ src/org/kde/kdeconnect/DeviceStats.java | 6 ++++++ src/org/kde/kdeconnect/Helpers/LifecycleHelper.java | 6 ++++++ src/org/kde/kdeconnect/Helpers/MediaStoreHelper.java | 6 ++++++ src/org/kde/kdeconnect/Helpers/NotificationHelper.java | 6 ++++++ src/org/kde/kdeconnect/Helpers/RandomHelper.java | 6 ++++++ src/org/kde/kdeconnect/Helpers/ThreadHelper.kt | 8 +++++++- .../kde/kdeconnect/Helpers/TrustedNetworkHelper.java | 6 ++++++ src/org/kde/kdeconnect/Helpers/VideoUrlsHelper.java | 6 ++++++ src/org/kde/kdeconnect/KdeConnect.java | 6 ++++++ .../Plugins/BatteryPlugin/DeviceBatteryInfo.kt | 8 +++++++- .../ConnectivityReportPlugin/SubscriptionState.java | 6 ++++++ .../Plugins/FindMyPhonePlugin/FindMyPhoneReceiver.java | 6 ++++++ .../Plugins/MousePadPlugin/KeyInputConnection.java | 8 +++++++- .../MousePadPlugin/PointerAccelerationProfile.java | 6 ++++++ .../PointerAccelerationProfileFactory.java | 6 ++++++ .../Plugins/MprisPlugin/ExtendedFragmentAdapter.java | 6 ++++++ .../Plugins/MprisPlugin/MprisNowPlayingFragment.java | 6 ++++++ .../Plugins/MprisPlugin/VolumeKeyListener.java | 7 +++++++ .../NotificationsPlugin/RepliableNotification.java | 6 ++++++ .../kdeconnect/Plugins/PhotoPlugin/PhotoActivity.java | 6 ++++++ .../RunCommandPlugin/RunCommandUrlActivity.java | 6 ++++++ .../RunCommandPlugin/RunCommandWidgetConfigActivity.kt | 6 ++++++ .../RunCommandPlugin/RunCommandWidgetDataProvider.kt | 6 ++++++ .../RunCommandPlugin/RunCommandWidgetProvider.kt | 6 ++++++ .../SftpPlugin/StoragePreferenceDialogFragment.java | 6 ++++++ .../Plugins/SystemVolumePlugin/ItemGapDecoration.java | 6 ++++++ .../Plugins/SystemVolumePlugin/SinkItemCallback.java | 6 ++++++ .../Plugins/SystemVolumePlugin/SinkItemHolder.java | 6 ++++++ src/org/kde/kdeconnect/UserInterface/MainActivity.kt | 6 ++++++ .../kde/kdeconnect/UserInterface/PluginPreference.java | 6 ++++++ .../kde/kdeconnect/UserInterface/SettingsFragment.java | 6 ++++++ src/org/kde/kdeconnect/UserInterface/ThemeUtil.java | 7 +++++++ .../UserInterface/TrustedNetworksActivity.java | 7 +++++++ 121 files changed, 851 insertions(+), 48 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0ba7bdb2..2a78b22c 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,4 +1,11 @@ + + + + + + diff --git a/res/layout/about_person_list_item_entry.xml b/res/layout/about_person_list_item_entry.xml index 9a80d468..06c17d8d 100644 --- a/res/layout/about_person_list_item_entry.xml +++ b/res/layout/about_person_list_item_entry.xml @@ -1,5 +1,11 @@ + + + + + - \ No newline at end of file + diff --git a/res/layout/activity_bigscreen.xml b/res/layout/activity_bigscreen.xml index b32e989f..e2edc725 100644 --- a/res/layout/activity_bigscreen.xml +++ b/res/layout/activity_bigscreen.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/activity_clipboard_floating.xml b/res/layout/activity_clipboard_floating.xml index 84320d0e..7b17ca79 100644 --- a/res/layout/activity_clipboard_floating.xml +++ b/res/layout/activity_clipboard_floating.xml @@ -1,4 +1,11 @@ + + + @@ -9,4 +16,4 @@ android:layout_height="wrap_content" android:alpha="0" android:text="@string/pref_plugin_clipboard" /> - \ No newline at end of file + diff --git a/res/layout/activity_custom_devices.xml b/res/layout/activity_custom_devices.xml index 12a25f60..6df225d4 100644 --- a/res/layout/activity_custom_devices.xml +++ b/res/layout/activity_custom_devices.xml @@ -1,5 +1,11 @@ + + - \ No newline at end of file + diff --git a/res/layout/activity_device.xml b/res/layout/activity_device.xml index f336761e..10a282f6 100644 --- a/res/layout/activity_device.xml +++ b/res/layout/activity_device.xml @@ -1,3 +1,11 @@ + + + + + + + - \ No newline at end of file + diff --git a/res/layout/activity_find_my_phone.xml b/res/layout/activity_find_my_phone.xml index 8d01b03f..e4fc38cf 100644 --- a/res/layout/activity_find_my_phone.xml +++ b/res/layout/activity_find_my_phone.xml @@ -1,5 +1,11 @@ + + - \ No newline at end of file + diff --git a/res/layout/activity_licenses.xml b/res/layout/activity_licenses.xml index c8480fee..b878ac01 100644 --- a/res/layout/activity_licenses.xml +++ b/res/layout/activity_licenses.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml index 75ff6581..c294ce83 100644 --- a/res/layout/activity_main.xml +++ b/res/layout/activity_main.xml @@ -1,3 +1,11 @@ + + + + - \ No newline at end of file + diff --git a/res/layout/activity_mousepad.xml b/res/layout/activity_mousepad.xml index a0765e0b..09ac6bca 100644 --- a/res/layout/activity_mousepad.xml +++ b/res/layout/activity_mousepad.xml @@ -1,5 +1,11 @@ + + - \ No newline at end of file + diff --git a/res/layout/activity_mpris.xml b/res/layout/activity_mpris.xml index ae79ca48..66d987e1 100644 --- a/res/layout/activity_mpris.xml +++ b/res/layout/activity_mpris.xml @@ -1,4 +1,11 @@ + + + + + + - \ No newline at end of file + diff --git a/res/layout/activity_plugin_settings.xml b/res/layout/activity_plugin_settings.xml index c3fe1e70..fbc69eac 100644 --- a/res/layout/activity_plugin_settings.xml +++ b/res/layout/activity_plugin_settings.xml @@ -1,5 +1,11 @@ + + - \ No newline at end of file + diff --git a/res/layout/activity_presenter.xml b/res/layout/activity_presenter.xml index 032d6486..94737c90 100644 --- a/res/layout/activity_presenter.xml +++ b/res/layout/activity_presenter.xml @@ -1,4 +1,11 @@ + + + + + + - \ No newline at end of file + diff --git a/res/layout/activity_sendkeystrokes.xml b/res/layout/activity_sendkeystrokes.xml index b22481b3..698ea462 100644 --- a/res/layout/activity_sendkeystrokes.xml +++ b/res/layout/activity_sendkeystrokes.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/activity_share.xml b/res/layout/activity_share.xml index c0a55b34..a468cafa 100644 --- a/res/layout/activity_share.xml +++ b/res/layout/activity_share.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/custom_device_item.xml b/res/layout/custom_device_item.xml index dd7ecceb..90724096 100644 --- a/res/layout/custom_device_item.xml +++ b/res/layout/custom_device_item.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/devices_list.xml b/res/layout/devices_list.xml index 2f04ca61..b8bfee7b 100644 --- a/res/layout/devices_list.xml +++ b/res/layout/devices_list.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/edit_text_alert_dialog_view.xml b/res/layout/edit_text_alert_dialog_view.xml index 0eceb016..3c99b2ce 100644 --- a/res/layout/edit_text_alert_dialog_view.xml +++ b/res/layout/edit_text_alert_dialog_view.xml @@ -1,5 +1,11 @@ + + + + + - \ No newline at end of file + diff --git a/res/layout/fragment_storage_preference_dialog.xml b/res/layout/fragment_storage_preference_dialog.xml index 6e6c20b4..b0e4a732 100644 --- a/res/layout/fragment_storage_preference_dialog.xml +++ b/res/layout/fragment_storage_preference_dialog.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/list_card_entry.xml b/res/layout/list_card_entry.xml index b8c4c66a..8cb6d833 100644 --- a/res/layout/list_card_entry.xml +++ b/res/layout/list_card_entry.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/list_item_category.xml b/res/layout/list_item_category.xml index 57aafc3e..31ddff92 100644 --- a/res/layout/list_item_category.xml +++ b/res/layout/list_item_category.xml @@ -1,4 +1,11 @@ + + + + + + + + + + + - \ No newline at end of file + diff --git a/res/layout/list_item_with_icon_entry.xml b/res/layout/list_item_with_icon_entry.xml index bdf91ea6..94af8a05 100644 --- a/res/layout/list_item_with_icon_entry.xml +++ b/res/layout/list_item_with_icon_entry.xml @@ -1,5 +1,11 @@ + + + + + @@ -8,4 +15,4 @@ android:layout_height="wrap_content" android:id="@+id/mouse_cursor" android:src="@drawable/mouse_pointer" /> - \ No newline at end of file + diff --git a/res/layout/mpris_control.xml b/res/layout/mpris_control.xml index b8169fce..76b6b7a7 100644 --- a/res/layout/mpris_control.xml +++ b/res/layout/mpris_control.xml @@ -1,5 +1,11 @@ + + + + + - \ No newline at end of file + diff --git a/res/layout/nav_header.xml b/res/layout/nav_header.xml index 515491b8..cf43e51e 100644 --- a/res/layout/nav_header.xml +++ b/res/layout/nav_header.xml @@ -1,4 +1,11 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file + android:background="@null"/> diff --git a/res/layout/preference_widget_material_switch.xml b/res/layout/preference_widget_material_switch.xml index 5d22aec1..382cb562 100644 --- a/res/layout/preference_widget_material_switch.xml +++ b/res/layout/preference_widget_material_switch.xml @@ -1,3 +1,11 @@ + + + + \ No newline at end of file + tools:targetApi="n" /> diff --git a/res/layout/privacy_options.xml b/res/layout/privacy_options.xml index d681818f..1e9b6131 100644 --- a/res/layout/privacy_options.xml +++ b/res/layout/privacy_options.xml @@ -1,4 +1,11 @@ + + + + + + - \ No newline at end of file + diff --git a/res/layout/toolbar.xml b/res/layout/toolbar.xml index 31e3681e..b5a06e8a 100644 --- a/res/layout/toolbar.xml +++ b/res/layout/toolbar.xml @@ -1,5 +1,11 @@ + + - \ No newline at end of file + diff --git a/res/layout/trusted_network_list.xml b/res/layout/trusted_network_list.xml index 09deb2ab..5c642de5 100644 --- a/res/layout/trusted_network_list.xml +++ b/res/layout/trusted_network_list.xml @@ -1,5 +1,11 @@ + + - \ No newline at end of file + diff --git a/res/layout/view_pair_error.xml b/res/layout/view_pair_error.xml index ce7a2469..08c7de77 100644 --- a/res/layout/view_pair_error.xml +++ b/res/layout/view_pair_error.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/view_pair_request.xml b/res/layout/view_pair_request.xml index 3d5e57a7..9a37afd8 100644 --- a/res/layout/view_pair_request.xml +++ b/res/layout/view_pair_request.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/widget_remote_command_plugin_dialog.xml b/res/layout/widget_remote_command_plugin_dialog.xml index 7e19895e..29f94fe7 100644 --- a/res/layout/widget_remote_command_plugin_dialog.xml +++ b/res/layout/widget_remote_command_plugin_dialog.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/layout/widget_remotecommandplugin.xml b/res/layout/widget_remotecommandplugin.xml index 6c36cacc..5e39411a 100644 --- a/res/layout/widget_remotecommandplugin.xml +++ b/res/layout/widget_remotecommandplugin.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/menu/menu_licenses.xml b/res/menu/menu_licenses.xml index fa1c9c34..e037ba96 100644 --- a/res/menu/menu_licenses.xml +++ b/res/menu/menu_licenses.xml @@ -1,4 +1,11 @@ + + + diff --git a/res/menu/menu_mousepad.xml b/res/menu/menu_mousepad.xml index ca06c05a..5f64abe1 100644 --- a/res/menu/menu_mousepad.xml +++ b/res/menu/menu_mousepad.xml @@ -1,4 +1,11 @@ + + + diff --git a/res/menu/menu_presenter.xml b/res/menu/menu_presenter.xml index f396dac3..3a18d41c 100644 --- a/res/menu/menu_presenter.xml +++ b/res/menu/menu_presenter.xml @@ -1,4 +1,11 @@ + + + + + + diff --git a/res/menu/refresh.xml b/res/menu/refresh.xml index a3b9518a..6d1fb9ec 100644 --- a/res/menu/refresh.xml +++ b/res/menu/refresh.xml @@ -1,3 +1,11 @@ + + + + diff --git a/res/menu/runcommand_context.xml b/res/menu/runcommand_context.xml index b63bc5a0..e81bfc4e 100644 --- a/res/menu/runcommand_context.xml +++ b/res/menu/runcommand_context.xml @@ -1,7 +1,14 @@ + + + - \ No newline at end of file + diff --git a/res/menu/sftp_settings_action_mode.xml b/res/menu/sftp_settings_action_mode.xml index f3fb8aa1..a7ebe0d4 100644 --- a/res/menu/sftp_settings_action_mode.xml +++ b/res/menu/sftp_settings_action_mode.xml @@ -1,4 +1,11 @@ + + + @@ -7,4 +14,4 @@ android:title="@string/sftp_action_mode_menu_delete" app:showAsAction="ifRoom" android:icon="@drawable/ic_delete"/> - \ No newline at end of file + diff --git a/res/values-land/consts.xml b/res/values-land/consts.xml index e2d5164a..46e4dec3 100644 --- a/res/values-land/consts.xml +++ b/res/values-land/consts.xml @@ -1,4 +1,11 @@ + + + 3 @@ -10,4 +17,4 @@ 0dp @dimen/layout_match_parent - \ No newline at end of file + diff --git a/res/values-night-v31/colors.xml b/res/values-night-v31/colors.xml index a31fff2f..e5fc0e67 100644 --- a/res/values-night-v31/colors.xml +++ b/res/values-night-v31/colors.xml @@ -1,4 +1,11 @@ + + + @android:color/system_accent2_300 @android:color/system_neutral1_900 diff --git a/res/values-night/colors-night.xml b/res/values-night/colors-night.xml index 9f1f0a41..36f98bc3 100644 --- a/res/values-night/colors-night.xml +++ b/res/values-night/colors-night.xml @@ -1,4 +1,11 @@ + + + @android:color/black #555555 diff --git a/res/values-notnight-v31/colors.xml b/res/values-notnight-v31/colors.xml index a551f5a1..d1da00b4 100644 --- a/res/values-notnight-v31/colors.xml +++ b/res/values-notnight-v31/colors.xml @@ -1,4 +1,11 @@ + + + @android:color/system_accent2_500 @android:color/system_neutral1_50 diff --git a/res/values-v23/styles.xml b/res/values-v23/styles.xml index 889b8526..7f0df750 100644 --- a/res/values-v23/styles.xml +++ b/res/values-v23/styles.xml @@ -1,4 +1,11 @@ + + + - \ No newline at end of file + diff --git a/res/values-v27/styles.xml b/res/values-v27/styles.xml index 7a707483..c823e591 100644 --- a/res/values-v27/styles.xml +++ b/res/values-v27/styles.xml @@ -1,4 +1,11 @@ + + +