diff --git a/app/build.gradle b/app/build.gradle index f6f86603d24..1e193e6ee47 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + apply plugin: 'com.android.application' android { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3b9cbd72650..012596ac308 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,4 +1,24 @@ + + diff --git a/app/src/main/java/io/github/lsposed/manager/App.java b/app/src/main/java/io/github/lsposed/manager/App.java index f773c4cbbb4..3200a07b4a3 100644 --- a/app/src/main/java/io/github/lsposed/manager/App.java +++ b/app/src/main/java/io/github/lsposed/manager/App.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/lsposed/manager/Constants.java b/app/src/main/java/io/github/lsposed/manager/Constants.java index 6a269a8502f..d3b05cd3016 100644 --- a/app/src/main/java/io/github/lsposed/manager/Constants.java +++ b/app/src/main/java/io/github/lsposed/manager/Constants.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager; import android.widget.Toast; diff --git a/app/src/main/java/io/github/lsposed/manager/adapters/AppHelper.java b/app/src/main/java/io/github/lsposed/manager/adapters/AppHelper.java index 73053db51dc..b052a1801d8 100644 --- a/app/src/main/java/io/github/lsposed/manager/adapters/AppHelper.java +++ b/app/src/main/java/io/github/lsposed/manager/adapters/AppHelper.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.adapters; import android.content.Intent; diff --git a/app/src/main/java/io/github/lsposed/manager/adapters/ScopeAdapter.java b/app/src/main/java/io/github/lsposed/manager/adapters/ScopeAdapter.java index 7e7cacac8ac..4ebf98814d7 100644 --- a/app/src/main/java/io/github/lsposed/manager/adapters/ScopeAdapter.java +++ b/app/src/main/java/io/github/lsposed/manager/adapters/ScopeAdapter.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.adapters; import android.content.Intent; diff --git a/app/src/main/java/io/github/lsposed/manager/receivers/EdServiceReceiver.java b/app/src/main/java/io/github/lsposed/manager/receivers/EdServiceReceiver.java index a48b5014e8e..d7af08d7bff 100644 --- a/app/src/main/java/io/github/lsposed/manager/receivers/EdServiceReceiver.java +++ b/app/src/main/java/io/github/lsposed/manager/receivers/EdServiceReceiver.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.receivers; import android.content.BroadcastReceiver; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/AboutActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/AboutActivity.java index 6056eec67ee..70f10b876a8 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/AboutActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/AboutActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.os.Bundle; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/AppListActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/AppListActivity.java index 6f6709f8333..292b5f88155 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/AppListActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/AppListActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.content.Intent; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/BaseActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/BaseActivity.java index 8ee0cf75b36..5e30d45d860 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/BaseActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/BaseActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.content.Context; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/CrashReportActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/CrashReportActivity.java index 325f5ff7996..a63a0a5ec70 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/CrashReportActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/CrashReportActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.content.ClipData; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java index 0db4094c997..177f9b309ff 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/LogsActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java index 96316a6a1d6..f2f9f0007f5 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/MainActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/ModulesActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/ModulesActivity.java index 3e31be0f86c..9c72a9c4ade 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/ModulesActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/ModulesActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.content.Intent; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/activity/SettingsActivity.java b/app/src/main/java/io/github/lsposed/manager/ui/activity/SettingsActivity.java index 411caa9204d..3d7ee7b9e94 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/activity/SettingsActivity.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/activity/SettingsActivity.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.activity; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/fragment/CompileDialogFragment.java b/app/src/main/java/io/github/lsposed/manager/ui/fragment/CompileDialogFragment.java index b0646fc4c85..254bdc40563 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/fragment/CompileDialogFragment.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/fragment/CompileDialogFragment.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.fragment; import android.app.Dialog; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/fragment/StatusDialogBuilder.java b/app/src/main/java/io/github/lsposed/manager/ui/fragment/StatusDialogBuilder.java index d57bd6d118b..3eee97044a9 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/fragment/StatusDialogBuilder.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/fragment/StatusDialogBuilder.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.fragment; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/widget/IntegerListPreference.java b/app/src/main/java/io/github/lsposed/manager/ui/widget/IntegerListPreference.java index 0911a0e000b..371386d2f1c 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/widget/IntegerListPreference.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/widget/IntegerListPreference.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.widget; import android.content.Context; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/widget/LinkifyTextView.java b/app/src/main/java/io/github/lsposed/manager/ui/widget/LinkifyTextView.java index 1d52a2ed465..70a788a1fa8 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/widget/LinkifyTextView.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/widget/LinkifyTextView.java @@ -1,17 +1,21 @@ /* - * Copyright 2015 Hippo Seven + * This file is part of LSPosed. * - * 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 + * LSPosed 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. * - * http://www.apache.org/licenses/LICENSE-2.0 + * LSPosed 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. * - * 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. + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors */ package io.github.lsposed.manager.ui.widget; diff --git a/app/src/main/java/io/github/lsposed/manager/ui/widget/ThemeColorPreference.java b/app/src/main/java/io/github/lsposed/manager/ui/widget/ThemeColorPreference.java index d96849d5573..08551107291 100644 --- a/app/src/main/java/io/github/lsposed/manager/ui/widget/ThemeColorPreference.java +++ b/app/src/main/java/io/github/lsposed/manager/ui/widget/ThemeColorPreference.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.ui.widget; import android.content.Context; diff --git a/app/src/main/java/io/github/lsposed/manager/util/AppModule.java b/app/src/main/java/io/github/lsposed/manager/util/AppModule.java index f8fb7baaa7a..9298e09b782 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/AppModule.java +++ b/app/src/main/java/io/github/lsposed/manager/util/AppModule.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import android.content.Context; diff --git a/app/src/main/java/io/github/lsposed/manager/util/BackupUtils.java b/app/src/main/java/io/github/lsposed/manager/util/BackupUtils.java index 606dfa945f6..adcbf0dd5e9 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/BackupUtils.java +++ b/app/src/main/java/io/github/lsposed/manager/util/BackupUtils.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import android.content.Context; diff --git a/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColor.java b/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColor.java index cdfd656cb83..912ec69bac7 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColor.java +++ b/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColor.java @@ -1,6 +1,21 @@ /* - * Copyright (c) 2019 Hai Zhang - * All Rights Reserved. + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors */ package io.github.lsposed.manager.util; diff --git a/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColors.java b/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColors.java index b909adb49d2..0bc414c8fd3 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColors.java +++ b/app/src/main/java/io/github/lsposed/manager/util/CustomThemeColors.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import androidx.annotation.ColorRes; diff --git a/app/src/main/java/io/github/lsposed/manager/util/GlideHelper.java b/app/src/main/java/io/github/lsposed/manager/util/GlideHelper.java index e24e7b1444c..c3573bcad99 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/GlideHelper.java +++ b/app/src/main/java/io/github/lsposed/manager/util/GlideHelper.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import android.content.pm.ApplicationInfo; diff --git a/app/src/main/java/io/github/lsposed/manager/util/InsetsViewInflater.java b/app/src/main/java/io/github/lsposed/manager/util/InsetsViewInflater.java index 99de65f7fee..4753f1e62a7 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/InsetsViewInflater.java +++ b/app/src/main/java/io/github/lsposed/manager/util/InsetsViewInflater.java @@ -1,21 +1,21 @@ /* - * This file is part of EdXposed. + * This file is part of LSPosed. * - * EdXposed is free software: you can redistribute it and/or modify + * LSPosed 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. * - * EdXposed is distributed in the hope that it will be useful, + * LSPosed 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. * * You should have received a copy of the GNU General Public License - * along with EdXposed. If not, see . + * along with LSPosed. If not, see . * * Copyright (C) 2020 EdXposed Contributors - * Copyright (C) 2021 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors */ package io.github.lsposed.manager.util; diff --git a/app/src/main/java/io/github/lsposed/manager/util/LinearLayoutManagerFix.java b/app/src/main/java/io/github/lsposed/manager/util/LinearLayoutManagerFix.java index 3ac76292d6f..fd641375209 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/LinearLayoutManagerFix.java +++ b/app/src/main/java/io/github/lsposed/manager/util/LinearLayoutManagerFix.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import android.content.Context; diff --git a/app/src/main/java/io/github/lsposed/manager/util/ModuleUtil.java b/app/src/main/java/io/github/lsposed/manager/util/ModuleUtil.java index b7bc4628c48..b6ffd6778b9 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/ModuleUtil.java +++ b/app/src/main/java/io/github/lsposed/manager/util/ModuleUtil.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import android.content.pm.ApplicationInfo; diff --git a/app/src/main/java/io/github/lsposed/manager/util/NavUtil.java b/app/src/main/java/io/github/lsposed/manager/util/NavUtil.java index 29b3915a7e4..720d33a5670 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/NavUtil.java +++ b/app/src/main/java/io/github/lsposed/manager/util/NavUtil.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import android.net.Uri; diff --git a/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java b/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java index 5eba7e1530b..a9e18f24bef 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java +++ b/app/src/main/java/io/github/lsposed/manager/util/NotificationUtil.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/lsposed/manager/util/Version.java b/app/src/main/java/io/github/lsposed/manager/util/Version.java index 49f4135b84c..a83e8faca10 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/Version.java +++ b/app/src/main/java/io/github/lsposed/manager/util/Version.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util; // https://stackoverflow.com/a/11024200 diff --git a/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDecoder.java b/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDecoder.java index 5979f6eb975..3838b777744 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDecoder.java +++ b/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDecoder.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util.svg; import androidx.annotation.NonNull; diff --git a/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDrawableTranscoder.java b/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDrawableTranscoder.java index 0d0075077df..e7709c6006a 100644 --- a/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDrawableTranscoder.java +++ b/app/src/main/java/io/github/lsposed/manager/util/svg/SvgDrawableTranscoder.java @@ -1,3 +1,23 @@ +/* + * This file is part of LSPosed. + * + * LSPosed 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. + * + * LSPosed 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. + * + * You should have received a copy of the GNU General Public License + * along with LSPosed. If not, see . + * + * Copyright (C) 2020 EdXposed Contributors + * Copyright (C) 2021 LSPosed Contributors + */ + package io.github.lsposed.manager.util.svg; import android.graphics.Picture; diff --git a/app/src/main/res/drawable/ic_android.xml b/app/src/main/res/drawable/ic_android.xml index 575b44066a7..8fcd27d352b 100644 --- a/app/src/main/res/drawable/ic_android.xml +++ b/app/src/main/res/drawable/ic_android.xml @@ -1,3 +1,23 @@ + + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + + + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + + + + + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + diff --git a/app/src/main/res/drawable/shortcut_ic_logs.xml b/app/src/main/res/drawable/shortcut_ic_logs.xml index e1b546f5df0..3ed5203fe29 100644 --- a/app/src/main/res/drawable/shortcut_ic_logs.xml +++ b/app/src/main/res/drawable/shortcut_ic_logs.xml @@ -1,4 +1,24 @@ + + diff --git a/app/src/main/res/drawable/shortcut_ic_modules.xml b/app/src/main/res/drawable/shortcut_ic_modules.xml index bc69ea282a8..bbca99a68cf 100644 --- a/app/src/main/res/drawable/shortcut_ic_modules.xml +++ b/app/src/main/res/drawable/shortcut_ic_modules.xml @@ -1,4 +1,24 @@ + + diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml index 54a5a2c47f5..babdc61b391 100644 --- a/app/src/main/res/layout/activity_about.xml +++ b/app/src/main/res/layout/activity_about.xml @@ -1,4 +1,24 @@ + + + + + + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + + + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + + + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + . + ~ + ~ Copyright (C) 2020 EdXposed Contributors + ~ Copyright (C) 2021 LSPosed Contributors + --> + + + + + + + + + diff --git a/app/src/main/res/menu/menu_logs.xml b/app/src/main/res/menu/menu_logs.xml index 265fb1485d0..ecdb271dff4 100644 --- a/app/src/main/res/menu/menu_logs.xml +++ b/app/src/main/res/menu/menu_logs.xml @@ -1,4 +1,24 @@ + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index eca70cfe52e..1303455d5db 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,4 +1,24 @@ + + diff --git a/app/src/main/res/values-night-v29/colors.xml b/app/src/main/res/values-night-v29/colors.xml index dcedf5da101..61f7235efb8 100644 --- a/app/src/main/res/values-night-v29/colors.xml +++ b/app/src/main/res/values-night-v29/colors.xml @@ -1,4 +1,24 @@ + + @android:color/transparent \ No newline at end of file diff --git a/app/src/main/res/values-night/bool.xml b/app/src/main/res/values-night/bool.xml index 63ba97b39a1..0578a5daad0 100644 --- a/app/src/main/res/values-night/bool.xml +++ b/app/src/main/res/values-night/bool.xml @@ -1,4 +1,24 @@ + + false diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 03bf4c23109..57be59cc6a6 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -1,4 +1,24 @@ + + @color/material_blue_700 #303030 diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml index 5770f1313d0..913806520fb 100644 --- a/app/src/main/res/values-night/styles.xml +++ b/app/src/main/res/values-night/styles.xml @@ -1,3 +1,23 @@ + +