From 548de95a5af76fbd69e8bacb61b13ad5b131a9c0 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Thu, 23 May 2019 19:47:18 +0400 Subject: [PATCH] Updated copyright to Apache License 2.0 --- app/build.gradle | 16 ++++++++++++++ app/src/main/AndroidManifest.xml | 16 ++++++++++++++ .../EmptyLoginCredentialsException.java | 21 +++++++++---------- .../influence/LoginCredentials.java | 21 +++++++++---------- .../chronosx88/influence/XMPPConnection.java | 21 +++++++++---------- .../influence/XMPPConnectionService.java | 21 +++++++++---------- .../influence/contracts/CoreContracts.kt | 16 ++++++++++++++ .../contracts/IItemClickListener.java | 16 ++++++++++++++ .../influence/helpers/AppHelper.java | 16 ++++++++++++++ .../influence/helpers/HashUtils.java | 21 +++++++++---------- .../influence/helpers/JavaSerializer.java | 21 +++++++++---------- .../influence/helpers/KeyPairManager.java | 16 ++++++++++++++ .../influence/helpers/LocalDBWrapper.java | 16 ++++++++++++++ .../influence/helpers/NetworkHandler.java | 16 ++++++++++++++ .../influence/helpers/RoomHelper.java | 16 ++++++++++++++ .../influence/helpers/RoomTypeConverter.java | 16 ++++++++++++++ .../chronosx88/influence/logic/ChatLogic.java | 16 ++++++++++++++ .../influence/logic/DialogListLogic.java | 16 ++++++++++++++ .../chronosx88/influence/logic/MainLogic.java | 16 ++++++++++++++ .../influence/logic/SettingsLogic.kt | 16 ++++++++++++++ .../influence/models/GenericDialog.java | 21 +++++++++---------- .../influence/models/GenericMessage.java | 21 +++++++++---------- .../influence/models/GenericUser.java | 21 +++++++++---------- .../appEvents/AuthenticationStatusEvent.java | 21 +++++++++---------- .../models/appEvents/NewChatEvent.java | 21 +++++++++---------- .../models/appEvents/NewMessageEvent.java | 21 +++++++++---------- .../influence/models/daos/ChatDao.java | 16 ++++++++++++++ .../influence/models/daos/MessageDao.java | 16 ++++++++++++++ .../models/roomEntities/ChatEntity.java | 16 ++++++++++++++ .../models/roomEntities/MessageEntity.java | 16 ++++++++++++++ .../influence/presenters/ChatPresenter.kt | 16 ++++++++++++++ .../presenters/DialogListPresenter.java | 21 +++++++++---------- .../influence/presenters/MainPresenter.kt | 16 ++++++++++++++ .../influence/presenters/SettingsPresenter.kt | 16 ++++++++++++++ .../influence/views/ChatActivity.kt | 16 ++++++++++++++ .../influence/views/LoginActivity.java | 21 +++++++++---------- .../influence/views/MainActivity.java | 16 ++++++++++++++ .../chronosx88/influence/views/ViewUtils.kt | 21 +++++++++---------- .../views/fragments/DialogListFragment.kt | 16 ++++++++++++++ .../views/fragments/SettingsFragment.java | 16 ++++++++++++++ .../drawable-v24/ic_launcher_foreground.xml | 16 ++++++++++++++ .../main/res/drawable/ic_add_white_24dp.xml | 21 +++++++++---------- app/src/main/res/drawable/ic_chat_white.xml | 16 ++++++++++++++ .../res/drawable/ic_launcher_background.xml | 16 ++++++++++++++ .../main/res/drawable/ic_person_add_white.xml | 16 ++++++++++++++ .../main/res/drawable/ic_send_green_24dp.xml | 16 ++++++++++++++ .../main/res/drawable/ic_settings_white.xml | 16 ++++++++++++++ .../drawable/message_item_left_background.xml | 16 ++++++++++++++ .../message_item_right_background.xml | 16 ++++++++++++++ app/src/main/res/layout/activity_chat.xml | 16 ++++++++++++++ app/src/main/res/layout/activity_login.xml | 21 +++++++++---------- app/src/main/res/layout/activity_main.xml | 16 ++++++++++++++ app/src/main/res/layout/chatlist_fragment.xml | 16 ++++++++++++++ app/src/main/res/menu/main_actionbar_menu.xml | 21 +++++++++---------- .../main/res/menu/main_bottom_nav_menu.xml | 16 ++++++++++++++ .../res/mipmap-anydpi-v26/ic_launcher.xml | 16 ++++++++++++++ .../mipmap-anydpi-v26/ic_launcher_round.xml | 16 ++++++++++++++ app/src/main/res/values-ru-rRU/strings.xml | 16 ++++++++++++++ app/src/main/res/values/colors.xml | 16 ++++++++++++++ app/src/main/res/values/strings.xml | 16 ++++++++++++++ app/src/main/res/values/styles.xml | 16 ++++++++++++++ app/src/main/res/xml/main_settings.xml | 16 ++++++++++++++ 62 files changed, 884 insertions(+), 198 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 9ba81d1..fe9e495 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + apply plugin: 'com.android.application' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9f8ee82..d87f786 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/java/io/github/chronosx88/influence/EmptyLoginCredentialsException.java b/app/src/main/java/io/github/chronosx88/influence/EmptyLoginCredentialsException.java index e7e978d..08f684d 100644 --- a/app/src/main/java/io/github/chronosx88/influence/EmptyLoginCredentialsException.java +++ b/app/src/main/java/io/github/chronosx88/influence/EmptyLoginCredentialsException.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence; diff --git a/app/src/main/java/io/github/chronosx88/influence/LoginCredentials.java b/app/src/main/java/io/github/chronosx88/influence/LoginCredentials.java index 9e89ec9..7440f1f 100644 --- a/app/src/main/java/io/github/chronosx88/influence/LoginCredentials.java +++ b/app/src/main/java/io/github/chronosx88/influence/LoginCredentials.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence; diff --git a/app/src/main/java/io/github/chronosx88/influence/XMPPConnection.java b/app/src/main/java/io/github/chronosx88/influence/XMPPConnection.java index a1ee1d5..d9f87a5 100644 --- a/app/src/main/java/io/github/chronosx88/influence/XMPPConnection.java +++ b/app/src/main/java/io/github/chronosx88/influence/XMPPConnection.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence; diff --git a/app/src/main/java/io/github/chronosx88/influence/XMPPConnectionService.java b/app/src/main/java/io/github/chronosx88/influence/XMPPConnectionService.java index 96730b4..a07954f 100644 --- a/app/src/main/java/io/github/chronosx88/influence/XMPPConnectionService.java +++ b/app/src/main/java/io/github/chronosx88/influence/XMPPConnectionService.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence; diff --git a/app/src/main/java/io/github/chronosx88/influence/contracts/CoreContracts.kt b/app/src/main/java/io/github/chronosx88/influence/contracts/CoreContracts.kt index 17487c0..4a913ed 100644 --- a/app/src/main/java/io/github/chronosx88/influence/contracts/CoreContracts.kt +++ b/app/src/main/java/io/github/chronosx88/influence/contracts/CoreContracts.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.contracts import android.content.Context diff --git a/app/src/main/java/io/github/chronosx88/influence/contracts/IItemClickListener.java b/app/src/main/java/io/github/chronosx88/influence/contracts/IItemClickListener.java index 2474dcb..2a9bc55 100644 --- a/app/src/main/java/io/github/chronosx88/influence/contracts/IItemClickListener.java +++ b/app/src/main/java/io/github/chronosx88/influence/contracts/IItemClickListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.contracts; import android.view.View; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/AppHelper.java b/app/src/main/java/io/github/chronosx88/influence/helpers/AppHelper.java index c55221f..b85a489 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/AppHelper.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/AppHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.helpers; import android.app.Application; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/HashUtils.java b/app/src/main/java/io/github/chronosx88/influence/helpers/HashUtils.java index 93f5434..0069bb1 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/HashUtils.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/HashUtils.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.helpers; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/JavaSerializer.java b/app/src/main/java/io/github/chronosx88/influence/helpers/JavaSerializer.java index d726152..58c0686 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/JavaSerializer.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/JavaSerializer.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.helpers; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/KeyPairManager.java b/app/src/main/java/io/github/chronosx88/influence/helpers/KeyPairManager.java index ff6e6c7..00bd4a1 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/KeyPairManager.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/KeyPairManager.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.helpers; import java.io.File; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/LocalDBWrapper.java b/app/src/main/java/io/github/chronosx88/influence/helpers/LocalDBWrapper.java index fa160c6..a9280e4 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/LocalDBWrapper.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/LocalDBWrapper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.helpers; import android.util.Log; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/NetworkHandler.java b/app/src/main/java/io/github/chronosx88/influence/helpers/NetworkHandler.java index 02182af..15fe01a 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/NetworkHandler.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/NetworkHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.helpers; import com.instacart.library.truetime.TrueTime; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/RoomHelper.java b/app/src/main/java/io/github/chronosx88/influence/helpers/RoomHelper.java index d17c7a7..15558f4 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/RoomHelper.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/RoomHelper.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.helpers; import androidx.room.Database; diff --git a/app/src/main/java/io/github/chronosx88/influence/helpers/RoomTypeConverter.java b/app/src/main/java/io/github/chronosx88/influence/helpers/RoomTypeConverter.java index cd22de4..277824a 100644 --- a/app/src/main/java/io/github/chronosx88/influence/helpers/RoomTypeConverter.java +++ b/app/src/main/java/io/github/chronosx88/influence/helpers/RoomTypeConverter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.helpers; import com.google.gson.Gson; diff --git a/app/src/main/java/io/github/chronosx88/influence/logic/ChatLogic.java b/app/src/main/java/io/github/chronosx88/influence/logic/ChatLogic.java index 7941989..93e1e44 100644 --- a/app/src/main/java/io/github/chronosx88/influence/logic/ChatLogic.java +++ b/app/src/main/java/io/github/chronosx88/influence/logic/ChatLogic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.logic; import com.instacart.library.truetime.TrueTime; diff --git a/app/src/main/java/io/github/chronosx88/influence/logic/DialogListLogic.java b/app/src/main/java/io/github/chronosx88/influence/logic/DialogListLogic.java index a73ab1c..44c5fb5 100644 --- a/app/src/main/java/io/github/chronosx88/influence/logic/DialogListLogic.java +++ b/app/src/main/java/io/github/chronosx88/influence/logic/DialogListLogic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.logic; import org.jivesoftware.smack.roster.RosterEntry; diff --git a/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java b/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java index 50dee1e..7509c76 100644 --- a/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java +++ b/app/src/main/java/io/github/chronosx88/influence/logic/MainLogic.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.logic; import android.content.ComponentName; diff --git a/app/src/main/java/io/github/chronosx88/influence/logic/SettingsLogic.kt b/app/src/main/java/io/github/chronosx88/influence/logic/SettingsLogic.kt index ebb2dca..f0da149 100644 --- a/app/src/main/java/io/github/chronosx88/influence/logic/SettingsLogic.kt +++ b/app/src/main/java/io/github/chronosx88/influence/logic/SettingsLogic.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.logic import io.github.chronosx88.influence.contracts.CoreContracts diff --git a/app/src/main/java/io/github/chronosx88/influence/models/GenericDialog.java b/app/src/main/java/io/github/chronosx88/influence/models/GenericDialog.java index ac6cba8..a5b3f03 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/GenericDialog.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/GenericDialog.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.models; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/GenericMessage.java b/app/src/main/java/io/github/chronosx88/influence/models/GenericMessage.java index be52fb5..aec2d54 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/GenericMessage.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/GenericMessage.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.models; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/GenericUser.java b/app/src/main/java/io/github/chronosx88/influence/models/GenericUser.java index 245167e..9c8b18d 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/GenericUser.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/GenericUser.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.models; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/appEvents/AuthenticationStatusEvent.java b/app/src/main/java/io/github/chronosx88/influence/models/appEvents/AuthenticationStatusEvent.java index 19bb10e..ba94c90 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/appEvents/AuthenticationStatusEvent.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/appEvents/AuthenticationStatusEvent.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.models.appEvents; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewChatEvent.java b/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewChatEvent.java index 1a1b775..da55be3 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewChatEvent.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewChatEvent.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.models.appEvents; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewMessageEvent.java b/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewMessageEvent.java index f5e689f..aa40db4 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewMessageEvent.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/appEvents/NewMessageEvent.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.models.appEvents; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/daos/ChatDao.java b/app/src/main/java/io/github/chronosx88/influence/models/daos/ChatDao.java index 4991101..a23745d 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/daos/ChatDao.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/daos/ChatDao.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.models.daos; import java.util.List; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/daos/MessageDao.java b/app/src/main/java/io/github/chronosx88/influence/models/daos/MessageDao.java index 5894353..12f1259 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/daos/MessageDao.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/daos/MessageDao.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.models.daos; import java.util.List; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/ChatEntity.java b/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/ChatEntity.java index 4477f85..e11feb5 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/ChatEntity.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/ChatEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.models.roomEntities; import androidx.annotation.NonNull; diff --git a/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/MessageEntity.java b/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/MessageEntity.java index a152dde..caf8f22 100644 --- a/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/MessageEntity.java +++ b/app/src/main/java/io/github/chronosx88/influence/models/roomEntities/MessageEntity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.models.roomEntities; import androidx.annotation.NonNull; diff --git a/app/src/main/java/io/github/chronosx88/influence/presenters/ChatPresenter.kt b/app/src/main/java/io/github/chronosx88/influence/presenters/ChatPresenter.kt index 894d636..ef746a6 100644 --- a/app/src/main/java/io/github/chronosx88/influence/presenters/ChatPresenter.kt +++ b/app/src/main/java/io/github/chronosx88/influence/presenters/ChatPresenter.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.presenters import android.graphics.BitmapFactory diff --git a/app/src/main/java/io/github/chronosx88/influence/presenters/DialogListPresenter.java b/app/src/main/java/io/github/chronosx88/influence/presenters/DialogListPresenter.java index 7f064dd..d3a942a 100644 --- a/app/src/main/java/io/github/chronosx88/influence/presenters/DialogListPresenter.java +++ b/app/src/main/java/io/github/chronosx88/influence/presenters/DialogListPresenter.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.presenters; diff --git a/app/src/main/java/io/github/chronosx88/influence/presenters/MainPresenter.kt b/app/src/main/java/io/github/chronosx88/influence/presenters/MainPresenter.kt index a01a112..fcf0daa 100644 --- a/app/src/main/java/io/github/chronosx88/influence/presenters/MainPresenter.kt +++ b/app/src/main/java/io/github/chronosx88/influence/presenters/MainPresenter.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.presenters import android.content.Intent diff --git a/app/src/main/java/io/github/chronosx88/influence/presenters/SettingsPresenter.kt b/app/src/main/java/io/github/chronosx88/influence/presenters/SettingsPresenter.kt index e46acd1..5bccbae 100644 --- a/app/src/main/java/io/github/chronosx88/influence/presenters/SettingsPresenter.kt +++ b/app/src/main/java/io/github/chronosx88/influence/presenters/SettingsPresenter.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.presenters import android.os.Handler diff --git a/app/src/main/java/io/github/chronosx88/influence/views/ChatActivity.kt b/app/src/main/java/io/github/chronosx88/influence/views/ChatActivity.kt index 0713f3b..47f43cc 100644 --- a/app/src/main/java/io/github/chronosx88/influence/views/ChatActivity.kt +++ b/app/src/main/java/io/github/chronosx88/influence/views/ChatActivity.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.views import android.content.Intent diff --git a/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java b/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java index bdce831..5d84f37 100644 --- a/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java +++ b/app/src/main/java/io/github/chronosx88/influence/views/LoginActivity.java @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.views; diff --git a/app/src/main/java/io/github/chronosx88/influence/views/MainActivity.java b/app/src/main/java/io/github/chronosx88/influence/views/MainActivity.java index f715c70..f220ff9 100644 --- a/app/src/main/java/io/github/chronosx88/influence/views/MainActivity.java +++ b/app/src/main/java/io/github/chronosx88/influence/views/MainActivity.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.views; import android.app.ProgressDialog; diff --git a/app/src/main/java/io/github/chronosx88/influence/views/ViewUtils.kt b/app/src/main/java/io/github/chronosx88/influence/views/ViewUtils.kt index d27d377..7e72a01 100644 --- a/app/src/main/java/io/github/chronosx88/influence/views/ViewUtils.kt +++ b/app/src/main/java/io/github/chronosx88/influence/views/ViewUtils.kt @@ -1,18 +1,17 @@ /* - * Copyright (C) 2019 ChronosX88 + * Copyright 2019 ChronosX88 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * 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 * - * 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 General Public License for more details. + * http://www.apache.org/licenses/LICENSE-2.0 * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * 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. */ package io.github.chronosx88.influence.views diff --git a/app/src/main/java/io/github/chronosx88/influence/views/fragments/DialogListFragment.kt b/app/src/main/java/io/github/chronosx88/influence/views/fragments/DialogListFragment.kt index f962f12..2543496 100644 --- a/app/src/main/java/io/github/chronosx88/influence/views/fragments/DialogListFragment.kt +++ b/app/src/main/java/io/github/chronosx88/influence/views/fragments/DialogListFragment.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.views.fragments import android.content.Context diff --git a/app/src/main/java/io/github/chronosx88/influence/views/fragments/SettingsFragment.java b/app/src/main/java/io/github/chronosx88/influence/views/fragments/SettingsFragment.java index 4df3af2..90b8bbd 100644 --- a/app/src/main/java/io/github/chronosx88/influence/views/fragments/SettingsFragment.java +++ b/app/src/main/java/io/github/chronosx88/influence/views/fragments/SettingsFragment.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 ChronosX88 + * + * 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. + */ + package io.github.chronosx88.influence.views.fragments; import android.app.ProgressDialog; diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml index 1f6bb29..56265e4 100644 --- a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -1,3 +1,19 @@ + + . + ~ 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. --> + diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml index 0d025f9..2d5fabc 100644 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -1,4 +1,20 @@ + + + diff --git a/app/src/main/res/drawable/ic_send_green_24dp.xml b/app/src/main/res/drawable/ic_send_green_24dp.xml index 475c0fa..31c6b64 100644 --- a/app/src/main/res/drawable/ic_send_green_24dp.xml +++ b/app/src/main/res/drawable/ic_send_green_24dp.xml @@ -1,3 +1,19 @@ + + diff --git a/app/src/main/res/drawable/ic_settings_white.xml b/app/src/main/res/drawable/ic_settings_white.xml index 79af3ab..df5ac0b 100644 --- a/app/src/main/res/drawable/ic_settings_white.xml +++ b/app/src/main/res/drawable/ic_settings_white.xml @@ -1,3 +1,19 @@ + + diff --git a/app/src/main/res/drawable/message_item_left_background.xml b/app/src/main/res/drawable/message_item_left_background.xml index fb33822..9e19471 100644 --- a/app/src/main/res/drawable/message_item_left_background.xml +++ b/app/src/main/res/drawable/message_item_left_background.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/drawable/message_item_right_background.xml b/app/src/main/res/drawable/message_item_right_background.xml index 52d5c17..b157f17 100644 --- a/app/src/main/res/drawable/message_item_right_background.xml +++ b/app/src/main/res/drawable/message_item_right_background.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/layout/activity_chat.xml b/app/src/main/res/layout/activity_chat.xml index 5e5aeb5..66746c2 100644 --- a/app/src/main/res/layout/activity_chat.xml +++ b/app/src/main/res/layout/activity_chat.xml @@ -1,4 +1,20 @@ + + + + + + + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index eca70cf..9cdd8dc 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,4 +1,20 @@ + + diff --git a/app/src/main/res/values-ru-rRU/strings.xml b/app/src/main/res/values-ru-rRU/strings.xml index 0f44e03..59bcee0 100644 --- a/app/src/main/res/values-ru-rRU/strings.xml +++ b/app/src/main/res/values-ru-rRU/strings.xml @@ -1,4 +1,20 @@ + + Influence OK diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index d0e8773..b48e383 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,4 +1,20 @@ + + #FF9800 #F57C00 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 60ecd4a..1cc2914 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,19 @@ + + Influence OK diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 255be66..5279eec 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,3 +1,19 @@ + + diff --git a/app/src/main/res/xml/main_settings.xml b/app/src/main/res/xml/main_settings.xml index dfc2102..0dd1cd3 100644 --- a/app/src/main/res/xml/main_settings.xml +++ b/app/src/main/res/xml/main_settings.xml @@ -1,3 +1,19 @@ + + \ No newline at end of file