diff --git a/BUILDING.rst b/BUILDING.rst new file mode 100644 index 0000000000000000000000000000000000000000..2aacb87798dc25cc94de9818492c1b0b828910aa --- /dev/null +++ b/BUILDING.rst @@ -0,0 +1,91 @@ +.. SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 + +==================== +Building App Manager +==================== + +Requirements +============ + +* **Hardware:** Any computer with 4GB RAM (8GB recommended) +* **Operating system:** Linux/macOS (no support for Windows) +* **Software:** Android Studio, Gradle +* **Active network connection:** Depending on your development environment, + this may cross 10 Gigabytes of data. + +macOS +===== + +The following steps are required only if you want to build APKS: + +- Install Homebrew:: + + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +- Install bundletool:: + + brew install bundletool + +Linux|GNU +========= + +- Install the development tools. + + * For Debian/Ubuntu:: + + sudo apt-get install build-essential + + * For Fedora/CentOS/RHEL:: + + sudo yum groupinstall "Development Tools" + + * For Arch/Artix/Manjaro:: + + sudo pacman -S base-devel + +- Install `bundletool-all.jar`_ if you want to build APKS, and make sure it is + available as ``bundletool`` command. A quick way would be to create a file + ``bundletool`` in ``/usr/local/bin`` directory with the following content:: + + #!/usr/bin/env bash + exec java -jar "/path/to/bundletool-all.jar" "$@" + + Make sure to replace ``/path/to/bundletool-all.jar`` with the actual path for + **bundletool-all.jar**. Also, make the file executable:: + + chmod +x /usr/local/bin/bundletool + + +Clone and Build App Manager +=========================== + +1. Clone the repo along with submodules:: + + git clone --recurse-submodules https://github.com/MuntashirAkon/AppManager.git + + You can use the `--depth 1` argument if you don't want to clone past + commits. +2. Open the project **AppManager** using Android Studio/IntelliJ IDEA. The IDE + should start syncing automatically. It will also download all the necessary + dependencies automatically provided you have a working network connection. +3. Build debug version of App Manager from *Menu* > *Build* > *Make Project*, + or, from the terminal:: + + ./gradlew packageDebugUniversalApk + + The command will generate a universal APK instead of a bundled app. + +Create Bundled App +================== + +In order to create a bundled app in APKS format, build Android App Bundle (AAB) +first. Then run the following command:: + +./scripts/aab_to_apks.sh preRelease + +Replace ``prePelease`` with ``release`` or ``debug`` based on your +requirements. It will ask for KeyStore credentials interactively. + +The script above will also generate a universal APK. + +.. _bundletool-all.jar: https://github.com/google/bundletool diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst new file mode 100644 index 0000000000000000000000000000000000000000..9d4096e44d171ce3f7ef1e093713693fe6fcdefb --- /dev/null +++ b/CONTRIBUTING.rst @@ -0,0 +1,62 @@ +.. SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 + +============ +Contributing +============ + +You are welcome contribute to App Manager! This doesn't mean that you need +coding skills. You can contribute to App Manager by creating helpful issues, +attending discussions, improving documentations and translations, making icon +for icon packs, adding unrecognised libraries or ad/tracking signatures, +reviewing the source code, as well as reporting security vulnerabilities. + +Rules +===== + +- If you are going to implement or work on any specific feature, please inform + us before doing so. Due to the complex nature of the project, integrating a + new feature could be challenging. +- Your contributions are licensed under ``GPL-3.0-or-later`` by default. + Please see related `Linux documentations`_ to see how to add license headers + to a file, and remember the following: + + * If the files your are contributing to do not have ``GPL-3.0-or-later``, add + it to the existing ``SPDX-License-Identifier`` using ``AND``, e.g. :: + + SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later + + * If the entire file or Java class is copied from another person or project, + you have to add a copyright statement adding the person who wrote it first + like this:: + + // Copyright 2004 Linus Torvalds + + You can also add other contributors but they are not mandatory. You do not + need to include your name because it can already be available via the + version control system. + * Do not add the **@author** tag as it is considered a bad practice. + +- You have to sign-off your work. You can do that using the ``--signoff`` + argument. If you are not using command line or a software that does not + support it, you can add the following line at the end of your commit + message:: + + Signed-off-by: My Name <my.name@example.com> + + We also support most of the `commit message conventions`_ from Linux. + + App Manager is a legal software and its contributions are protected by + copyright laws. Consider using real credentials i.e. real name and email as + we may be required to delete your valuable contributions in the event of + introducing new license or adding exceptions to the existing license. + +**Note:** Repositories located in sites other than GitHub are currently +considered mirrors and any pull or merge requests submitted there will not be +accepted. Instead, you can submit patches (as ``.patch`` files) via email +attachment. My email address is muntashirakon [at] riseup [dot] net. Beware +that such emails may be publicly accessible in future. GitHub pull requests +will be merged manually using the corresponding patches. As a result, GitHub +may falsely mark them *closed* instead of *merged*. + +.. _Linux documentations: https://github.com/torvalds/linux/blob/master/Documentation/process/license-rules.rst +.. _commit message conventions: https://git.wiki.kernel.org/index.php/CommitMessageConventions \ No newline at end of file diff --git a/COPYING b/COPYING new file mode 100644 index 0000000000000000000000000000000000000000..2b89428d01bd6c7c011327f956bc9694f05f29fb --- /dev/null +++ b/COPYING @@ -0,0 +1,16 @@ +App Manager is provided under: + + SPDX-License-Identifier: GPL-3.0-or-later + +Being under the terms of the GNU General Public License version 3 or +later, according with: + + LICENSES/GPL-3.0 + +In addition, other licenses may also apply. Please navigate to: + + LICENSES/ + +to see all the licenses used in this project. + +All contributions to the App Manager are subject to this COPYING file. \ No newline at end of file diff --git a/LICENSES/Apache-2.0 b/LICENSES/Apache-2.0 new file mode 100644 index 0000000000000000000000000000000000000000..325c59c97b4b1f11cc3ec8b19ee0fce05b934c13 --- /dev/null +++ b/LICENSES/Apache-2.0 @@ -0,0 +1,186 @@ +Valid-License-Identifier: Apache-2.0 +SPDX-URL: https://spdx.org/licenses/Apache-2.0.html +Usage-Guide: + To use the Apache License version 2.0 put the following SPDX tag/value + pair into a comment according to the placement guidelines in the + licensing rules documentation: + SPDX-License-Identifier: Apache-2.0 + Do NOT use this license unless the files are copied from another work + under the same license. In such cases, use "AND GPL-3.0-or-later" so + that your contributions are under GPL-3.0+ license. +License-Text: + +Apache License + +Version 2.0, January 2004 + +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the +copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other +entities that control, are controlled by, or are under common control with +that entity. For the purposes of this definition, "control" means (i) the +power, direct or indirect, to cause the direction or management of such +entity, whether by contract or otherwise, or (ii) ownership of fifty +percent (50%) or more of the outstanding shares, or (iii) beneficial +ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising +permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation source, +and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation +or translation of a Source form, including but not limited to compiled +object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, +made available under the License, as indicated by a copyright notice that +is included in or attached to the work (an example is provided in the +Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, +that is based on (or derived from) the Work and for which the editorial +revisions, annotations, elaborations, or other modifications represent, as +a whole, an original work of authorship. For the purposes of this License, +Derivative Works shall not include works that remain separable from, or +merely link (or bind by name) to the interfaces of, the Work and Derivative +Works thereof. + +"Contribution" shall mean any work of authorship, including the original +version of the Work and any modifications or additions to that Work or +Derivative Works thereof, that is intentionally submitted to Licensor for +inclusion in the Work by the copyright owner or by an individual or Legal +Entity authorized to submit on behalf of the copyright owner. For the +purposes of this definition, "submitted" means any form of electronic, +verbal, or written communication sent to the Licensor or its +representatives, including but not limited to communication on electronic +mailing lists, source code control systems, and issue tracking systems that +are managed by, or on behalf of, the Licensor for the purpose of discussing +and improving the Work, but excluding communication that is conspicuously +marked or otherwise designated in writing by the copyright owner as "Not a +Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on +behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this + License, each Contributor hereby grants to You a perpetual, worldwide, + non-exclusive, no-charge, royalty-free, irrevocable copyright license to + reproduce, prepare Derivative Works of, publicly display, publicly + perform, sublicense, and distribute the Work and such Derivative Works + in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this + License, each Contributor hereby grants to You a perpetual, worldwide, + non-exclusive, no-charge, royalty-free, irrevocable (except as stated in + this section) patent license to make, have made, use, offer to sell, + sell, import, and otherwise transfer the Work, where such license + applies only to those patent claims licensable by such Contributor that + are necessarily infringed by their Contribution(s) alone or by + combination of their Contribution(s) with the Work to which such + Contribution(s) was submitted. If You institute patent litigation + against any entity (including a cross-claim or counterclaim in a + lawsuit) alleging that the Work or a Contribution incorporated within + the Work constitutes direct or contributory patent infringement, then + any patent licenses granted to You under this License for that Work + shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or + Derivative Works thereof in any medium, with or without modifications, + and in Source or Object form, provided that You meet the following + conditions: + + a. You must give any other recipients of the Work or Derivative Works a + copy of this License; and + + b. You must cause any modified files to carry prominent notices stating + that You changed the files; and + + c. You must retain, in the Source form of any Derivative Works that You + distribute, all copyright, patent, trademark, and attribution notices + from the Source form of the Work, excluding those notices that do not + pertain to any part of the Derivative Works; and + + d. If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained within + such NOTICE file, excluding those notices that do not pertain to any + part of the Derivative Works, in at least one of the following + places: within a NOTICE text file distributed as part of the + Derivative Works; within the Source form or documentation, if + provided along with the Derivative Works; or, within a display + generated by the Derivative Works, if and wherever such third-party + notices normally appear. The contents of the NOTICE file are for + informational purposes only and do not modify the License. You may + add Your own attribution notices within Derivative Works that You + distribute, alongside or as an addendum to the NOTICE text from the + Work, provided that such additional attribution notices cannot be + construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may + provide additional or different license terms and conditions for use, + reproduction, or distribution of Your modifications, or for any such + Derivative Works as a whole, provided Your use, reproduction, and + distribution of the Work otherwise complies with the conditions stated + in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any + Contribution intentionally submitted for inclusion in the Work by You to + the Licensor shall be under the terms and conditions of this License, + without any additional terms or conditions. Notwithstanding the above, + nothing herein shall supersede or modify the terms of any separate + license agreement you may have executed with Licensor regarding such + Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to + in writing, Licensor provides the Work (and each Contributor provides + its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS + OF ANY KIND, either express or implied, including, without limitation, + any warranties or conditions of TITLE, NON-INFRINGEMENT, + MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely + responsible for determining the appropriateness of using or + redistributing the Work and assume any risks associated with Your + exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether + in tort (including negligence), contract, or otherwise, unless required + by applicable law (such as deliberate and grossly negligent acts) or + agreed to in writing, shall any Contributor be liable to You for + damages, including any direct, indirect, special, incidental, or + consequential damages of any character arising as a result of this + License or out of the use or inability to use the Work (including but + not limited to damages for loss of goodwill, work stoppage, computer + failure or malfunction, or any and all other commercial damages or + losses), even if such Contributor has been advised of the possibility of + such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the + Work or Derivative Works thereof, You may choose to offer, and charge a + fee for, acceptance of support, warranty, indemnity, or other liability + obligations and/or rights consistent with this License. However, in + accepting such obligations, You may act only on Your own behalf and on + Your sole responsibility, not on behalf of any other Contributor, and + only if You agree to indemnify, defend, and hold each Contributor + harmless for any liability incurred by, or claims asserted against, such + Contributor by reason of your accepting any such warranty or additional + liability. + +END OF TERMS AND CONDITIONS \ No newline at end of file diff --git a/LICENSES/BSD-2-Clause b/LICENSES/BSD-2-Clause new file mode 100644 index 0000000000000000000000000000000000000000..dc5dde0bc340574b5db5dc2ae816178dac6ede3d --- /dev/null +++ b/LICENSES/BSD-2-Clause @@ -0,0 +1,35 @@ +Valid-License-Identifier: BSD-2-Clause +SPDX-URL: https://spdx.org/licenses/BSD-2-Clause.html +Usage-Guide: + To use the BSD 2-clause "Simplified" License put the following SPDX + tag/value pair into a comment according to the placement guidelines in + the licensing rules documentation: + SPDX-License-Identifier: BSD-2-Clause + Do NOT use this license unless the files are copied from another work + under the same license. In such cases, use "AND GPL-3.0-or-later" so + that your contributions are under GPL-3.0+ license. +License-Text: + +Copyright (c) <year> <owner> . All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/LICENSES/BSD-3-Clause b/LICENSES/BSD-3-Clause new file mode 100644 index 0000000000000000000000000000000000000000..3789c3e4a32520d505c59893cfd4ad7bcae0e6d7 --- /dev/null +++ b/LICENSES/BSD-3-Clause @@ -0,0 +1,36 @@ +Valid-License-Identifier: BSD-3-Clause +SPDX-URL: https://spdx.org/licenses/BSD-3-Clause.html +Usage-Guide: + To use the BSD 3-clause "New" or "Revised" License put the following SPDX + tag/value pair into a comment according to the placement guidelines in + the licensing rules documentation: + SPDX-License-Identifier: BSD-3-Clause +License-Text: + +Copyright (c) <year> <owner> . All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/arts/LICENSE b/LICENSES/CC-BY-SA-4.0 similarity index 96% rename from arts/LICENSE rename to LICENSES/CC-BY-SA-4.0 index 3b7b82d0da2db857eda1a798dbd908ea136f07b5..a2a29bbeb41d03ba9cb7d07481dcfdb487e8af97 100644 --- a/arts/LICENSE +++ b/LICENSES/CC-BY-SA-4.0 @@ -1,4 +1,16 @@ -Attribution-ShareAlike 4.0 International +Valid-License-Identifier: CC-BY-SA-4.0 +SPDX-URL: https://spdx.org/licenses/CC-BY-SA-4.0 +Usage-Guide: + Do NOT use this license for code, but it's acceptable for content like artwork + or documentation. When using it for the latter, it's best to use it together + GPL-3.0-or-later license using "OR". + To use the Creative Commons Attribution-ShareAlike 4.0 International license + put the following SPDX tag/value pair into a comment according to the + placement guidelines in the licensing rules documentation: + SPDX-License-Identifier: CC-BY-SA-4.0 +License-Text: + +Creative Commons Attribution-ShareAlike 4.0 International ======================================================================= diff --git a/LICENSES/GPL-2.0 b/LICENSES/GPL-2.0 new file mode 100644 index 0000000000000000000000000000000000000000..31d9e0bde05d9eaa7738bcf4014f5532c6dbe03e --- /dev/null +++ b/LICENSES/GPL-2.0 @@ -0,0 +1,353 @@ +Valid-License-Identifier: GPL-2.0+ +Valid-License-Identifier: GPL-2.0-or-later +SPDX-URL: https://spdx.org/licenses/GPL-2.0-or-later.html +Usage-Guide: + To use this license in source code, put one of the following SPDX + tag/value pairs into a comment according to the placement + guidelines in the licensing rules documentation. + For 'GNU General Public License (GPL) version 2 or any later version' use: + SPDX-License-Identifier: GPL-2.0+ + or + SPDX-License-Identifier: GPL-2.0-or-later +License-Text: + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + 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 2 of the License, or + (at your option) any later version. + + 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. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. \ No newline at end of file diff --git a/LICENSE b/LICENSES/GPL-3.0 similarity index 98% rename from LICENSE rename to LICENSES/GPL-3.0 index f288702d2fa16d3cdf0035b15a9fcbc552cd88e7..b7b2bd95e18b3c71bce4d2e8a244d5214f5c99a5 100644 --- a/LICENSE +++ b/LICENSES/GPL-3.0 @@ -1,3 +1,16 @@ +Valid-License-Identifier: GPL-3.0+ +Valid-License-Identifier: GPL-3.0-or-later +SPDX-URL: https://spdx.org/licenses/GPL-3.0-or-later.html +Usage-Guide: + To use this license in source code, put one of the following SPDX + tag/value pairs into a comment according to the placement + guidelines in the licensing rules documentation. + For 'GNU General Public License (GPL) version 3 or any later version' use: + SPDX-License-Identifier: GPL-3.0+ + or + SPDX-License-Identifier: GPL-3.0-or-later +License-Text: + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 @@ -671,4 +684,4 @@ into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. +<https://www.gnu.org/licenses/why-not-lgpl.html>. \ No newline at end of file diff --git a/LICENSES/ISC b/LICENSES/ISC new file mode 100644 index 0000000000000000000000000000000000000000..8d2a990cde749aa53ef5321abc5e340a513e7624 --- /dev/null +++ b/LICENSES/ISC @@ -0,0 +1,27 @@ +Valid-License-Identifier: ISC +SPDX-URL: https://spdx.org/licenses/ISC.html +Usage-Guide: + To use the ISC License put the following SPDX tag/value pair into a + comment according to the placement guidelines in the licensing rules + documentation: + SPDX-License-Identifier: ISC + Do NOT use this license unless the files are copied from another work + under the same license. In such cases, use "AND GPL-3.0-or-later" so + that your contributions are under GPL-3.0+ license. +License-Text: + +ISC License + +Copyright (c) <year> <copyright holders> + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION +OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/LICENSES/MIT b/LICENSES/MIT new file mode 100644 index 0000000000000000000000000000000000000000..2827cab61b40f5ca1c23698382748d97715e1c4f --- /dev/null +++ b/LICENSES/MIT @@ -0,0 +1,33 @@ +Valid-License-Identifier: MIT +SPDX-URL: https://spdx.org/licenses/MIT.html +Usage-Guide: + To use the MIT License put the following SPDX tag/value pair into a + comment according to the placement guidelines in the licensing rules + documentation: + SPDX-License-Identifier: MIT + Do NOT use this license unless the files are copied from another work + under the same license. In such cases, use "AND GPL-3.0-or-later" so + that your contributions are under GPL-3.0+ license. +License-Text: + +MIT License + +Copyright (c) <year> <copyright holders> + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/LICENSES/WTFPL b/LICENSES/WTFPL new file mode 100644 index 0000000000000000000000000000000000000000..ed641ca63241afe6ed274dfd7d9611d860ec156c --- /dev/null +++ b/LICENSES/WTFPL @@ -0,0 +1,25 @@ +Valid-License-Identifier: WTFPL +SPDX-URL: https://spdx.org/licenses/WTFPL.html +Usage-Guide: + To use the WTFPL put the following SPDX tag/value pair into a + comment according to the placement guidelines in the licensing rules + documentation: + SPDX-License-Identifier: WTFPL + Do NOT use this license unless the files are copied from another work + under the same license. In such cases, use "AND GPL-3.0-or-later" so + that your contributions are under GPL-3.0+ license. +License-Text: + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/README.md b/README.md index 6b9ab332d618aee94db9c67f3e1cea390def35e5..5caaa41a5fec37fcc0f48744f3e0e1efe82b9d57 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +<!-- SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 --> + <p align="center"> <img src="docs/raw/images/icon.png" alt="App Manager Logo" height="150"> </p> @@ -97,74 +99,10 @@ Help translate [the app strings](https://hosted.weblate.org/engage/app-manager/) <img src="fastlane/metadata/android/en-US/images/phoneScreenshots/1.png" height="500dp" /><img src="fastlane/metadata/android/en-US/images/phoneScreenshots/3.png" height="500dp" /><img src="fastlane/metadata/android/en-US/images/phoneScreenshots/5.png" height="500dp" /><img src="fastlane/metadata/android/en-US/images/phoneScreenshots/13.png" height="500dp" /><img src="fastlane/metadata/android/en-US/images/phoneScreenshots/7.png" height="500dp" /><img src="fastlane/metadata/android/en-US/images/phoneScreenshots/9.png" height="500dp" /> ## Build Instructions -* **System Requirements:** Any computer with 4GB RAM (8GB recommended) -* **Operating System:** Linux/macOS (no support for Windows) -* **Software:** Android Studio, Gradle -* Active internet connection - -### macOS -The following steps are required only if you want to build APKS: -- Install Homebrew: - ```bash - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - ``` -- Install `bundletool` - ```bash - brew install bundletool - ``` - -### Linux|GNU -- Install the development tools. - For Debian/Ubuntu: - ```bash - sudo apt-get install build-essential - ``` - For Fedora/CentOS/RHEL: - ```bash - sudo yum groupinstall "Development Tools" - ``` - For Arch/Artix/Manjaro: - ```bash - sudo pacman -S base-devel - ``` -- Install [**bundletool-all.jar**](https://github.com/google/bundletool) if you want to build APKS, and make sure it is available as `bundletool` command. A quick way would be to create a file `bundletool` in `/usr/local/bin` directory with the following content: - ```bash - #!/usr/bin/env bash - exec java -jar "/path/to/bundletool-all.jar" "$@" - ``` - Make sure to replace `/path/to/bundletool-all.jar` with the actual path for **bundletool-all.jar**. Also, make the file executable: - ```bash - chmod +x /usr/local/bin/bundletool - ``` - -### Clone and Build App Manager -1. Clone the repo along with submodules: - ```bash - git clone --recurse-submodules https://github.com/MuntashirAkon/AppManager.git - ``` - You can use the `--depth 1` argument if you don't want to clone past commits. -2. Open the project **AppManager** using Android Studio/IntelliJ IDEA. The IDE should start syncing automatically. It will also download all the necessary dependencies automatically provided you have the Internet connection. -3. Build debug version of App Manager from _Menu_ > _Build_ > _Make Project_, or, from the terminal: - ``` - ./gradlew packageDebugUniversalApk - ``` - The command will generate a universal APK instead of a bundled app. - -### Create Bundled App -In order to create a bundled app in APKS format, build Android App Bundle (AAB) first. Then run the following command: -```bash -./scripts/aab_to_apks.sh preRelease -``` -Replace `prePelease` with `release` or `debug` based on your requirements. It will ask for keystore credentials interactively. - -The script above will also generate a universal APK. +See [BUILDING.rst](BUILDING.rst) ## Contributing -You are welcome contribute to App Manager! This doesn't mean that you need coding skills. You can help App Manager by creating helpful issues, attending discussions, improving documentations and translations, making icon for icon packs, adding unrecognised libraries or ad/tracking signatures, reviewing the source code, as well as reporting security vulnerabilities. If you are going to contribute to AM with your coding skills, please read the following: -- If you're going to implement or work on any specific feature, please inform me before doing so. Due to the complex nature of the project, integrating a new feature could be challenging. -- You're absolutely welcome to fix issues or mistakes, but App Manager's code base changes a lot almost every day. Therefore, if you are requested to make changes in your pull request but can't address them within 2 (two) days, your pull request may be closed depending on the importance of the request. This instruction will be removed once the code base is stable. - -**Note:** Repositories located in sites other than GitHub are currently considered mirrors and PR/MR submitted there will not be accepted. Instead, you can submit patches (as `.patch` files) via email attachment. My email address is muntashirakon [at] riseup [dot] net. Beware that such emails may be publicly accessible in future. GitHub PRs will be merged manually using the corresponding patches. As a result, GitHub may falsely mark them _closed_ instead of _merged_. Make sure to sign-off your commits. +See [CONTRIBUTING.rst](CONTRIBUTING.rst) ## Donation and Funding **App Manager doesn't support any donations directly.** However, if you like my projects (App Manager being one of them), you can buy me a coffee by sending an anonymous donation to one of the following **Bitcoin** addresses: @@ -175,6 +113,8 @@ You are welcome contribute to App Manager! This doesn't mean that you need codin ``` By sending me BTC, you agree that you will not share the transaction info in public i.e. the transaction will remain anonymous, nor will you use it as a leverage to prioritise your requested features. I accept feature requests without any donations, and they are prioritised according to my preferences. +You can also donate me using Open Collective: https://opencollective.com/muntashir + **App Manager is open for funding/grants.** If you are an organisation interested in funding it you can contact me directly at muntashirakon [at] riseup [dot] net (FINGERPRINT: `7bad37c2981e41f8f6abea7f58f0b4f26c346fce`). ## Credits and Libraries diff --git a/app/build.gradle b/app/build.gradle index a2d1f1262c3d979df79680559869726dc1d5b6ce..d603690109c33f37dd822a3204a10b4600aa072d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later apply plugin: 'com.android.application' diff --git a/app/src/debug/res/xml/shortcuts.xml b/app/src/debug/res/xml/shortcuts.xml index 2fe3b6d88cb773d57b2819c6ed4a79f54e29bdcd..710887785c0311f120ad8fd1fe0ce7bbf1b2e236 100644 --- a/app/src/debug/res/xml/shortcuts.xml +++ b/app/src/debug/res/xml/shortcuts.xml @@ -1,4 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<!-- Copyright 2012 Nolan Lawson --> <shortcuts xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" tools:targetApi="n_mr1"> diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d7405670ecc673c319a530a004086a64110835a3..975bb3cadbb3ce3a7804094d4733682db8a7b6fa 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="io.github.muntashirakon.AppManager" diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/IAMService.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/IAMService.aidl index a646af9288a019ac169b2ca1cbbd82b5964d339f..2059f8f66a21e0d415c631e81cf9c77fda7e5434 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/IAMService.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/IAMService.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFile.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFile.aidl index 1264510c7b845d572aa4b78f96e3838e30dccd59..af8ba170fc87f1cd805b01fdb20b5cc5b8a7a25d 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFile.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFile.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileReader.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileReader.aidl index 8a99606bfb79eb34e3df81c7a43e2902ef449717..6d391b99032f56cde69a760671442352c61b6530 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileReader.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileReader.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileWriter.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileWriter.aidl index 077fd6ff13510dd2632625507e1ba195e9a1b387..8fc6658a30a44f791b45c19625c94c332c9126f7 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileWriter.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteFileWriter.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteProcess.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteProcess.aidl index ace4fef81c648da2d64cf0c06d25c4268b1f08f1..0eca02fc3fc812b9be0157baf207bacb52902aa4 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteProcess.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteProcess.aidl @@ -1,22 +1,8 @@ -/* - * Copyright 2020 Rikka - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager; +// Copyright 2020 Rikka interface IRemoteProcess { ParcelFileDescriptor getOutputStream(); ParcelFileDescriptor getInputStream(); diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteShell.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteShell.aidl index f55aec0b3f3c21df46d39adbb554e59bf9c23919..1662b9cd20c5fc59612efb441c71d66af68cd2bc 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteShell.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/IRemoteShell.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/IShellResult.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/IShellResult.aidl index a348d68e85efa3d7f8db29127e48b3a727bd7dab..153e27fe5792062e0bb0f54a1e02945a53eb5e8e 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/IShellResult.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/IShellResult.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.aidl index f2aa810f6e38270579df1a6373b0f45ff113ad4f..8fbf3f4fce18ee478237c32f80c3c1ecdb5e9d71 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc.ps; diff --git a/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.aidl b/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.aidl index 82e0f824989b76aeab73c57790d55cb97fc0c819..4b8698520994692209cd342601b5a46ab0951623 100644 --- a/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc.ps; diff --git a/app/src/main/aidl/io/github/muntashirakon/io/FileStatus.aidl b/app/src/main/aidl/io/github/muntashirakon/io/FileStatus.aidl index 77aa50df84dc5387b3e2d04563f6e5e65a2e695c..d3fc5721cedb114862035d25e71bf0bfbc5402a0 100644 --- a/app/src/main/aidl/io/github/muntashirakon/io/FileStatus.aidl +++ b/app/src/main/aidl/io/github/muntashirakon/io/FileStatus.aidl @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/aosp/libcore/util/EmptyArray.java b/app/src/main/java/aosp/libcore/util/EmptyArray.java index 4d5de04cf5d0908cb8cf347bd8eeb9840d269103..9dcef79cc26f8c3343faf8e6da3a85d8dda0a61a 100644 --- a/app/src/main/java/aosp/libcore/util/EmptyArray.java +++ b/app/src/main/java/aosp/libcore/util/EmptyArray.java @@ -1,23 +1,8 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * Copyright (C) 2006 The Android Open Source Project - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 package aosp.libcore.util; +// Copyright 2006 The Android Open Source Project public final class EmptyArray { private EmptyArray() {} diff --git a/app/src/main/java/aosp/libcore/util/HexEncoding.java b/app/src/main/java/aosp/libcore/util/HexEncoding.java index 7324dbdf92b2138476327c1841d3e231085e9d67..43d40ba3552d1c2aeba300234e04993418053fae 100644 --- a/app/src/main/java/aosp/libcore/util/HexEncoding.java +++ b/app/src/main/java/aosp/libcore/util/HexEncoding.java @@ -1,26 +1,11 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * Copyright (C) 2006 The Android Open Source Project - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 package aosp.libcore.util; /** * Hexadecimal encoding where each byte is represented by two hexadecimal digits. */ +// Copyright 2006 The Android Open Source Project public class HexEncoding { private static final char[] LOWER_CASE_DIGITS = { diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/AppManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/AppManager.java index 9b36c42d1e599a5ca3224819943f01bdab55475e..352aec0ce0ef1ad76e2c9b23f4b72075e53b1532 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/AppManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/AppManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/BaseActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/BaseActivity.java index ac49a1e1f5be32342955e14bbd33021a1688f19e..8b9616188e29385a93b740c855059882b5862176 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/BaseActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/BaseActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/StaticDataset.java b/app/src/main/java/io/github/muntashirakon/AppManager/StaticDataset.java index 7dd846611e19a249253a1958f7cf03b4a7d07693..fccecc86f75e043135fc425f843f710700cd3c4e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/StaticDataset.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/StaticDataset.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbAuthenticationFailedException.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbAuthenticationFailedException.java index c04997ba0d67f625d6f66721fcf794552761e935..31e88b6181b76d6cb3230a0c1332a4c72bc48ac8 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbAuthenticationFailedException.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbAuthenticationFailedException.java @@ -1,20 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (c) 2020 Sam Palmer - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: BSD-3-Clause package io.github.muntashirakon.AppManager.adb; @@ -25,6 +9,7 @@ package io.github.muntashirakon.AppManager.adb; * <p> * This is an unchecked exception for backwards-compatibility. */ +// Copyright 2020 Sam Palmer class AdbAuthenticationFailedException extends RuntimeException { public AdbAuthenticationFailedException() { super("Initial authentication attempt rejected by peer"); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnection.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnection.java index 245e1da18abe605e506bc4c9593aa06940790bae..acfbd0b18d0ddcacb4e8950b20cb7f2802fdb74e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnection.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnection.java @@ -1,22 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (c) 2020 Sam Palmer - * Copyright (c) 2016 Anton Tananaev - * Copyright (c) 2013 Cameron Gutman - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: BSD-3-Clause AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; @@ -46,6 +28,7 @@ import io.github.muntashirakon.AppManager.logs.Log; /** * This class represents an ADB connection. */ +// Copyright 2013 Cameron Gutman public class AdbConnection implements Closeable { public static final String TAG = AdbConnection.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnectionManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnectionManager.java index 14365c292679817070eeb5568ad6ed3055e27220..5c5617b8c32057da0ee48d4beaec279ffd0e88fd 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnectionManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbConnectionManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; @@ -25,6 +10,7 @@ import io.github.muntashirakon.AppManager.crypto.ks.KeyPair; import io.github.muntashirakon.AppManager.crypto.ks.KeyStoreManager; import io.github.muntashirakon.AppManager.crypto.ks.KeyStoreUtils; +// Copyright 2017 Zheng Li public class AdbConnectionManager { public static final String TAG = AdbConnectionManager.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbCrypto.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbCrypto.java index 9c4768258f5e9ef2f8437a92ca83c18b7c64ef03..9da90239c8283b83cc6c0d901f1a9ec3a969c49e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbCrypto.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbCrypto.java @@ -1,21 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (c) 2016 Anton Tananaev - * Copyright (c) 2013 Cameron Gutman - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: BSD-3-Clause AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; @@ -34,6 +17,7 @@ import javax.crypto.Cipher; import io.github.muntashirakon.AppManager.crypto.ks.KeyPair; +// Copyright 2013 Cameron Gutman class AdbCrypto { /** * The ADB RSA key length in bits diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbProtocol.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbProtocol.java index bdc12e905bda553d13ca44e0dc6b8fb2c4555d00..f20d528997aec96838c90417eb77c05ccd4b4a67 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbProtocol.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbProtocol.java @@ -1,21 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (c) 2016 Anton Tananaev - * Copyright (c) 2013 Cameron Gutman - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: BSD-3-Clause AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; @@ -33,6 +16,7 @@ import java.nio.charset.StandardCharsets; /** * This class provides useful functions and fields for ADB protocol details. */ +// Copyright 2013 Cameron Gutman class AdbProtocol { /** * The length of the ADB message header diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbShell.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbShell.java index d6c29f0dd9285fd7146ef492088700645ff1b6a4..130e5d9b8dbf71331214886e2a561e1250f58ce0 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbShell.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbShell.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbStream.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbStream.java index 7d4524f82e8de9cfdf21bc82aefcb13f56aaa59d..4248c731c3dc28ee9fbf0ede40451330a517ade2 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbStream.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbStream.java @@ -1,22 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (c) 2020 Sam Palmer - * Copyright (c) 2016 Anton Tananaev - * Copyright (c) 2013 Cameron Gutman - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: BSD-3-Clause AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; @@ -29,9 +11,8 @@ import java.util.concurrent.atomic.AtomicBoolean; /** * This class abstracts the underlying ADB streams - * - * @author Cameron Gutman */ +// Copyright 2013 Cameron Gutman public class AdbStream implements Closeable { /** diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbUtils.java index eef41909c9e532f803f7718d285ed23fb921e0f8..e61af82cf1b7ded4b9d00d07b95f778b67f0aa58 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/AdbUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/adb/LineReader.java b/app/src/main/java/io/github/muntashirakon/AppManager/adb/LineReader.java index 3114841767116dbf74f24ae0798451581fb3156d..3c769a5773003c2c391cb232f7f8a9987d1be645 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/adb/LineReader.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/adb/LineReader.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.adb; @@ -22,6 +7,7 @@ import java.io.IOException; import java.nio.ByteBuffer; import java.util.Stack; +// Copyright 2017 Zheng Li public class LineReader implements Closeable { private static final int CR = 13; private static final int LF = 10; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/AndroidBinXmlParser.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/AndroidBinXmlParser.java index 8295d52c2d7d54ee92992fd782bfb35f5126fe8c..852c8dbdc8010820733d311d797899135837c98e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/AndroidBinXmlParser.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/AndroidBinXmlParser.java @@ -1,20 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * Copyright (C) 2016 The Android Open Source Project - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk; @@ -40,6 +24,7 @@ import androidx.annotation.Nullable; * event can be obtained via an assortment of getters, for example, {@link #getName()} or * {@link #getAttributeNameResourceId(int)}. */ +// Copyright 2016 The Android Open Source Project @SuppressWarnings("unused") public class AndroidBinXmlParser { @IntDef({ diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java index b66dcdedb1b78e384fd5ff7f163817c0d232c223..45a09eb9c36d2c711ca6f879ece469be6643c90a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkUtils.java index 51893c118728bdc07982d2294910b25dd778de70..505353406aa16deb42c835c0a78ef24463d98a57 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/AMPackageInstaller.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/AMPackageInstaller.java index 7172a9f8cf956658e03b9ccdac88df92fdaa99d5..f779fa996a41f76a3580fef79de37943f4492c50 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/AMPackageInstaller.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/AMPackageInstaller.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.installer; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerActivity.java index 5c7b6c5463598f2fb31dbd890fc41f00d91fa6e0..f82008ebaa1bc1cb915c2677e6222a9cfc5a13aa 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.installer; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerBroadcastReceiver.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerBroadcastReceiver.java index 824a398065cc3cc2c91b339ddb9af392b41db68e..cdee00f2e83cab30d0dd376f148c6dda0d8e1465 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerBroadcastReceiver.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerBroadcastReceiver.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.installer; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerCompat.java index b6c6cf26f8ba7b752014a7c82c37eaa2c632ef41..6dea80b6a8d79eccada93850742794864530eb4d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerCompat.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.installer; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerService.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerService.java index 26e0320ddd605774eff96947ebaffa9280570fed..fcbcb6ee60b32632f7cc0f8c0b8306cd89a03355 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.installer; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerUtils.java index e6f5603fc0089bff929b7cea8c73cd6f2495ae9d..a30c62d749a7ba04da9d2fc9b1e1e2837d238066 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerUtils.java @@ -1,20 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * Copyright (C) 2020 xz-dev - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.installer; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerViewModel.java index 43fd6d4274c7da834fcd9668819b0962747eef02..638a815ace132275f4c82ba7d17b0967025d5db6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/installer/PackageInstallerViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.installer; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/SigSchemes.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/SigSchemes.java index 1e85d9a52f2951e438443036127c149e3f186967..91757097279f00b8824e6de947239abbf464e60a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/SigSchemes.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/SigSchemes.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.signing; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/Signer.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/Signer.java index 4c467c518cc1212cd0c1ac93fae7452e029e0a8c..31cc8d488c839b7bad76399f23b5a76c836f9b52 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/Signer.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/signing/Signer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.signing; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/ApksMetadata.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/ApksMetadata.java index a17945fa0889200cb559d4f563f18f21adbcde43..fe31219a10dc9163f386faadd5fe79b81729f260 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/ApksMetadata.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/ApksMetadata.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.splitapk; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkChooser.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkChooser.java index 02e53da43dabe11ff7868f9725f787a59c19ac26..ba8f467df1e3636560c3a18ffec0fef14aa8200e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkChooser.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkChooser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.splitapk; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkExporter.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkExporter.java index 4e98b2787afb53b99b629e981a46d249b2c38d9e..2cbf4472020307ec8f165889cc9cf9d30816605a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkExporter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/splitapk/SplitApkExporter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.splitapk; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/ApkWhatsNewFinder.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/ApkWhatsNewFinder.java index 093f92862218696ca976c6c80bca0f72880cc482..cb70ab6ed9530433a607cc3cdaa48099b5aebeea 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/ApkWhatsNewFinder.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/ApkWhatsNewFinder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.whatsnew; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/WhatsNewDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/WhatsNewDialogFragment.java index ca1529501983599e5b62fcecd59c95c9c0eec79c..f5aba5fb77e03562d6e47f7e0ad1f583087484d1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/WhatsNewDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/whatsnew/WhatsNewDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.apk.whatsnew; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsManager.java index c3842f18ce802fe06927201214e9fce54c10167a..2373b379c18eb8c487658191528da47aff6b706a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.appops; @@ -39,6 +24,7 @@ import io.github.muntashirakon.AppManager.utils.ArrayUtils; * <p>This API is not generally intended for third party application developers; most * features are only available to system applications. */ +// Copyright 2016 The Android Open Source Project @SuppressWarnings("unused") public class AppOpsManager { @SuppressLint("NewApi") diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsService.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsService.java index 4e04ec5ad715a541618445faecf66c547bc9808f..be90bc31977b4479e44f8eebad21af5f58445d13 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.appops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsUtils.java index 359fad95468972c8e5e2441ff8e31ae0b7e9ab28..c367470de2e3ed6bb9d451a126fb4c98b53e7b95 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/AppOpsUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.appops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/OpEntry.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/OpEntry.java index c8694d13ef62283c99ef8fab501221b37b3b20ed..952eb4f3dc4eba74a28fd3808c2342ca44ef6296 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/OpEntry.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/OpEntry.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.appops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/PackageOps.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/PackageOps.java index 45dda711bdfed78567faa7b942a4e857780664bc..10701dbc55daa6de8a52d12af299814c51b9e27f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/PackageOps.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/PackageOps.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.appops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/OpEntryConverter.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/OpEntryConverter.java index 55f34c119dd3cb5a13c28edc5e9d422a1357265d..ef483fe41d73cd6894ea055f9daf043c600a4737 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/OpEntryConverter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/OpEntryConverter.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.appops.reflector; import android.os.Build; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/PackageOpsConverter.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/PackageOpsConverter.java index e647ebb9c887cbe06d977047a771f58d9b2689c3..6646cad51b39e29b997d8dc936f0a5a67a05d338 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/PackageOpsConverter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/PackageOpsConverter.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.appops.reflector; import android.os.Build; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/ReflectUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/ReflectUtils.java index fab8223fb40edf9592a20cdfc9a870c861a98801..f0594f556c5f89495eaf1abb08ae114a6c060b4e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/ReflectUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/appops/reflector/ReflectUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.appops.reflector; @@ -29,6 +14,7 @@ import io.github.muntashirakon.AppManager.appops.OpEntry; import io.github.muntashirakon.AppManager.appops.PackageOps; import io.github.muntashirakon.AppManager.utils.ArrayUtils; +// Copyright 2017 Zheng Li @SuppressWarnings("rawtypes") public class ReflectUtils { private static final Map<String, Field> sFieldCache = new HashMap<>(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupDialogFragment.java index aef0808c03e2883687799ccd631d748caf3f20b5..a85e2da12c063dde606d4a036c2aeb2eb7950e8b 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupException.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupException.java index 2e2a6635c156c6c27ccd168810683639d97cea54..ca0d1326bea2c32ceab3fc1aa05c2cc9c4cdc514 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupException.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupException.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.backup; import androidx.annotation.NonNull; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFiles.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFiles.java index ac0e3778aebdb996a06b7f6bb3f2f308fc1cb90b..dfdfe0d813bff0e3f5e4187fd3bdc6c620484f09 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFiles.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFiles.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFlags.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFlags.java index 426b154cf6a994289b34e063c9fa9810cc0a7cee..8e1e49d3acc378ee69221b146458fe722b220d54 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFlags.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupFlags.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupManager.java index 55d7503348b014ff1bdbbade6a58e54d32cc448c..21192930f1ff1a91cd16e7288567eac815c41cd5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupOp.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupOp.java index e69987c744c92926903e6a1d6e73622daac150f9..7ccab825c7c0293e0f5d6907a169f1e95ffe81c7 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupOp.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupOp.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupUtils.java index d53feea2dda07a25b74547fa16c573ee02230006..e7750e0ee1511a8ae79f04ed6aea3f18b32f9777 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/BackupUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/CryptoUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/CryptoUtils.java index f5c1b8318371b0fc72928fcf036f32969adf8677..ebb9d5fe17a2ea1cb17d361fd719ff37c7f61401 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/CryptoUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/CryptoUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/MetadataManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/MetadataManager.java index 2e799504a021cfd782f78cd8a3e6d06010e495b8..8bb73168fce779a5bedc2c764fbb20429c2df9ab 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/MetadataManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/MetadataManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/RestoreOp.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/RestoreOp.java index 0ea7d10aa0d78b7914d1d45866286e02349fe72d..b11f4c0d831b63edb5ec89e241acba7871f5b0bc 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/RestoreOp.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/RestoreOp.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/backup/VerifyOp.java b/app/src/main/java/io/github/muntashirakon/AppManager/backup/VerifyOp.java index 398d2ea84d2a95cde764e7110d0ee1938bd912fb..04acb69ef71580a107c5a2db0fe69645217329a9 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/backup/VerifyOp.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/backup/VerifyOp.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.backup; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsManager.java index f3750dede233a6c59b4d0e29a653e30453b7e121..780bd9443cc5282522284c9e299b96192bd36ceb 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.batchops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsService.java b/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsService.java index 31b1b2e5de15a1001f6c726b1e5621c9e5231a3c..85d23a7db03921d7092fd6da68baaf3ed957a0f5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/batchops/BatchOpsService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.batchops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AESCrypto.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AESCrypto.java index bb817d8af97cf56297a9c90ca632b5bd6192a50d..53f85a4d479c3e89991f29505d6035f69a3b8890 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AESCrypto.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AESCrypto.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AuthenticationActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AuthenticationActivity.java index 2b55efb99a40d8512fbb1b7b12088b022d02b873..b1ebf919b96a048de7d099e1eed2b7cc47b722a6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AuthenticationActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/AuthenticationActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/Crypto.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/Crypto.java index 5f5f4d461f22cbb456ef7fa5f3a342e6db5560e0..5986d59060e71eeb5d9e640ee5e6cb4d8f0a61b8 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/Crypto.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/Crypto.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/CryptoException.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/CryptoException.java index 05a376fc7ff1695093a57cd250321815b1e2af88..75d54f89fddd93904d306cf51bdcd3dd3d6e4d1f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/CryptoException.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/CryptoException.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/DummyCrypto.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/DummyCrypto.java index 139d541ee286b0b2e397264d61172a548cd2b583..b78c6f749240079c86ddc56b0aab106f578fdc1a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/DummyCrypto.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/DummyCrypto.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCrypto.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCrypto.java index 4ff6e1dad2aedf3d8cec0e2f40fb00b7393fccb1..2a3b7894795795de6d0a207eaf09dd4f1ebf55e7 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCrypto.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCrypto.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; @@ -60,6 +45,7 @@ import io.github.muntashirakon.io.ProxyFile; import io.github.muntashirakon.io.ProxyInputStream; import io.github.muntashirakon.io.ProxyOutputStream; +// Copyright 2018 jensstein public class OpenPGPCrypto implements Crypto { public static final String TAG = "OpenPGPCrypto"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCryptoActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCryptoActivity.java index 57a160245dd4555efccfc50bc3af72ffbc1a9c0e..0f7a75ff4cfdea8a132e362cb4df832cbef6e7f4 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCryptoActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/OpenPGPCryptoActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/RSACrypto.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/RSACrypto.java index da9deea87466879af7ecba12a8a147b4977750bd..e28c9a2cc2a5466ceb1d7c6db58f61d8e9f41f97 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/RSACrypto.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/RSACrypto.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/CompatUtil.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/CompatUtil.java index 746a992f5f99d9cd929b3071508c8fefc09acd5c..c0d85664ed5ae6949ee03c3864b5e841b6010aa1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/CompatUtil.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/CompatUtil.java @@ -1,20 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (c) 2018 New Vector Ltd - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.crypto.ks; @@ -63,6 +47,7 @@ import javax.security.auth.x500.X500Principal; import io.github.muntashirakon.AppManager.logs.Log; +// Copyright 2018 New Vector Ltd public class CompatUtil { private static final String TAG = CompatUtil.class.getSimpleName(); private static final String ANDROID_KEY_STORE_PROVIDER = "AndroidKeyStore"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyPair.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyPair.java index 2f6661f7773129325d969d88053e01201248df8e..df101e6a6bab3a4acfe572e2a8a451570c713e2f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyPair.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyPair.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto.ks; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreActivity.java index 47a97a46dd7fa19409330e22d47bb9a11294f3f4..4ea9586bac519488df77c3a301280e03cc1c5730 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto.ks; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreManager.java index 923e30572015811cf47c87a8af805938bff6d6bb..a9e29a72a12d932a1c67ae3f7cfb6f113560f621 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto.ks; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreUtils.java index 2f215a7ebd0d02e81a8aa38aa83cc572075ad54a..0a126b6ce3a1b0b953cb1eb552b413288ccf7636 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/KeyStoreUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto.ks; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyAndVersion.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyAndVersion.java index 740d34c034e2f13debc246adb8b77741d8a76745..b5b061451fee0bbb429a2e8fbd9fb8bc1916cf9e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyAndVersion.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyAndVersion.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.crypto.ks; @@ -24,6 +9,7 @@ import javax.crypto.SecretKey; /** * Tuple which contains the secret key and the version of Android when the key has been generated */ +// Copyright 2018 New Vector Ltd public class SecretKeyAndVersion extends Pair<SecretKey, Integer> { /** * @param secretKey The key diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyCompat.java index 83471d495dd3485d370e6a08b07de82daac1cabb..0bdd865dab6a2c13ca47a69d34175c08480a859c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/crypto/ks/SecretKeyCompat.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.crypto.ks; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/db/AMDatabase.java b/app/src/main/java/io/github/muntashirakon/AppManager/db/AMDatabase.java index 1fd4d4bc63aa3934389385bb78b54ec1ddef403b..b76eb5ae79ceb4ea60174c073e924eb26f32f511 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/db/AMDatabase.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/db/AMDatabase.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.db; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/AppDao.java b/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/AppDao.java index 45c6dfd1f63bf921cd18a73b5d3c546552b130a5..2574e9a5420ad11eb3197ae97897b0301cac3ed1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/AppDao.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/AppDao.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.db.dao; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/FileHashDao.java b/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/FileHashDao.java index 21d2b813b702d72c0dcbc2d10ddb6bdc1e628207..983da23a92c3846fbffa0905babe1cb0ebf10e7e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/FileHashDao.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/FileHashDao.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.db.dao; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/LogFilterDao.java b/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/LogFilterDao.java index 3a3091210fd8dc2393846b3c32fca8b084969475..0bf8ebe3f1733835ec645091b5916e84822a2c58 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/LogFilterDao.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/db/dao/LogFilterDao.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.db.dao; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/App.java b/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/App.java index f2173a8e0dcdd71c068d378e229a73800cd8b82f..bccd3830f238593af3ffa92539df136fcbbe0421 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/App.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/App.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.db.entity; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/FileHash.java b/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/FileHash.java index 1c92b9bba644edadeaddc997840b504a60419ecd..9e50a2d6150be13133dc243d6b1c1881139b7091 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/FileHash.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/FileHash.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.db.entity; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/LogFilter.java b/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/LogFilter.java index 72631f8b409c714a07bd43348d7fee089f2b7b29..c001c42840a2e2f7c5f2232d6fdffe622b0daf87 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/LogFilter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/db/entity/LogFilter.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.db.entity; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsActivity.java index 73066ce421a9a1e3c2b0ccbd7fcdb621a2d81c5a..0dcc163313df8020772ac18a35dfa574df774333 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragment.java index 248cf1c4e66bd305af3391aec19614363b8e4624..684f7feca2e11609062d648722f22c5d59e13f9f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragmentViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragmentViewModel.java index e0dd2f36d88d0b02ca99a796d25d20b62eb20e54..1f171e82f02c0af4c76d23ff9caf1e98f4858908 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragmentViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsFragmentViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsViewModel.java index b8ef5f6211137c11f7122bb041796bcf623ab5f3..20bf7eb76b560605924a4d0145e9dd6f7d2cb94c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/AppDetailsViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/EditShortcutDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/EditShortcutDialogFragment.java index b1ad0ceeec0817260fe1b976b816ccdbb0d5561c..afed174f6585ec1726f950db2b35bb49e1b500fa 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/EditShortcutDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/EditShortcutDialogFragment.java @@ -1,24 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ - -// This is a modified version of ShortcutEditDialogFragment.java taken -// from https://github.com/butzist/ActivityLauncher/commit/dfb7fe271dae9379b5453bbb6e88f30a1adc94a9 -// and was authored by Adam M. Szalkowski with ISC License. -// All derivative works are licensed under GPLv3.0. +// SPDX-License-Identifier: ISC AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; @@ -47,6 +27,7 @@ import androidx.fragment.app.DialogFragment; import androidx.fragment.app.FragmentActivity; import io.github.muntashirakon.AppManager.R; +// Copyright 2017 Adam M. Szalkowski public class EditShortcutDialogFragment extends DialogFragment { static final String ARG_ACTIVITY_INFO = "activityInfo"; static final String TAG = "EditShortcutDialogFragment"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/IconPickerDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/IconPickerDialogFragment.java index 8034b4d6ed346ae8d0010656d38757c4437d527f..2106ebcbabde92f6b3aaf71f859d9043569b6174 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/IconPickerDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/IconPickerDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: ISC AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; @@ -45,6 +30,7 @@ import androidx.fragment.app.DialogFragment; import androidx.fragment.app.FragmentActivity; import io.github.muntashirakon.AppManager.R; +// Copyright 2017 Adam M. Szalkowski public class IconPickerDialogFragment extends DialogFragment { public static final String TAG = "IconPickerDialogFragment"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/LauncherIconCreator.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/LauncherIconCreator.java index 6ba8837fa383908f25511fc70445346df93558ac..c7d59f4a9536fad93b6c43b6830902610d81f9ec 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/LauncherIconCreator.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/LauncherIconCreator.java @@ -1,24 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ - -// This is a modified version of LauncherIconCreator.java taken -// from https://github.com/butzist/ActivityLauncher/commit/dfb7fe271dae9379b5453bbb6e88f30a1adc94a9 -// and was authored by Adam M. Szalkowski with ISC License. -// All derivative works are licensed under GPLv3.0. +// SPDX-License-Identifier: ISC AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; @@ -39,14 +19,15 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder; import io.github.muntashirakon.AppManager.R; +// Copyright 2017 Adam M. Szalkowski public class LauncherIconCreator { /** * Create launcher icon. * - * @param context Activity context - * @param packageItemInfo App package name - * @param name Name/Label of the app - * @param icon App icon + * @param context Activity context + * @param packageItemInfo App package name + * @param name Name/Label of the app + * @param icon App icon */ public static void createLauncherIcon(@NonNull Context context, @NonNull ActivityInfo packageItemInfo, @NonNull String name, @NonNull Drawable icon) { @@ -56,9 +37,9 @@ public class LauncherIconCreator { /** * Create launcher icon. * - * @param context Activity context - * @param name Name/Label of the app - * @param icon App icon + * @param context Activity context + * @param name Name/Label of the app + * @param icon App icon */ public static void createLauncherIcon(@NonNull Context context, @NonNull String name, @NonNull Drawable icon, @NonNull Intent intent) { diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/ManifestViewerActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/ManifestViewerActivity.java index bc771d97ba5edc2157a714b9d73d5e42d559e186..be46cb6bd6eee0a9ac432859a3a1e8ec81c855dd 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/ManifestViewerActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/ManifestViewerActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoFragment.java index 7a7c9665e4fb8243b73b0c8b7752fc501843cfab..0a9625d3ed54388fa39b2da1ea4713008396218e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details.info; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoRecyclerAdapter.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoRecyclerAdapter.java index 363b86c7d7f6dd81b100b12627087c9edac1c6db..c43d037e0447a6c408af51ce85af7823c2f7f9b8 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoRecyclerAdapter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoRecyclerAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details.info; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoViewModel.java index 4ce0c4b36304c3df2f436c909c8f5469e3268b41..f6487739093a587359acdb0bfcd47d8f451df3af 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/AppInfoViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details.info; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/ListItem.java b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/ListItem.java index 8bb296f939d3921cceb4185912df1e0bf4651eb3..f29efc5506fb4a5b6e868f718cc8dd4673428f8e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/details/info/ListItem.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/details/info/ListItem.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.details.info; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/ActivityInterceptor.java b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/ActivityInterceptor.java index 576dc06554a52e529ad1ca5767ccad7e7c0b5483..2cf35ce0497eefe287a95334b91ac910fba11d68 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/ActivityInterceptor.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/ActivityInterceptor.java @@ -1,20 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * Copyright (C) 2012-2014 Intrications - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.intercept; @@ -70,6 +54,7 @@ import io.github.muntashirakon.AppManager.types.IconLoaderThread; import io.github.muntashirakon.AppManager.types.TextInputDropdownDialogBuilder; import io.github.muntashirakon.AppManager.utils.PackageUtils; +// Copyright 2012 Intrications public class ActivityInterceptor extends BaseActivity { public static final String TAG = ActivityInterceptor.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/AddIntentExtraFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/AddIntentExtraFragment.java index e8365b46557702f91031b33bee605abd0f22379b..5acdd5604f815c7bddb39d03d9a4cafb1e60f7ed 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/AddIntentExtraFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/AddIntentExtraFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.intercept; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/HistoryEditText.java b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/HistoryEditText.java index 9b63068dd30afac024e8e5086b9652644bbfa4da..b626c49f4f20a3c2bd98027b50eb9819d1294cd7 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/HistoryEditText.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/HistoryEditText.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.intercept; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/IntentCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/IntentCompat.java index 5aa79e476324750524f896ac53eafde9f413e9b0..4fa53687ddcc23b75639920b8a9c5ac23617903e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/intercept/IntentCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/intercept/IntentCompat.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.intercept; import android.content.ComponentName; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/AMService.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/AMService.java index 533f24db70847871a04ba579a8d63135097013a2..40b1fb7a8c10844eb8c88d5215605b0f0f4baa09 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/AMService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/AMService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/Container.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/Container.java index 71ec88d2d3319a61a11bcdda6100538389a5a074..8e762c0f3102fe3e8ae6fe76be7658cbadf92e13 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/Container.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/Container.java @@ -1,22 +1,8 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.ipc; +// Copyright 2020 John "topjohnwu" Wu class Container<T> { public T obj; } diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/HiddenAPIs.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/HiddenAPIs.java index 0f2695fc7240ccc872a4d8ea5bd7a6019c06465a..876d5f7f3717045f4b96eb160eb672ba2cd0db51 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/HiddenAPIs.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/HiddenAPIs.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.ipc; @@ -29,6 +14,7 @@ import java.lang.reflect.Method; * These methods should only be accessed in the root process, since under normal circumstances * accessing these internal APIs through reflection will be blocked. */ +// Copyright 2020 John "topjohnwu" Wu class HiddenAPIs { // Set this flag to silence AMS's complaints @SuppressWarnings("JavaReflectionMemberAccess") diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCClient.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCClient.java index 06e01fd2dd1201c0dcd269a04b6f44d650f5604b..5bb28f603845dad3c9c00cfe0f78c289b99902a7 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCClient.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCClient.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; @@ -56,6 +41,7 @@ import static io.github.muntashirakon.AppManager.ipc.RootService.serialExecutor; import static io.github.muntashirakon.AppManager.server.common.ServerUtils.CMDLINE_STOP_SERVER; import static io.github.muntashirakon.AppManager.utils.PackageUtils.PACKAGE_STAGING_DIRECTORY; +// Copyright 2020 John "topjohnwu" Wu class IPCClient implements IBinder.DeathRecipient, Closeable { static final String INTENT_DEBUG_KEY = "debug"; static final String INTENT_EXTRA_KEY = "binder_bundle"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCServer.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCServer.java index ae175330d59ea198f2764a5e1c499a21fb0b0843..253a7d8fb75ebb453a77a3a2c783a7be4f948413 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCServer.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCServer.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; @@ -47,6 +32,7 @@ import static io.github.muntashirakon.AppManager.ipc.IPCClient.INTENT_EXTRA_KEY; import static io.github.muntashirakon.AppManager.ipc.RootService.TAG; import static io.github.muntashirakon.AppManager.server.common.ServerUtils.getServiceName; +// Copyright 2020 John "topjohnwu" Wu class IPCServer extends IRootIPC.Stub implements IBinder.DeathRecipient { private final ComponentName mName; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCUtils.java index 1618f4d97d0431581eeca02be288c0c7a02a4c37..4de3c8dba484330bcf54b6ce604c1f84cd95c66a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/IPCUtils.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.ipc; import android.content.ComponentName; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ProxyBinder.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ProxyBinder.java index f106d8a0452a9f933aef63e60229b8a9f436d579..49003acdd9c08d51b01b326501bc55ab22ec0589 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ProxyBinder.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ProxyBinder.java @@ -1,20 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * Copyright (C) 2020 Rikka - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; @@ -35,6 +19,7 @@ import io.github.muntashirakon.AppManager.server.common.IRootIPC; import io.github.muntashirakon.AppManager.servermanager.LocalServer; import io.github.muntashirakon.AppManager.utils.AppPref; +// Copyright 2020 Rikka public class ProxyBinder implements IBinder { public static final int PROXY_BINDER_TRANSACT_CODE = 2; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileImpl.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileImpl.java index 2c8a92e42efc9802fd09db26014c66b20889f52d..2577e17146eef7a1f6bd2e2e4fcd686a27535290 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileImpl.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileReaderImpl.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileReaderImpl.java index 3c67d3c05198680385f93be5a5a2e8811e8bac1e..5f18aeaa983d0cb266c3f261963861cef212056d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileReaderImpl.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileReaderImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileWriterImpl.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileWriterImpl.java index c03a7217bc43bd20e0c48c464213c695165f08f0..60296fadebcada2edeafc5573599ec3f88ebd76c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileWriterImpl.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteFileWriterImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcess.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcess.java index 56c8bda748271a4e8fa67cc09026b321fd19d688..4ab7944ac43e250359e0b88975f5d3a8a263c23f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcess.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcess.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 Rikka - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.ipc; @@ -29,6 +14,7 @@ import java.util.concurrent.TimeUnit; import io.github.muntashirakon.AppManager.IRemoteProcess; +// Copyright 2020 Rikka public class RemoteProcess extends Process implements Parcelable { private final IRemoteProcess mRemote; private OutputStream os; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcessImpl.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcessImpl.java index 6a76a23e738beb99315dd24a0918e21728960374..f2cdaf3e5960a1865d8b6092b3c974742301815c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcessImpl.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteProcessImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 Rikka - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.ipc; @@ -27,6 +12,7 @@ import java.util.concurrent.TimeUnit; import io.github.muntashirakon.AppManager.IRemoteProcess; import io.github.muntashirakon.AppManager.utils.ParcelFileDescriptorUtil; +// Copyright 2020 Rikka class RemoteProcessImpl extends IRemoteProcess.Stub { private final Process process; private ParcelFileDescriptor in; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteShellImpl.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteShellImpl.java index 6860f0b985a41801ddc6f8b0377bbf13822b46bc..48b6d93b50b8eae3b85eaf2dd3e59f44164b335b 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteShellImpl.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RemoteShellImpl.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RootService.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RootService.java index 63b75beb7ba34e4102b88ad5376954238b97c9f2..59cd8f3a928b6ef52a543593e26a7f1254ee81e9 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RootService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/RootService.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; @@ -76,6 +61,7 @@ import io.github.muntashirakon.AppManager.utils.UiThreadHandler; * @see <a href="https://developer.android.com/guide/components/bound-services">Bound services</a> * @see <a href="https://developer.android.com/guide/components/aidl">Android Interface Definition Language (AIDL)</a> */ +// Copyright 2020 John "topjohnwu" Wu public abstract class RootService extends ContextWrapper { static final String TAG = "IPC"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/SerialExecutorService.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/SerialExecutorService.java index 9ab8e816df4e4ca012a988ca3c5dd50e409e6bb7..590ae72097c50ccf69117eb16bfa1fd5301cf6a4 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/SerialExecutorService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/SerialExecutorService.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc; @@ -30,6 +15,7 @@ import java.util.concurrent.TimeoutException; import static com.topjohnwu.superuser.Shell.EXECUTOR; +// Copyright 2020 John "topjohnwu" Wu public class SerialExecutorService extends AbstractExecutorService implements Callable<Void> { private boolean isShutdown = false; private final ArrayDeque<Runnable> mTasks = new ArrayDeque<>(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/package.html b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/package.html index 07de11bdc3cccc9a6b566686382a99db134c491f..6cd1032e1e9a0cf82180d2b35fde3663b533a9a6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/package.html +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/package.html @@ -1,19 +1,4 @@ -<!-- - ~ Copyright (c) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <p> Java classes except IPCUtils and RemoteProcess defined in the package must be executed via IPC. Main app can only access them. diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.java index dce44a35ad012b3d3790fdb36ea790a4e3d9ec6a..dc664072f7bb636dfcf4d3cd4a6cc5d3f155f6c6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessEntry.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc.ps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.java index 8d67cb311587745d7ee962a0047380f55385a6ec..5c0772b23d48ad5a3186a97b3fbd06c7b0bd4a3d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/ProcessUsers.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc.ps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/Ps.java b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/Ps.java index b2cc5597f473b760bbe7ca2359f841c5c1bcda43..c00c88c720966574d5513e59b8486aad3293fc21 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/Ps.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/ipc/ps/Ps.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.ipc.ps; @@ -29,8 +14,6 @@ import java.util.Arrays; /** * This is a generic Java-way of parsing processes from /proc. This is a work in progress and by no means perfect. To * create this class, I extensively followed the documentation located at https://www.kernel.org/doc/Documentation/filesystems/proc.txt. - * - * @author Muntashir Al-Islam */ public class Ps { /** diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/CrazyLoggerService.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/CrazyLoggerService.java index 180f48da00b8570ec2df7df393381c9e915e52b8..007e55647c011d7f93cf33cb1caa0c52857d9b9c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/CrazyLoggerService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/CrazyLoggerService.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -25,6 +10,7 @@ import java.util.Random; import io.github.muntashirakon.AppManager.types.ForegroundService; +// Copyright 2012 Nolan Lawson public class CrazyLoggerService extends ForegroundService { public static final String TAG = CrazyLoggerService.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogFilterAdapter.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogFilterAdapter.java index 23162e63d532f29ccd326059851588743988e54d..1139fe66c3b21322af52000975c0d150345b6ea9 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogFilterAdapter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogFilterAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -34,6 +19,7 @@ import io.github.muntashirakon.AppManager.AppManager; import io.github.muntashirakon.AppManager.R; import io.github.muntashirakon.AppManager.db.entity.LogFilter; +// Copyright 2012 Nolan Lawson public class LogFilterAdapter extends ArrayAdapter<LogFilter> { LayoutInflater layoutInflater; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerActivity.java index 86b4533814f132b5100abbfd02e2a10f3a5a752c..78931f9ccebc90e0553867abcddfc5a16ca64a9b 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -110,6 +95,7 @@ import me.zhanghai.android.fastscroll.FastScrollerBuilder; import static io.github.muntashirakon.AppManager.logcat.LogViewerRecyclerAdapter.ViewHolder.CONTEXT_MENU_COPY_ID; import static io.github.muntashirakon.AppManager.logcat.LogViewerRecyclerAdapter.ViewHolder.CONTEXT_MENU_FILTER_ID; +// Copyright 2012 Nolan Lawson public class LogViewerActivity extends BaseActivity implements FilterListener, LogViewerRecyclerAdapter.ViewHolder.OnClickListener { public static final String TAG = LogViewerActivity.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerRecyclerAdapter.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerRecyclerAdapter.java index 194e652c049baa81996dc5047ce5a71e82e5eca1..0166380ab9c6303f858b0f422dbe07659b2e9a0e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerRecyclerAdapter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogViewerRecyclerAdapter.java @@ -1,20 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (C) 2006 The Android Open Source Project - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -47,6 +31,7 @@ import io.github.muntashirakon.AppManager.logs.Log; import io.github.muntashirakon.AppManager.utils.AppPref; import io.github.muntashirakon.AppManager.utils.UIUtils; +// Copyright 2012 Nolan Lawson public class LogViewerRecyclerAdapter extends RecyclerView.Adapter<LogViewerRecyclerAdapter.ViewHolder> implements Filterable { public static final String TAG = LogViewerRecyclerAdapter.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogcatRecordingService.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogcatRecordingService.java index 7d828e8152435dce72f7d545c296c27f8606347d..7df04b53fed8dbc06421c37e12c933133eae119e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogcatRecordingService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/LogcatRecordingService.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -49,9 +34,8 @@ import io.github.muntashirakon.AppManager.utils.NotificationUtils; /** * Reads logs. - * - * @author nolan */ +// Copyright 2012 Nolan Lawson public class LogcatRecordingService extends ForegroundService { public static final String TAG = LogcatRecordingService.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogActivity.java index ec5d5a8a343a12f9dae73b76f0f2afb2ffd90829..eb4368ff0065322dc2b333b011f6af9d1d3c8e49 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -21,6 +6,7 @@ import android.os.Bundle; import io.github.muntashirakon.AppManager.BaseActivity; +// Copyright 2012 Nolan Lawson public class RecordLogDialogActivity extends BaseActivity { public static final String EXTRA_QUERY_SUGGESTIONS = "suggestions"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogFragment.java index 550ee005822b7ef5823d8d2624cca5dd4a5f3800..629d30ba7840c2883ecaa0d4f8c14b2d6f71d697 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordLogDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -40,6 +25,7 @@ import io.github.muntashirakon.AppManager.types.TextInputDialogBuilder; import io.github.muntashirakon.AppManager.types.TextInputDropdownDialogBuilder; import io.github.muntashirakon.AppManager.utils.AppPref; +// Copyright 2012 Nolan Lawson public class RecordLogDialogFragment extends DialogFragment { public static final String TAG = "RecordLogDialogFragment"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordingWidgetProvider.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordingWidgetProvider.java index 68f1cc249b009f444ab8ef3980a1dd4cd760cecf..e569de84e80a35d2b142c1234e35a26e80c6aec5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordingWidgetProvider.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/RecordingWidgetProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat; @@ -33,6 +18,7 @@ import java.util.Arrays; import io.github.muntashirakon.AppManager.BuildConfig; import io.github.muntashirakon.AppManager.logs.Log; +// Copyright 2012 Nolan Lawson public class RecordingWidgetProvider extends AppWidgetProvider { public static final String TAG = RecordingWidgetProvider.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/BuildHelper.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/BuildHelper.java index b0381fe4d6fff242cf6a408a5d4bff3d5d610ea5..5167d22dc1057dacd4b06a6b1043678164ceb33d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/BuildHelper.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/BuildHelper.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.helper; @@ -29,6 +14,7 @@ import java.util.Map.Entry; import java.util.SortedMap; import java.util.TreeMap; +// Copyright 2012 Nolan Lawson public class BuildHelper { // From android.os.Build private static final List<String> BUILD_FIELDS = Arrays.asList( diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/LogcatHelper.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/LogcatHelper.java index a312b915861a1340b55d5108da870f6aeeb2190b..641a4c00af85c2243c282127908c467d19865fef 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/LogcatHelper.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/LogcatHelper.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.helper; @@ -31,6 +16,7 @@ import java.util.List; import io.github.muntashirakon.AppManager.logs.Log; import io.github.muntashirakon.AppManager.servermanager.ProcessCompat; +// Copyright 2012 Nolan Lawson public class LogcatHelper { public static final String TAG = LogcatHelper.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/PreferenceHelper.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/PreferenceHelper.java index 7b581c4216e6024a0887d4634ccb1c5b817fd062..4e040a5f2da1d9d301b03eddaa7f4680b37691f0 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/PreferenceHelper.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/PreferenceHelper.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.helper; @@ -30,6 +15,7 @@ import java.util.List; import io.github.muntashirakon.AppManager.R; import io.github.muntashirakon.AppManager.utils.AppPref; +// Copyright 2012 Nolan Lawson public class PreferenceHelper { private static final String WIDGET_EXISTS_PREFIX = "widget_"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/SaveLogHelper.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/SaveLogHelper.java index 071d9b763593767d49290e9fbcaccc3f4d21816b..3fa2177ea611dd2d9a3b540d1245bdb79a254bb8 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/SaveLogHelper.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/SaveLogHelper.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.helper; @@ -58,6 +43,7 @@ import io.github.muntashirakon.io.ProxyFile; import io.github.muntashirakon.io.ProxyInputStream; import io.github.muntashirakon.io.ProxyOutputStream; +// Copyright 2012 Nolan Lawson public class SaveLogHelper { public static final String TAG = SaveLogHelper.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/ServiceHelper.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/ServiceHelper.java index 9082ceebec8b12362a2ab1bc8e1a86ab7386b465..fa7c903fc8a0bbc05e81259d6a1507b79deace4b 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/ServiceHelper.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/ServiceHelper.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.helper; @@ -29,6 +14,7 @@ import io.github.muntashirakon.AppManager.logcat.LogcatRecordingService; import io.github.muntashirakon.AppManager.logcat.reader.LogcatReaderLoader; import io.github.muntashirakon.AppManager.logs.Log; +// Copyright 2012 Nolan Lawson public class ServiceHelper { public static final String TAG = ServiceHelper.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/WidgetHelper.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/WidgetHelper.java index 5a4b5c7c3927180e64a5fda0374747f798574171..740f85a0c6fbb2c6f46f19c1c11898e5b3779104 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/WidgetHelper.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/helper/WidgetHelper.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.helper; @@ -34,6 +19,7 @@ import io.github.muntashirakon.AppManager.logcat.RecordingWidgetProvider; import io.github.muntashirakon.AppManager.R; import io.github.muntashirakon.AppManager.logs.Log; +// Copyright 2012 Nolan Lawson public class WidgetHelper { public static void updateWidgets(Context context) { int[] appWidgetIds = findAppWidgetIds(context); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/AbsLogcatReader.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/AbsLogcatReader.java index d6619781e07d0c17d0eba98489b9cc2c096998f5..a3c272477388e89e7c73feb91f89f34da2b36604 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/AbsLogcatReader.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/AbsLogcatReader.java @@ -1,23 +1,9 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.reader; +// Copyright 2012 Nolan Lawson public abstract class AbsLogcatReader implements LogcatReader { protected boolean recordingMode; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReader.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReader.java index ce032f96ba26d118a26b5e7fa4aa3f89583fd32b..6f2bbddaef7b4a9e92050c9e0a130435a7a4f763 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReader.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReader.java @@ -1,25 +1,11 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.reader; import java.io.IOException; import java.util.List; +// Copyright 2012 Nolan Lawson public interface LogcatReader { /** * Read a single log line, ala {@link java.io.BufferedReader#readLine()}. diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReaderLoader.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReaderLoader.java index 4c98c9f28f6e53e1b8910d34246f52f957d86394..cfa3eeafefb6d54d920c04e26d3885d6111ddac2 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReaderLoader.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/LogcatReaderLoader.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.reader; @@ -31,6 +16,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +// Copyright 2012 Nolan Lawson public class LogcatReaderLoader implements Parcelable { private final Map<Integer, String> lastLines; private final boolean recordingMode; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/MultipleLogcatReader.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/MultipleLogcatReader.java index 62f31462297b742dc9246d6798b865ec48d6dc4e..311b3bf3307f5fb03b7a7c6e0a6054bb61fd1d90 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/MultipleLogcatReader.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/MultipleLogcatReader.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.reader; @@ -31,9 +16,8 @@ import io.github.muntashirakon.AppManager.logs.Log; /** * Combines multiple buffered readers into a single reader that merges all input synchronously. - * - * @author nolan */ +// Copyright 2012 Nolan Lawson public class MultipleLogcatReader extends AbsLogcatReader { public static final String TAG = MultipleLogcatReader.class.getSimpleName(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/ScrubberUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/ScrubberUtils.java index dba16d848f8d217ad35deefc30eecb1098350bb9..2254d4eba47a08a05978373dfb176ddf1bb864fb 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/ScrubberUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/ScrubberUtils.java @@ -1,25 +1,10 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * Copyright (C) 2014 The CyanogenMod Project - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.reader; import java.util.regex.Pattern; +// Copyright 2014 CyanogenMod Project public class ScrubberUtils { private static final Pattern EMAIL_PATTERN = Pattern.compile("[a-zA-Z0-9_]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*(@|%40)(?!([a-zA-Z0-9]*\\.[a-zA-Z0-9]*\\.[a-zA-Z0-9]*\\.))(?:[A-Za-z0-9](?:[a-zA-Z0-9-]*[A-Za-z0-9])?\\.)+[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?"); private static final Pattern PHONE_NUMBER_PATTERN = Pattern.compile("^(?:(?:\\+?1\\s*(?:[.-]\\s*)?)?(?:\\(\\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\\s*\\)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\\s*(?:[.-]\\s*)?)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\\s*(?:[.-]\\s*)?([0-9]{4})(?:\\s*(?:#|x\\.?|ext\\.?|extension)\\s*(\\d+))?$"); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/SingleLogcatReader.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/SingleLogcatReader.java index e8d8bd4077a5706fa6904a584efb0aa79766921a..fc4697f751cb36ab75753c8ed4125fc2949902d1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/SingleLogcatReader.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/reader/SingleLogcatReader.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.reader; @@ -29,6 +14,7 @@ import java.util.List; import io.github.muntashirakon.AppManager.logs.Log; +// Copyright 2012 Nolan Lawson public class SingleLogcatReader extends AbsLogcatReader { private final Process logcatProcess; private final BufferedReader bufferedReader; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/LogLine.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/LogLine.java index e59b5dc6ed16ce67aeef185c40dc2f01098ea646..c3d8b5e8e3fa1d7936fd7265f4c29f50aa17d79e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/LogLine.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/LogLine.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.struct; @@ -26,6 +11,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; +// Copyright 2012 Nolan Lawson public class LogLine { public static final int LOG_FATAL = 15; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SavedLog.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SavedLog.java index 4e0c4fc36a9be9236447b2f31cb685a7384dab8c..e09b422d126cb00ac9f0ae78a612e542120da577 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SavedLog.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SavedLog.java @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.struct; import java.util.List; +// Copyright 2012 Nolan Lawson public class SavedLog { private final List<String> logLines; private final boolean truncated; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SearchCriteria.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SearchCriteria.java index d2c3e856ec9988dc6163b041ed227946070507f6..3e0b3ae3f240b2b91e35536eb6f02d796c7dc90d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SearchCriteria.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SearchCriteria.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.struct; @@ -26,6 +11,7 @@ import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; +// Copyright 2012 Nolan Lawson public class SearchCriteria { public static final String PID_KEYWORD = "pid:"; public static final String TAG_KEYWORD = "tag:"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SendLogDetails.java b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SendLogDetails.java index 039e9b0fb014044921a963d6fb5ec348dbe47bbf..ec328bd8d8cf56fd481b69b8b46dc89f8874d35a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SendLogDetails.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logcat/struct/SendLogDetails.java @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.logcat.struct; import java.io.File; +// Copyright 2012 Nolan Lawson public class SendLogDetails { private String subject; private String body; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/logs/Log.java b/app/src/main/java/io/github/muntashirakon/AppManager/logs/Log.java index dcfe8bbc436a4b81f61ff1b9be3b1c9f02173b08..cd39f2c626f9fb4809cf173d4576f873937e1160 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/logs/Log.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/logs/Log.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.logs; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/main/ApplicationItem.java b/app/src/main/java/io/github/muntashirakon/AppManager/main/ApplicationItem.java index e7a55505d14e4ef18b354f89f7450779ed3e4964..e543c81d02d868900e3c224ef37adb8981391f9a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/main/ApplicationItem.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/main/ApplicationItem.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.main; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/main/ListOptions.java b/app/src/main/java/io/github/muntashirakon/AppManager/main/ListOptions.java index 53a8f65c82d81a61b177ec7f282233ba75632f7c..f6a1b12afcbae857f6b220e391c361a6b8734f2d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/main/ListOptions.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/main/ListOptions.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.main; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/main/MainActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/main/MainActivity.java index 69a349a539fa1661d57537059730d1cb236db059..40debee2d521d73d86bf951897be377ea1ae99c0 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/main/MainActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/main/MainActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.main; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/main/MainRecyclerAdapter.java b/app/src/main/java/io/github/muntashirakon/AppManager/main/MainRecyclerAdapter.java index 58f0bbd48f67c93f2767304d8cfb7da013aceb03..fccd4856dd6a77a960088a566e612fbb0ddf343c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/main/MainRecyclerAdapter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/main/MainRecyclerAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.main; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/main/MainViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/main/MainViewModel.java index 9d902919a1f76c7e640b5094589ffba668dce222..87b8d660805cb20e9e7e94f649d8edeef4860ab4 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/main/MainViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/main/MainViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.main; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/misc/AMExceptionHandler.java b/app/src/main/java/io/github/muntashirakon/AppManager/misc/AMExceptionHandler.java index 5cb8c4876577b8bb56eb97e30531547ca862df7c..45268f3e526a516ca59860c97f7ac35eb0b9bf0e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/misc/AMExceptionHandler.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/misc/AMExceptionHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.misc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/misc/AlertDialogActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/misc/AlertDialogActivity.java index f1e7a54af1a2e1cb05b132d948556db98b9a0e4e..e7cf8f9be787ddbc5a26ba655f04cb0f7208baa0 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/misc/AlertDialogActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/misc/AlertDialogActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.misc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/misc/DeviceInfo.java b/app/src/main/java/io/github/muntashirakon/AppManager/misc/DeviceInfo.java index cdd038036663779fa882f985e7592dffad687501..a259626f753e652cf8d3c6085e3d67f567f556f4 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/misc/DeviceInfo.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/misc/DeviceInfo.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.misc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/misc/HelpActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/misc/HelpActivity.java index 8bb9bee8ac4cf3316fda40e657400444e0be6ddf..65675f69fc5b6ba207b0459fbf42f4194483bbb1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/misc/HelpActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/misc/HelpActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.misc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/misc/OsEnvironment.java b/app/src/main/java/io/github/muntashirakon/AppManager/misc/OsEnvironment.java index db10da7e518ba14c5f6c410defd9bc74c5e5982d..5d07839c4a2ef752c0b4eea43ea552b11cacdc35 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/misc/OsEnvironment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/misc/OsEnvironment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.misc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/misc/SystemProperties.java b/app/src/main/java/io/github/muntashirakon/AppManager/misc/SystemProperties.java index c74d165a8ecc07bb718fd17ce7b0aabfcf90064a..4b7aaa2b8c0e61b09266e2b9f32945efb8aa1e52 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/misc/SystemProperties.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/misc/SystemProperties.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.misc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/misc/VMRuntime.java b/app/src/main/java/io/github/muntashirakon/AppManager/misc/VMRuntime.java index ce2b80df2d08c881d3b5785f866ea5d43dc6ee4c..7951c749cea82227cb652b1a9f3ed9ee82077e51 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/misc/VMRuntime.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/misc/VMRuntime.java @@ -1,18 +1,4 @@ -/* - * Copyright 2015 Google, Inc. - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.misc; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/AppOpCount.java b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/AppOpCount.java index 1e73297eb933319f8d8ab5b6ed217c3deefcc58b..801a588f7eda0263be28cdff2f1cbdab342e1007 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/AppOpCount.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/AppOpCount.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.oneclickops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/BackupTasksDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/BackupTasksDialogFragment.java index a5d067695a96a68dc4222b0896e626b6db18a7bf..f3eeb948f1fe24800cef54ed8c31a7df920939a2 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/BackupTasksDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/BackupTasksDialogFragment.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.oneclickops; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/ItemCount.java b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/ItemCount.java index c29258361c3e387957588cd3379e87659e60f532..9e59a34fdf1dde631093077463efe4d935728b03 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/ItemCount.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/ItemCount.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.oneclickops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/OneClickOpsActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/OneClickOpsActivity.java index 958165086cf82ba8f5361baf1f878f3bf5a56e6f..bb5a4e0f14421d47a08fbd4d22bdb1dd471d6684 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/OneClickOpsActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/OneClickOpsActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.oneclickops; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/RestoreTasksDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/RestoreTasksDialogFragment.java index 8b487808468c6ee303dc2603f7f84ae2c8450a64..decc7f52361d2e10a2a6c392e44f09ca098222b3 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/RestoreTasksDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/oneclickops/RestoreTasksDialogFragment.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.oneclickops; import android.annotation.SuppressLint; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsFragment.java index a8e4924ee19651e390cd57b0759f4912b59359cb..293d54f18098faf0037eb822c4d4f67b77f99672 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsProfileActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsProfileActivity.java index 1473adb3780a42d5ec21854c57e8584f1202e595..c2699dc9c311a3b21b989984a8d0982bcdba5a8e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsProfileActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/AppsProfileActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfFragment.java index db98dfd0eb74886f01fec016d808a0c4e2b9cb1e..94eccab12e318e848b896d14f9ced304bb56ef9f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfPreferences.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfPreferences.java index 28c0959a29cc5fb9593a5e6d38d9f5511993e47e..5d46a0f13d5afd811cab398ff6c70a5e792c12e1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfPreferences.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ConfPreferences.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileApplierService.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileApplierService.java index f9d96f68966402b0a2c7e29afc74db7b2c0a58b6..255d67a114e9fe7e4b539d39ace4c1b774384c41 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileApplierService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileApplierService.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileManager.java index 24c8bee64ff19603ee7dd1b6e6a165e012b80ed1..aca3203a1796b33d7ae6d5572a3b7a20f4f5a1f5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileMetaManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileMetaManager.java index d8ee84e03f22d79f3668d11a310d9219bed4c89d..b918ba62b4c58dcb8c865f91268c87cc9904566f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileMetaManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileMetaManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileViewModel.java index c8bc008e601f22377cb220d487a2b0fa5ee17264..ba69341924dcc218dafcc0948632307e7b150d48 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfileViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesActivity.java index d2228087704fd420554e58fcdb022abb6f41697c..8c54abc66a0e33b2d1928a4f053aac46fc0db996 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesViewModel.java index b9a9868468aeba6e17f275aa29ff856c803ac370..9d0faa90b685688785a84cc5f7433f0d05350610 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/profiles/ProfilesViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.profiles; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/PseudoRules.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/PseudoRules.java index 5aa2bc6ec8cd02125c905624dcbfe8d1be2aa1b2..c287bce2fb829032c8149f01221a808f6a629317 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/PseudoRules.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/PseudoRules.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.rules; import android.content.Context; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesExporter.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesExporter.java index 516217a79da26681b5625687148f4a3c00c7ab4d..c00014089e50edccf5b085b6ce32d977104fe3ea 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesExporter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesExporter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.rules; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesImporter.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesImporter.java index cc0a0fa1b9a4016354b3b73cc0bacb679c68b0e2..5018f5d54ea9feec36f74c63746ca4da677a0718 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesImporter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesImporter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.rules; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesStorageManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesStorageManager.java index dfff7ed55578e0b59ad2dc6b9d16d1f9bbb35a13..3a267b337d73d1830b2ea67ea6961493960f8705 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesStorageManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesStorageManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.rules; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesTypeSelectionDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesTypeSelectionDialogFragment.java index fa0000065abb1bb01fb78f12e229acc00d3717a9..0b3fd5babaf4a990d114362a448d4443975a835e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesTypeSelectionDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/RulesTypeSelectionDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.rules; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentUtils.java index b796f393173507cdb135b467b56d7fef56fe2469..a8586881ba2548a3db22b359e85baf70e94e0002 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.rules.compontents; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentsBlocker.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentsBlocker.java index 85a5ffc9da539761aaf68d2d8ef2f49f70585add..e2910ebf56193ed12ee116bc6e938db98ee07542 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentsBlocker.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ComponentsBlocker.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.rules.compontents; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ExternalComponentsImporter.java b/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ExternalComponentsImporter.java index 580155753daddb215179d5573a722efb582479ee..7803ab28389ae5e6ddcbf893b68f56b1311ea601 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ExternalComponentsImporter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/rules/compontents/ExternalComponentsImporter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.rules.compontents; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runner/AdbShellRunner.java b/app/src/main/java/io/github/muntashirakon/AppManager/runner/AdbShellRunner.java index d12ba32c969e1c1b04bce5c637d47d3e0878094a..9a1856918f2c886bc649706c57f6c2cebfeb1ba6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runner/AdbShellRunner.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runner/AdbShellRunner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runner; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runner/RootShellRunner.java b/app/src/main/java/io/github/muntashirakon/AppManager/runner/RootShellRunner.java index ed5e0b91eec8e411c7b78089ea62d6b4e01cb447..6be91b9dad71b9a4e2be4df67caa2da8c11a4942 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runner/RootShellRunner.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runner/RootShellRunner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runner; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runner/Runner.java b/app/src/main/java/io/github/muntashirakon/AppManager/runner/Runner.java index 0e579f889f1341e199edc79931e99918dbf6967c..3acaee5b99a5f7268135f486011412ba7f76497f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runner/Runner.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runner/Runner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runner; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runner/RunnerUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/runner/RunnerUtils.java index dd2b8bc8c0ffbe756a29957302a7ec6c194a59fb..7bc4a7da476a6e5cef9c03fb982c523fbe58b1f1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runner/RunnerUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runner/RunnerUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runner; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runner/UserShellRunner.java b/app/src/main/java/io/github/muntashirakon/AppManager/runner/UserShellRunner.java index bbb7ec2e7db59a6f2cad1e357ea9d6589ff28975..3f6326916d9481cfdf9908f3719bb43c73f230f6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runner/UserShellRunner.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runner/UserShellRunner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runner; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/AppProcessItem.java b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/AppProcessItem.java index 818517531cf9c19ffa8f74649dedef1b49c19026..f1cadb2e621c1ff56d5b12e737e3727ca7feb021 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/AppProcessItem.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/AppProcessItem.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runningapps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessItem.java b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessItem.java index ed68a64a284b7eaa936f77a8664b960c946db794..b27697905071bf473bfeaca3cc3753120c5b15b1 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessItem.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessItem.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runningapps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessParser.java b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessParser.java index 6fe718a6ecb257b9cc3175e045626d511db33723..9eae5c00293c668a47562a7b7459d9980a799105 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessParser.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/ProcessParser.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runningapps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsActivity.java index 1f0c590cfb2c3222181b453d7bd991618229b4b2..219f2ca2e46f18e72aac6d47a7e8451665eefee5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runningapps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsAdapter.java b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsAdapter.java index 0e715ee851736ea1f371351e1fa194b60405f064..ab7c129acc3e833a91f42e4d995123cbe9c9b7c4 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsAdapter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runningapps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsViewModel.java index a1d5cf09a8a90da7c6a1b5b660512753639f855a..2fb1f8ffdba59328b03a845817d6dec0cab8351f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/runningapps/RunningAppsViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runningapps; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassListingActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassListingActivity.java index 294b8d1cd7209b044d57a244c1d67e02f636be29..e894e579d88a54d15cbab201920a3a6a50706c24 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassListingActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassListingActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.scanner; @@ -39,6 +24,7 @@ import java.util.Collections; import java.util.List; import java.util.Locale; +// Copyright 2015 Google, Inc. public class ClassListingActivity extends BaseActivity implements SearchView.OnQueryTextListener { public static final String EXTRA_APP_NAME = "EXTRA_APP_NAME"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassViewerActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassViewerActivity.java index 2fac44ec336dbd253a1e6ecdcd57df8122c77132..75fb1d390abfdb5e875b71496334e60e10350f2e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassViewerActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ClassViewerActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.scanner; @@ -44,6 +29,7 @@ import androidx.core.content.ContextCompat; import io.github.muntashirakon.AppManager.BaseActivity; import io.github.muntashirakon.AppManager.R; +// Copyright 2015 Google, Inc. public class ClassViewerActivity extends BaseActivity { public static final String EXTRA_APP_NAME = "app_name"; public static final String EXTRA_CLASS_NAME = "class_name"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/DexClasses.java b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/DexClasses.java index ee517bc6221b0290a906c4d1c0b31a8a990e5bd4..7c55166dd72dfdb71b9ab4fcbcd6b2aafe48900f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/DexClasses.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/DexClasses.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.scanner; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerActivity.java index d34e374b9a9e7bc94adc935aba2e98a30ecee3b5..a27aa8fc7a23823ad09b97997fd9d587aaa7e934 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.scanner; @@ -80,6 +65,7 @@ import io.github.muntashirakon.AppManager.utils.UIUtils; import static io.github.muntashirakon.AppManager.utils.UIUtils.getPrimaryText; import static io.github.muntashirakon.AppManager.utils.UIUtils.getSmallerText; +// Copyright 2015 Google, Inc. public class ScannerActivity extends BaseActivity { public static final String EXTRA_IS_EXTERNAL = "is_external"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerViewModel.java b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerViewModel.java index 4233bc8a3b0e2116438743f8f2ad9a997931a17a..92080f36662e09770cc7dad26aa7efeb511aceaf 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerViewModel.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/ScannerViewModel.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.scanner; @@ -22,6 +7,7 @@ import android.app.Application; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; + public class ScannerViewModel extends AndroidViewModel { public ScannerViewModel(@NonNull Application application) { diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/ClassTypeAlgorithm.java b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/ClassTypeAlgorithm.java index e73e5feebc8b1bba7943b89989b63f1211f00b66..0035fd53b174ceb2c95a766a2a1247e4f12f2bc2 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/ClassTypeAlgorithm.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/ClassTypeAlgorithm.java @@ -1,18 +1,4 @@ -/* - * Copyright 2015 Google, Inc. - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.scanner.reflector; @@ -20,6 +6,7 @@ import java.util.Hashtable; import androidx.annotation.NonNull; +// Copyright 2015 Google, Inc. class ClassTypeAlgorithm { private ClassTypeAlgorithm() {} diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/Reflector.java b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/Reflector.java index 7ee4903e282ae934c01f9c0f8c5882152a045a5f..0e680bebbc46f348c726802c7d7cfb892f3ca608 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/Reflector.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/scanner/reflector/Reflector.java @@ -1,18 +1,4 @@ -/* - * Copyright 2015 Google, Inc. - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.scanner.reflector; @@ -29,6 +15,7 @@ import java.util.Set; import androidx.annotation.NonNull; +// Copyright 2015 Google, Inc. @SuppressWarnings("rawtypes") public class Reflector { private final Class clazz; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ActivityManagerCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ActivityManagerCompat.java index 59802311b85697c088b02a7cb560de1350c98c40..2aac4843ebc92e1acba84ec6e8dce8495574f46d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ActivityManagerCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ActivityManagerCompat.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.servermanager; import android.annotation.UserIdInt; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApiSupporter.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApiSupporter.java index 2443f256b53b5b162eb420dc2faa338d041ffc80..268970df8985e69cfcf00f4bf1e618496b867789 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApiSupporter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApiSupporter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; @@ -21,6 +6,7 @@ import io.github.muntashirakon.AppManager.server.common.CallerResult; import io.github.muntashirakon.AppManager.server.common.Shell; import io.github.muntashirakon.AppManager.server.common.ShellCaller; +// Copyright 2018 Zheng Li public final class ApiSupporter { private ApiSupporter() { diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AppOpsConfigProvider.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AppOpsConfigProvider.java index cc9d756ae89ab85d27f44f6b139abb0442771646..df94b3b7743ee231a1c4a4a4a4ce70bef2d886e6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AppOpsConfigProvider.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AppOpsConfigProvider.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT package io.github.muntashirakon.AppManager.servermanager; @@ -31,6 +16,7 @@ import io.github.muntashirakon.AppManager.BuildConfig; import io.github.muntashirakon.AppManager.users.Users; import io.github.muntashirakon.AppManager.utils.ContextUtils; +// Copyright 2017 Zheng Li public class AppOpsConfigProvider extends ContentProvider { private static final UriMatcher uriMatcher; private static final String AUTHORITY = BuildConfig.APPLICATION_ID + ".provider.local"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApplicationInfoCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApplicationInfoCompat.java index 009d0550b79cd63a9e55ae45590880038dd122d8..24f003fe723a875b334004c9dc12001d659b4936 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApplicationInfoCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ApplicationInfoCompat.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AssetsUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AssetsUtils.java index 6d43f19dc73f161d1701a58d3efc354c9445d50a..4cbd043a6e90a1b592a5b5d239a4acc9f35170f0 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AssetsUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/AssetsUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; @@ -37,6 +22,7 @@ import io.github.muntashirakon.AppManager.server.common.Constants; import io.github.muntashirakon.AppManager.utils.IOUtils; import io.github.muntashirakon.AppManager.utils.Utils; +// Copyright 2016 Zheng Li @SuppressWarnings("ResultOfMethodCallIgnored") class AssetsUtils { public static void copyFile(@NonNull Context context, String fileName, File destFile, boolean force) { diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServer.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServer.java index a13c6606dc9f50bc1f8ff57ddebc2705b6edd629..a683cf53b1c382e22e9b25d151203d02c82567f5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServer.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; @@ -39,6 +24,7 @@ import java.io.IOException; import java.net.ServerSocket; import java.net.SocketTimeoutException; +// Copyright 2016 Zheng Li public class LocalServer { @GuardedBy("lockObject") private static final Object lockObject = new Object(); diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServerManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServerManager.java index 69eb43c0e166a3f11b6f0f01952f64cff8884ae2..ae2ea64b96e9095a45b2cc4edcf1a862f022da99 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServerManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/LocalServerManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; @@ -42,6 +27,7 @@ import io.github.muntashirakon.AppManager.server.common.DataTransmission; import io.github.muntashirakon.AppManager.server.common.ParcelableUtil; import io.github.muntashirakon.AppManager.utils.AppPref; +// Copyright 2016 Zheng Li class LocalServerManager { private static final String TAG = "LocalServerManager"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/NetworkPolicyManagerCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/NetworkPolicyManagerCompat.java index cadee123a361f5a68c2daf2fdb40caee7ff0c1d4..d20cbd803508454484dbd9f35d15e327bf60d15d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/NetworkPolicyManagerCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/NetworkPolicyManagerCompat.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.servermanager; import android.content.Context; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PackageManagerCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PackageManagerCompat.java index eeee4840acb1fe91fd62863fc60c9d8e06af68e7..5dfd79a4046586835306abeabe725f7db5dc0aaf 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PackageManagerCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PackageManagerCompat.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PermissionCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PermissionCompat.java index 44855bac84e05e8c6d9a1da3448fbea36c0afe83..e8d1a969d4870fe884c539675594d4ed0555a4a3 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PermissionCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/PermissionCompat.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ProcessCompat.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ProcessCompat.java index d1b540e58834e5a5043980ea3eeb1f4a8fbdfaa8..981671d60f1411e0730bc5fdd50bdffec1382cef 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ProcessCompat.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ProcessCompat.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.servermanager; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerConfig.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerConfig.java index bf90255008b0191066efd71a9f68265db7683831..980f2726e0f4c8fd6f21a25b25e65c4037769b4c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerConfig.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerConfig.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later + package io.github.muntashirakon.AppManager.servermanager; import android.content.Context; @@ -13,6 +15,7 @@ import java.net.Inet4Address; import io.github.muntashirakon.AppManager.AppManager; import io.github.muntashirakon.AppManager.utils.IOUtils; +// Copyright 2016 Zheng Li public class ServerConfig { public static final int DEFAULT_ADB_PORT = 5555; static String SOCKET_PATH = "am_socket"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerStatusChangeReceiver.java b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerStatusChangeReceiver.java index 6f76bcbf937de894b8b9400d86f696cc0a6a7170..bd980fb4248ed6fc31f2d2bf0859e20c469c3af4 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerStatusChangeReceiver.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/servermanager/ServerStatusChangeReceiver.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + package io.github.muntashirakon.AppManager.servermanager; import android.content.BroadcastReceiver; @@ -8,6 +10,7 @@ import androidx.annotation.NonNull; import io.github.muntashirakon.AppManager.logs.Log; import io.github.muntashirakon.AppManager.server.common.Actions; +// Copyright 2016 Zheng Li public class ServerStatusChangeReceiver extends BroadcastReceiver { private static final String TAG = "ServerStatusChangeRecei"; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/ApkSigningPreferences.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/ApkSigningPreferences.java index 9ec8786ad54d0f606eace26421bde9aaddd5ff7e..079530099c2d2d58902b5b7f166b6144e64320af 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/ApkSigningPreferences.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/ApkSigningPreferences.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/BackupRestorePreferences.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/BackupRestorePreferences.java index 88da8123445b77faf075ee7efe50bdcbac44a4ea..afd26d1e93b9b512e22afd3fcbba5934460d5390 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/BackupRestorePreferences.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/BackupRestorePreferences.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/FeatureController.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/FeatureController.java index 870e801eb3dbb7fca1eb2aba66a847f2b5469364..be0557fffaeebbec4e10b1172659c840a5fa544c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/FeatureController.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/FeatureController.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/ImportExportRulesDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/ImportExportRulesDialogFragment.java index bddd3e486f2f4c4aecb7267eb9463b2200cc187c..80a308340664482fe912624b2dc562609685d88a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/ImportExportRulesDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/ImportExportRulesDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/InstallerPreferences.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/InstallerPreferences.java index 587da2534cf7ff11c290ff57e4eea343d74de091..817fea0fd29ae180480f12201703fa48b714d706 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/InstallerPreferences.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/InstallerPreferences.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/LogViewerPreferences.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/LogViewerPreferences.java index fc6a16e380e353ddb5f2f15a5492589eb7f9adf6..47a96dab35c60291527e56c0c4499cbe1b050fc8 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/LogViewerPreferences.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/LogViewerPreferences.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/MainPreferences.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/MainPreferences.java index 11a7a4ad678395cb088fd36a07d3946dec15613a..2e5a748cfd94697c2ec64431ffba73f89bf6fec5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/MainPreferences.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/MainPreferences.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/RulesPreferences.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/RulesPreferences.java index 1214fccc787ffaaba3cf06c49d15b9427d172975..56f8e3bc30065181fbe04d274b6717d13942a6ab 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/RulesPreferences.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/RulesPreferences.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsActivity.java index c8e09891a8d42c03ca068bbadb07ef54aadb58e0..d224b14b73d76fb7ffb7c45dcd7c05c845185b05 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsDataStore.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsDataStore.java index ce8c06f80b5beeeca5256ee9932026567237aea7..56df2944abb46dd609d55b55245f3022c1985883 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsDataStore.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/SettingsDataStore.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/AESCryptoSelectionDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/AESCryptoSelectionDialogFragment.java index f09fd6feafc916bbf76c16c754972b7ea91e5248..b2af181c2a73713e9e7205af44062bd5437db867 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/AESCryptoSelectionDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/AESCryptoSelectionDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/ImportExportKeyStoreDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/ImportExportKeyStoreDialogFragment.java index de6b4a6ae8f1b7b33a2d1d0149a4897ded9439a0..38258717d751918e491a470a6775d3878f9f51dd 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/ImportExportKeyStoreDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/ImportExportKeyStoreDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairGeneratorDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairGeneratorDialogFragment.java index ba0b8ffae1c57faceebfc701787e2065d3f68749..465dbb8daed68c416aa00d7af1890929c1645ece 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairGeneratorDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairGeneratorDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairImporterDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairImporterDialogFragment.java index 0fbb0bbfb7d507f85a04d41a8ded319092133d17..e00b136de245f1af9a3d2c124729820e97a78120 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairImporterDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/KeyPairImporterDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/OpenPgpKeySelectionDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/OpenPgpKeySelectionDialogFragment.java index 9cdfaeaf7cc2e9db1afbd1e02ce40b90c20ced20..1630a39aa3838dfd33b13f90ed811a164ec6d076 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/OpenPgpKeySelectionDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/OpenPgpKeySelectionDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/RSACryptoSelectionDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/RSACryptoSelectionDialogFragment.java index cd1bb1b5baa2071a31193a74b2de1bb6b85043f4..cbf71c355de7229bcd596ccb1480544da7e0122d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/RSACryptoSelectionDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/settings/crypto/RSACryptoSelectionDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.settings.crypto; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/EditPrefItemFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/EditPrefItemFragment.java index 8b862cd400a084703e902f94c25e62e09e23c5d5..44188a5b29b12c3ed5ed8cf845e14daefe66cece 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/EditPrefItemFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/EditPrefItemFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.sharedpref; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/SharedPrefsActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/SharedPrefsActivity.java index c5bd71557f07bcc3a909dff4f1f6c8a05f2f4d28..0d3819268e75b453c949a842efaf77405adf3db0 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/SharedPrefsActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/sharedpref/SharedPrefsActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.sharedpref; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigActivity.java index 6740d5ccc093f27f254a93e76c6c9a2bb3a9e380..2be28b0913fc1382dc0312af787ca35ede7125a4 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.sysconfig; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigInfo.java b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigInfo.java index 6a7d73e3a4f78672017b6fd5f5609c209350a643..072facf3430cd4908f5e1b4628dd10c2fdfdaa6a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigInfo.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigInfo.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.sysconfig; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigType.java b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigType.java index 42917c688dc6cf84356fd9f32c8aa70c14fe8ff7..35813c41232af59f5c5b5438b977af1544e947a9 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigType.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigType.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.sysconfig; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigWrapper.java b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigWrapper.java index d829dd716242052845b173091ffbfcd7dd05636b..66572ba1597c414ef4e260fb103fca69fa10d6b2 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigWrapper.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SysConfigWrapper.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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: break; either version 3 of the License: break; or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful: break; - * 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 this program. If not: break; see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.sysconfig; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SystemConfig.java b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SystemConfig.java index 230f40bf12777f1e575fd0b4a22602b676fc9ac5..a8ac60066c1fa6f4eb19151a946d311bbefc9d8e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SystemConfig.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/sysconfig/SystemConfig.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.sysconfig; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/AnyFilterArrayAdapter.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/AnyFilterArrayAdapter.java index 814dba1099aeec62499ae3b3591e08b17e20d2de..d4964c32301e0e22cf7156defc45f0386ca61bbd 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/AnyFilterArrayAdapter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/AnyFilterArrayAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/EmptySpan.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/EmptySpan.java index 9e3253c42470361df7462b8614d89ea6fd4d8db8..5753bc2c0112e273e5bc371bd268dc8a126383d5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/EmptySpan.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/EmptySpan.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/ForegroundService.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/ForegroundService.java index 75400124bf4dfed162647dbf1e1456a72047de6d..a1363e359f98a7b17086cb0f4d4b86faf67601e6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/ForegroundService.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/ForegroundService.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; import android.app.Service; @@ -15,6 +16,7 @@ import androidx.annotation.Nullable; public abstract class ForegroundService extends Service { private final String name; + @SuppressWarnings("FieldCanBeLocal") private Looper serviceLooper; private ServiceHandler serviceHandler; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/FreshFile.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/FreshFile.java index 757ef4eb06e437df33ce7b164b35091f4a1bc11b..c8c28d2f09437bbdec7261d283d9c7c71cae9edc 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/FreshFile.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/FreshFile.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/FullscreenDialog.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/FullscreenDialog.java index 153788ef1f682d384341f79682b20f464b552e84..97e7085ea42b591ccc488f73e9ccae73d11ae128 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/FullscreenDialog.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/FullscreenDialog.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/HyperlinkTextView.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/HyperlinkTextView.java index 6245cfe5b37f700f4e179afbb520e4b224701eb3..820ec722205d2b11a95a66621adf30d0cdde6228 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/HyperlinkTextView.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/HyperlinkTextView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/IconLoaderThread.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/IconLoaderThread.java index 0905dcdad15759b9ba9ba1e5e8777ec32492999c..fb630e5709fc3e6da505d754833102cb083d47cc 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/IconLoaderThread.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/IconLoaderThread.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/NoFilterArrayAdapter.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/NoFilterArrayAdapter.java index de2c7397c048a9f5a4a90c8e4eaeaa3ff7588d2a..50d2fa8c87d3eedb8079a3af33125dbb700cab0d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/NoFilterArrayAdapter.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/NoFilterArrayAdapter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/NumericSpan.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/NumericSpan.java index 3f2600fd8fee334d40658fe6b1d3436b4a5ef90a..e595dae8a64ad7f76385e306d3164017a87024df 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/NumericSpan.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/NumericSpan.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageChangeReceiver.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageChangeReceiver.java index bf2a84a43b90167e725d11a43a8a65c2518ca2aa..13c1c0531929baca82318dd7ed4901465726a965 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageChangeReceiver.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageChangeReceiver.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageSizeInfo.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageSizeInfo.java index 0f10fb24d22d0818847c57606380f5cec40863ec..3b78b33f8ce0ce3458f8b103eb0cc55cb1dcd548 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageSizeInfo.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/PackageSizeInfo.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/RadioGroupGridLayout.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/RadioGroupGridLayout.java index fc727e72b704cd5e394ba51b74a71ab6ea2944a3..65d0bee86f47810b7bae91702a19c8b74ac84776 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/RadioGroupGridLayout.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/RadioGroupGridLayout.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/RecyclerViewWithEmptyView.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/RecyclerViewWithEmptyView.java index 728a79632f8635db62c1d862d87dc9fce0b86d49..f456938b47f15de605f4056d4ff7f45b406f8ff2 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/RecyclerViewWithEmptyView.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/RecyclerViewWithEmptyView.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/ScrollableDialogBuilder.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/ScrollableDialogBuilder.java index bbaae565e45469ddc7d41ffde0105f614f59b22b..55f5144d622317d7d400eb9aa7897f269198f4ea 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/ScrollableDialogBuilder.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/ScrollableDialogBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/SearchableMultiChoiceDialogBuilder.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/SearchableMultiChoiceDialogBuilder.java index 096f1712c719311612c4f1844b6708a8f7bbea3a..80e88c18a7dad41035fbbeb4c900fe6a661f4da6 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/SearchableMultiChoiceDialogBuilder.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/SearchableMultiChoiceDialogBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDialogBuilder.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDialogBuilder.java index e295917248c14400a009da108cf0cf436bf06177..4fc5872f926c9f46dc50e3adae0ab809d983e006 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDialogBuilder.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDialogBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDropdownDialogBuilder.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDropdownDialogBuilder.java index d383c2f5a8425a60719f9fa1b823367335501161..decbf4673434d61656af734b91337fd5a15ddcd5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDropdownDialogBuilder.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/TextInputDropdownDialogBuilder.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/types/UserPackagePair.java b/app/src/main/java/io/github/muntashirakon/AppManager/types/UserPackagePair.java index 861675c509906e901fb9be82e8fef398dbf09031..23357bba4d1d9dba0efc543b2aaae466788d36e0 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/types/UserPackagePair.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/types/UserPackagePair.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.types; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/uri/UriManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/uri/UriManager.java index 17c4b833fb621e5eb60101248648bf7de0d13721..bd75b6705de84538f5c919129c37237c854b832d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/uri/UriManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/uri/UriManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.uri; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageActivity.java b/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageActivity.java index 9cc328602574dff0ddc3db56078d8cc24ebd7a5e..e9d1895c53278c31832e2fe7ab61ba882f64d6d9 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageActivity.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageActivity.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.usage; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageDetailsDialogFragment.java b/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageDetailsDialogFragment.java index ddf3f9e02f02326bed4d12d50701ed3752532e4c..869c8a0f45156aa0d5fe60103de2b7e74ecb6593 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageDetailsDialogFragment.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageDetailsDialogFragment.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.usage; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageStatsManager.java b/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageStatsManager.java index 19440b3f211bcb9b8eb0d006720833cb6d2e0b21..6453a5a2448289423b896168827b305aa26f1c76 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageStatsManager.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/usage/AppUsageStatsManager.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.usage; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/usage/PackageUsageInfo.java b/app/src/main/java/io/github/muntashirakon/AppManager/usage/PackageUsageInfo.java index 84e3aa6ee27d1aefd49443b2fc838ea6daefe492..2cca8d90e4a24641d8fbd1b7f3f96ac6ff571a61 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/usage/PackageUsageInfo.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/usage/PackageUsageInfo.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.usage; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/usage/UsageUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/usage/UsageUtils.java index 9bb18316c249bee669b9a991a0b8de86ce863407..cad7f5ebcf0f9b4fdfadac230c2e7d7fa028546e 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/usage/UsageUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/usage/UsageUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.usage; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/users/Users.java b/app/src/main/java/io/github/muntashirakon/AppManager/users/Users.java index 2ad3b5e61019399349a17805b4b001b233ab50c9..3c393df9165c82ff7f2fd66a75ff504048b752db 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/users/Users.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/users/Users.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.users; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/AppPref.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/AppPref.java index c0f63c5abe7451396aa2ef0a7d06a275781f1eb0..eb6cc2c792831e0c5dcc2090c6e3741878583416 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/AppPref.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/AppPref.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ArrayUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ArrayUtils.java index 012565a6a9bf48311cb6ee625f0d411fafe68e7c..88e68cfa4c60a59b8449b7d0f28066d27c028cb5 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ArrayUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ArrayUtils.java @@ -1,18 +1,4 @@ -/* - * Copyright (C) 2006 The Android Open Source Project - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/BetterActivityResult.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/BetterActivityResult.java index a77b8a4dfd39678c03400f6beb267dceeb17a5a9..cb1a5f5668dd00d9d2f9009de214741270091050 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/BetterActivityResult.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/BetterActivityResult.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ContextUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ContextUtils.java index 457142a00d83cd891cbf096e07dd5ff311905387..037422e6501241c6b75d75489c73e6cc5780e7ba 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ContextUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ContextUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; @@ -26,6 +11,7 @@ import com.topjohnwu.superuser.internal.UiThreadHandler; import io.github.muntashirakon.AppManager.logs.Log; +// Copyright 2020 John "topjohnwu" Wu public final class ContextUtils { @SuppressLint("StaticFieldLeak") diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/DateUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/DateUtils.java index 76c1c1cb8a596b73d948db8325f882ce3adfea98..86f67cfe6aa9a1eb1a5d0b289e6341bca28e0b06 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/DateUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/DateUtils.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package io.github.muntashirakon.AppManager.utils; import java.text.DateFormat; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/DigestUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/DigestUtils.java index 250cb1c509fd093ec7003096ae9463022d6b54df..1c6ad3ec09fa223540ffe66e43319f759f79e6fc 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/DigestUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/DigestUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/IOUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/IOUtils.java index d5bcf0e1874764d67879ee1784c9cb7c5e850251..91c6701dbda0731739317d2d8f03b13bd93cbfba 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/IOUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/IOUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/JSONUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/JSONUtils.java index 14bf9700c607c9dfcdbccad6450e2f8ebcf6bc8c..4f98c6a67d8161dbcd1010bb0193933bbb9005aa 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/JSONUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/JSONUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/KeyStoreUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/KeyStoreUtils.java index a7fadb9cdb0865bfcf7fa2bacff25b1bbc39aff3..0345d524146f3e1b1a87e432ada30477a8112b65 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/KeyStoreUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/KeyStoreUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/LangUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/LangUtils.java index dee8930f49066e54c884e48e151e87237539db70..99faae00da39da29813efeb4a3265eb2bcc84a73 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/LangUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/LangUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ListItemCreator.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ListItemCreator.java index 81a597e4f6d14a72fa44064a6c7b95c7a5a5e4d2..dde1433805d5644063fd2bdf8b965d190eca9921 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ListItemCreator.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ListItemCreator.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/MagiskUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/MagiskUtils.java index 7ca4be51912e4331d324390888fb8339e3785634..8255aa940f617813aafa8e6e28b33bced06ba41f 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/MagiskUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/MagiskUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/MiuiUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/MiuiUtils.java index aa43446e817488993c4af36460a1c61c55ca97a3..275decc1159c230c98d8264eeee28838d1fd6b6c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/MiuiUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/MiuiUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; @@ -25,6 +10,7 @@ import android.text.TextUtils; import androidx.annotation.NonNull; import io.github.muntashirakon.AppManager.misc.SystemProperties; +// Copyright 2020 Aefyr public class MiuiUtils { public static boolean isMiui() { diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/MultithreadedExecutor.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/MultithreadedExecutor.java index f97fe4bd13a064ceab4ff2e010867c3d4e901dad..13d6312fd1ef758cea7a3d76c98bb3b208540093 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/MultithreadedExecutor.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/MultithreadedExecutor.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/NonNullUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/NonNullUtils.java index 5094412bc8d8ccf9c220ab36601c276bb26ef2c9..bfd1e27a22d8da82415051fa336146891575c412 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/NonNullUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/NonNullUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/NotificationUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/NotificationUtils.java index 9c8c92dd4c68e59ff9596286c852fb955030538d..de47762f3fda59d90347b25bdfcd210170b65d60 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/NotificationUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/NotificationUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/PackageUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/PackageUtils.java index 016c13c0ffe11364daea5f796db497e0c36b99f8..7579067be6a52b7f046175bf55ab3988809d1888 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/PackageUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/PackageUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ParcelFileDescriptorUtil.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ParcelFileDescriptorUtil.java index 4c92ce6ccf38a3426c43dcc1dd7ce4a809883e19..0479a01e92ade72c81093bb72397ac637f30b24c 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/ParcelFileDescriptorUtil.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/ParcelFileDescriptorUtil.java @@ -1,20 +1,4 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * Copyright (C) 2013 Florian Schmaus <flo@geekplace.eu> - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.utils; @@ -27,6 +11,7 @@ import java.io.OutputStream; import androidx.annotation.NonNull; +// Copyright 2013 Florian Schmaus public class ParcelFileDescriptorUtil { @NonNull diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/PermissionUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/PermissionUtils.java index e752a668077ffac06fad26d66ebdfdec9309a7d1..2eac7ee2e0e8d6af74d6c20662010821731647fe 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/PermissionUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/PermissionUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/SettingsState.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/SettingsState.java index bba5f8c1b3326fc6d631a12c076e47b03429adeb..85d2a8b163875e5cc0c6d5999878adcebcf26089 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/SettingsState.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/SettingsState.java @@ -1,23 +1,7 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; -import android.content.Context; import android.os.*; import android.text.TextUtils; import android.util.ArrayMap; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/SsaidSettings.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/SsaidSettings.java index d1b870932330e37a4f72044758f7067d38400a9a..c1a00027b3cdcdf66b0f62bfd5b9c8f6df01344a 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/SsaidSettings.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/SsaidSettings.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/StoragePermission.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/StoragePermission.java index 9dda6cbfdd06c58e74f00f184c2b2c97ae6456da..13593965d79ef833b5617967c2c95149754dc9e2 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/StoragePermission.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/StoragePermission.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/StorageUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/StorageUtils.java index 4f45a8db2e80bfc793be87c219edc1ef7a29ea60..9ae8e7d2d3193a0722585702f839887e1933f5b3 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/StorageUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/StorageUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/TarUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/TarUtils.java index 6f0e173829f6e998f2cd77acdaf53c48bbfb8211..332919ac5f4312e9dd3abb730ac116e28106f79d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/TarUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/TarUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/UIUtils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/UIUtils.java index 3e217b848bb9cf21472906e4c5c2afd7a260917f..b1c6dd44629ec6461dec87a3a93aa10cfbb6354d 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/UIUtils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/UIUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/UiThreadHandler.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/UiThreadHandler.java index b7ce3099828d9a942831cc746df046a33ba17043..c9b4cd4df174310b7968ae12c21d483aa5dede45 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/UiThreadHandler.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/UiThreadHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.utils; @@ -24,6 +9,7 @@ import com.topjohnwu.superuser.ShellUtils; import java.util.concurrent.Executor; +// Copyright 2020 John "topjohnwu" Wu public final class UiThreadHandler { public static final Handler handler = new Handler(Looper.getMainLooper()); public static final Executor executor = UiThreadHandler::run; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/Utils.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/Utils.java index 28e6e73b817e688ca84de702615ec86cfde4efe1..20837ad1f126e7660c32fdad2a1c97b5af9ace88 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/Utils.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/Utils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/utils/WaitRunnable.java b/app/src/main/java/io/github/muntashirakon/AppManager/utils/WaitRunnable.java index f237d33487a21494fd91e34081f9387822ab0d25..a31ee3c78927d8d6d7a298e875f34d0ce54bd4eb 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/utils/WaitRunnable.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/utils/WaitRunnable.java @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 package io.github.muntashirakon.AppManager.utils; import androidx.annotation.NonNull; +// Copyright 2020 John "topjohnwu" Wu public final class WaitRunnable implements Runnable { private Runnable r; diff --git a/app/src/main/java/io/github/muntashirakon/io/AtomicProxyFile.java b/app/src/main/java/io/github/muntashirakon/io/AtomicProxyFile.java index c6609e035ed4121e0205fbc49f28ea87d83449e9..65c29c736cc7f3d2d9ebaded9cf49f10653120a8 100644 --- a/app/src/main/java/io/github/muntashirakon/io/AtomicProxyFile.java +++ b/app/src/main/java/io/github/muntashirakon/io/AtomicProxyFile.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/FileStatus.java b/app/src/main/java/io/github/muntashirakon/io/FileStatus.java index 5ffb80aa4a3afefae54bcce3ec73350af22f1fbb..c429c518a05715a5e0c3213899229876f1b42b26 100644 --- a/app/src/main/java/io/github/muntashirakon/io/FileStatus.java +++ b/app/src/main/java/io/github/muntashirakon/io/FileStatus.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/ProxyFile.java b/app/src/main/java/io/github/muntashirakon/io/ProxyFile.java index 10dac99166fa1e0481d11d3758740f5f2f4892bb..810306a60f5dd0ca79a970eb4e8fb51c41adbdae 100644 --- a/app/src/main/java/io/github/muntashirakon/io/ProxyFile.java +++ b/app/src/main/java/io/github/muntashirakon/io/ProxyFile.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/ProxyFileReader.java b/app/src/main/java/io/github/muntashirakon/io/ProxyFileReader.java index e1a311d8012a4092b837a7a9659bec7c293592aa..0b45c4e98ba6679ee3676a49fb428164d1b50476 100644 --- a/app/src/main/java/io/github/muntashirakon/io/ProxyFileReader.java +++ b/app/src/main/java/io/github/muntashirakon/io/ProxyFileReader.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/ProxyFileWriter.java b/app/src/main/java/io/github/muntashirakon/io/ProxyFileWriter.java index c9d0b393ed1e560a8622f3ec1e5f4a5f3e903884..1d6a0e103434fb31272c9cecbecb36d49d963dfc 100644 --- a/app/src/main/java/io/github/muntashirakon/io/ProxyFileWriter.java +++ b/app/src/main/java/io/github/muntashirakon/io/ProxyFileWriter.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/ProxyFiles.java b/app/src/main/java/io/github/muntashirakon/io/ProxyFiles.java index 6f38aae0021d68aab5e45e414f805dd272751c3e..a5e548ad3751ab66c3566c68f291a9783122b9cb 100644 --- a/app/src/main/java/io/github/muntashirakon/io/ProxyFiles.java +++ b/app/src/main/java/io/github/muntashirakon/io/ProxyFiles.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/ProxyInputStream.java b/app/src/main/java/io/github/muntashirakon/io/ProxyInputStream.java index 9023a0379c81d89b611038600da03e33b0da48bf..665dcae2ad04ce1000f1aac9df35f8f01b092d76 100644 --- a/app/src/main/java/io/github/muntashirakon/io/ProxyInputStream.java +++ b/app/src/main/java/io/github/muntashirakon/io/ProxyInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/ProxyOutputStream.java b/app/src/main/java/io/github/muntashirakon/io/ProxyOutputStream.java index a719b2ff22527c1dbca0b671fbd1641644c5522b..d2ef64f23b2893e157f44b7e330b20c8971a5a44 100644 --- a/app/src/main/java/io/github/muntashirakon/io/ProxyOutputStream.java +++ b/app/src/main/java/io/github/muntashirakon/io/ProxyOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/SplitInputStream.java b/app/src/main/java/io/github/muntashirakon/io/SplitInputStream.java index 721b4e7ff31eb3353640b48d6966b4c953857e01..3e3893aab8fcfd73e25377bafbb7515da22a91d4 100644 --- a/app/src/main/java/io/github/muntashirakon/io/SplitInputStream.java +++ b/app/src/main/java/io/github/muntashirakon/io/SplitInputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/io/github/muntashirakon/io/SplitOutputStream.java b/app/src/main/java/io/github/muntashirakon/io/SplitOutputStream.java index 96a3d0abf29c335afdb319779bb245bb69180f99..8bfa13de18d3b3766ef9911e54c4f0222fac95c2 100644 --- a/app/src/main/java/io/github/muntashirakon/io/SplitOutputStream.java +++ b/app/src/main/java/io/github/muntashirakon/io/SplitOutputStream.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java b/app/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java index d5fa746a65af5b381f3ed7cb4a8d92fdc25bcd8c..3d5f5823f11db4380b94f52ad81e9f70aea5f58b 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/ArchiveEntry.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers; import java.util.Date; @@ -23,6 +7,7 @@ import java.util.Date; /** * Represents an entry of an archive. */ +// Copyright 2008 Torsten Curdt public interface ArchiveEntry { /** diff --git a/app/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java b/app/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java index 8c317b3508c07521a1ac6622f6814c2d4d0c5514..5cfe05ecd78a36f0ba3379a0415d8946dd469a6d 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/ArchiveInputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers; import java.io.IOException; @@ -37,6 +21,7 @@ import java.io.InputStream; * which is used by the {@link ArchiveStreamFactory} to autodetect * the archive type from the first few bytes of a stream. */ +// Copyright 2008 Torsten Curdt public abstract class ArchiveInputStream extends InputStream { private final byte[] single = new byte[1]; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java b/app/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java index 6931d7c803d0c1dadb1d3d19b156cc9692683a47..87066764d800c6e2c4bcefab68923f68e81282c3 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers; import android.system.ErrnoException; @@ -47,6 +31,7 @@ import java.nio.file.LinkOption; * <li>{@link #close()}.</li> * </ul> */ +// Copyright 2008 Torsten Curdt public abstract class ArchiveOutputStream extends OutputStream { /** Temporary buffer used for the {@link #write(int)} method */ diff --git a/app/src/main/java/org/apache/commons/compress/archivers/EntryStreamOffsets.java b/app/src/main/java/org/apache/commons/compress/archivers/EntryStreamOffsets.java index a868666da20f5a37e104a740f98f237ddd3229ca..ca9ea8dd072be525a313fcbb91d76df047915a35 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/EntryStreamOffsets.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/EntryStreamOffsets.java @@ -1,27 +1,11 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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 org.apache.commons.compress.archivers; +// SPDX-License-Identifier: Apache-2.0 +package org.apache.commons.compress.archivers; /** * Provides information about ArchiveEntry stream offsets. */ +// Copyright 2017 Zbynek Vyskovsky public interface EntryStreamOffsets { /** Special value indicating that the offset is unknown. */ diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java index 22607f3030075add9c3db56c6efde44d7fe060c4..46030dd2d61c02d48bdd2612d2ce45381532b959 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later + package org.apache.commons.compress.archivers.tar; import android.os.RemoteException; @@ -154,7 +138,7 @@ import io.github.muntashirakon.io.ProxyFiles; * * @NotThreadSafe */ - +// Copyright 2008 Torsten Curdt public class TarArchiveEntry implements ArchiveEntry, TarConstants, EntryStreamOffsets { private static final TarArchiveEntry[] EMPTY_TAR_ARCHIVE_ENTRY_ARRAY = new TarArchiveEntry[0]; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java index f47f7a056651b0b4e08e07177200f3fab21b5ec6..b043949f9a8b3cda18b4801271b051dd6b1a37f4 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java @@ -1,20 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 /* * This package is based on the work done by Timothy Gerard Endres @@ -45,6 +29,7 @@ import org.apache.commons.compress.utils.IOUtils; * using read(). * @NotThreadSafe */ +// Copyright 2008 Torsten Curdt public class TarArchiveInputStream extends ArchiveInputStream { private static final int SMALL_BUFFER_SIZE = 256; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java index 4e69b2c5e197e8bc9289849dd97e9c26fd7e6a3b..18a77ef85ed06830f5a1f11a2024af8b130f9610 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers.tar; import android.system.ErrnoException; @@ -53,6 +37,7 @@ import java.util.Map; * * @NotThreadSafe */ +// Copyright 2008 Torsten Curdt public class TarArchiveOutputStream extends ArchiveOutputStream { /** diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseEntry.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseEntry.java index 9cc95801dea9db8d547f2c9eb169db2181227f33..fa7dc3c1d87824267208fdd2fced76b104289103 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseEntry.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseEntry.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers.tar; import java.io.IOException; @@ -41,7 +25,7 @@ import java.util.List; * }; * </pre> */ - +// Copyright 2011 Stefan Bodewig public class TarArchiveSparseEntry implements TarConstants { /** If an extension sparse header follows. */ private final boolean isExtended; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java index 562c4f235b6aa03beebcf58d4f1e0da5d03cf771..6569888c693658b459c4c684c7ce94bf8e0f5cd9 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveSparseZeroInputStream.java @@ -1,20 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers.tar; import java.io.IOException; @@ -24,6 +9,7 @@ import java.io.InputStream; * This is an inputstream that always return 0, * this is used when reading the "holes" of a sparse file */ +// Copyright 2021 Robin Schimpf class TarArchiveSparseZeroInputStream extends InputStream { /** diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveStructSparse.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveStructSparse.java index 8ac9bbd1be38413645c2a96024db2576606ff7a6..2edec439eaaac38f35b143e0e722d7fa77645d6b 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveStructSparse.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveStructSparse.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers.tar; import java.util.Objects; @@ -32,6 +16,7 @@ import java.util.Objects; * </pre> * @since 1.20 */ +// Copyright 2019 Peter Alfred Lee public final class TarArchiveStructSparse { private final long offset; private final long numbytes; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java index 26bdfbab0897c16f7248a5a8a6bb4f897c5a7ba7..3f642fc8ce0f058f6360dd141f44a2f59647416c 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers.tar; /** @@ -24,7 +8,7 @@ package org.apache.commons.compress.archivers.tar; * For tar formats (FORMAT_OLDGNU, FORMAT_POSIX, etc.) see GNU tar * <I>tar.h</I> type <I>enum archive_format</I> */ -// CheckStyle:InterfaceIsTypeCheck OFF (bc) +// Copyright 2008 Torsten Curdt public interface TarConstants { /** Default record size */ diff --git a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java index 6403e5f803bdc73d2bafb08144be55bf0c2f5df0..13746221e464c55bfa24f4872bb1020e7bf39195 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.archivers.tar; import java.io.ByteArrayOutputStream; @@ -44,7 +28,7 @@ import static org.apache.commons.compress.archivers.tar.TarConstants.SPARSE_OFFS * * @Immutable */ -// CheckStyle:HideUtilityClassConstructorCheck OFF (bc) +// Copyright 2008 Torsten Curdt public class TarUtils { private static final int BYTE_MASK = 255; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/zip/CharsetAccessor.java b/app/src/main/java/org/apache/commons/compress/archivers/zip/CharsetAccessor.java index 52c0529eb56a254d32197c0f60f21dd1ac14ef4c..e42c62face6ccfad252260c6ce0bfc7e3c392999 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/zip/CharsetAccessor.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/zip/CharsetAccessor.java @@ -1,21 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.archivers.zip; @@ -30,6 +13,7 @@ import java.nio.charset.Charset; * </p> * @since 1.15 */ +// Copyright 2017 Gary Gregory public interface CharsetAccessor { /** diff --git a/app/src/main/java/org/apache/commons/compress/archivers/zip/NioZipEncoding.java b/app/src/main/java/org/apache/commons/compress/archivers/zip/NioZipEncoding.java index d35b3f5d7ce9f6e2e2b372a80fdef083c4923d10..b3b720fa04d5f1ec2a5ffd12ca72a296f4c71436 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/zip/NioZipEncoding.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/zip/NioZipEncoding.java @@ -1,21 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.archivers.zip; @@ -34,6 +17,7 @@ import java.nio.charset.CodingErrorAction; * <p>The methods of this class are reentrant.</p> * @Immutable */ +// Copyright 2009 Stefan Bodewig class NioZipEncoding implements ZipEncoding, CharsetAccessor { private final Charset charset; diff --git a/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java b/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java index 8fe1725a3d8f34388a54d2f478cfe0b13371b692..7172250285063a0686d41ed3adaf53faa435ae13 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncoding.java @@ -1,21 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.archivers.zip; @@ -41,6 +24,7 @@ import java.nio.ByteBuffer; * <p>All implementations should implement this interface in a * reentrant way.</p> */ +// Copyright 2009 Stefan Bodewig public interface ZipEncoding { /** * Check, whether the given string may be losslessly encoded using this diff --git a/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java b/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java index 49c33c947aed8ce1dee5abe896fe6394ca4c3dbc..bd80f0ff13cf23ed7d497bf4dbc1bc6fd6b93f73 100644 --- a/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java +++ b/app/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java @@ -1,20 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.archivers.zip; @@ -26,6 +10,7 @@ import java.nio.charset.UnsupportedCharsetException; /** * Static helper functions for robustly encoding file names in zip files. */ +// Copyright 2009 Stefan Bodewig public abstract class ZipEncodingHelper { diff --git a/app/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java b/app/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java index 6da8bd4f08874050e5bf236fdb65885c906fbdb1..e1e0e5207661ec2989c2ba564992065eea745c02 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/CompressorInputStream.java @@ -1,25 +1,10 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors; import java.io.InputStream; +// Copyright 2008 Torsten Curdt public abstract class CompressorInputStream extends InputStream { private long bytesRead = 0; diff --git a/app/src/main/java/org/apache/commons/compress/compressors/CompressorOutputStream.java b/app/src/main/java/org/apache/commons/compress/compressors/CompressorOutputStream.java index 0440fb824a2f4749bf612150925b822a58a7ad50..f61f3e8f8c89817b60af08c860994b7c72e4b949 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/CompressorOutputStream.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/CompressorOutputStream.java @@ -1,25 +1,10 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors; import java.io.OutputStream; +// Copyright 2008 Torsten Curdt public abstract class CompressorOutputStream extends OutputStream { // TODO } \ No newline at end of file diff --git a/app/src/main/java/org/apache/commons/compress/compressors/FileNameUtil.java b/app/src/main/java/org/apache/commons/compress/compressors/FileNameUtil.java index 96d36d5d7cfbf1a1995012a4a8095b8ccdbd1ecc..21794d8587e7cc6fd3ff4454b02c21c6eab16b25 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/FileNameUtil.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/FileNameUtil.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors; import java.util.Collections; @@ -28,6 +12,7 @@ import java.util.Map; * @ThreadSafe * @since 1.4 */ +// Copyright 2011 Stefan Bodewig public class FileNameUtil { /** diff --git a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java index 69e55c6c3609e47dca0bc023694d968d78650eb0..86299e6b10d6fd15042a872a0a3562a10949b28c 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java @@ -1,27 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 -/* - * This package is based on the work done by Keiron Liddle, Aftex Software - * <keiron@aftexsw.com> to whom the Ant project is very grateful for his - * great code. - */ package org.apache.commons.compress.compressors.bzip2; import java.io.IOException; @@ -39,6 +17,7 @@ import org.apache.commons.compress.utils.InputStreamStatistics; * * @NotThreadSafe */ +// Copyright 2008 Torsten Curdt public class BZip2CompressorInputStream extends CompressorInputStream implements BZip2Constants, InputStreamStatistics { diff --git a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java index 93d1c718b35043f06973a3b35f9b12f26b80e9c1..2ba35163415bb99aa822730f8fc801c0a6f66328 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors.bzip2; import java.io.IOException; @@ -123,6 +107,7 @@ import org.apache.commons.compress.compressors.CompressorOutputStream; * </p> * @NotThreadSafe */ +// Copyright 2008 Torsten Curdt public class BZip2CompressorOutputStream extends CompressorOutputStream implements BZip2Constants { diff --git a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java index 9a8b9c4c0c9d3bb454bf57f9ee997a34d24aa680..b2382761a55925b63767bb49def9b5b022c00faf 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java @@ -1,27 +1,11 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.compressors.bzip2; /** * Constants for both the compress and decompress BZip2 classes. */ +// Copyright 2008 Torsten Curdt interface BZip2Constants { int BASEBLOCKSIZE = 100000; diff --git a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Utils.java b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Utils.java index e1f2a34107737351389493448869e3659a7d6a5a..e1d5f65b83c6e939bf49c063566a2cbd4b14398a 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Utils.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Utils.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors.bzip2; import java.util.LinkedHashMap; @@ -27,6 +11,7 @@ import org.apache.commons.compress.compressors.FileNameUtil; * @ThreadSafe * @since 1.1 */ +// Copyright 2017 Stefan Bodewig public abstract class BZip2Utils { private static final FileNameUtil fileNameUtil; diff --git a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java index 795363b62a68c82f7a1850b8c2eb7c88b68efa24..be69588e66c3eccc195c2fff2972454e60b661e9 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors.bzip2; import java.util.BitSet; @@ -77,6 +61,7 @@ import java.util.BitSet; * * @NotThreadSafe */ +// Copyright 2017 Stefan Bodewig class BlockSort { /* diff --git a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java index 42d4fc46625b28c8d18c9650a5e505edf9a7972d..449160ec6ea1b9d4f95eee262cc772edfbe4913a 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/CRC.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors.bzip2; /** @@ -24,6 +8,7 @@ package org.apache.commons.compress.compressors.bzip2; * * @NotThreadSafe */ +// Copyright 2008 Torsten Curdt class CRC { private static final int[] crc32Table = { 0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, diff --git a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java index bb6ef80bae9917bb02448b2698ef9caabe0c6258..5ffc221a6a2a88c00113f431657cdab38a240e95 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/bzip2/Rand.java @@ -1,27 +1,11 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.compressors.bzip2; /** * Random numbers for both the compress and decompress BZip2 classes. */ +// Copyright 2009 sebbASF final class Rand { private static final int[] RNUMS = { diff --git a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java index 831621a886fd50fc5d484a89de19cb2ed6eef4a2..d98a85790e7c7beda36c91b0aa936e945c0326dd 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors.gzip; import java.io.ByteArrayOutputStream; @@ -73,6 +57,7 @@ import org.apache.commons.compress.utils.InputStreamStatistics; * * @see "https://tools.ietf.org/html/rfc1952" */ +// Copyright 2011 sebbASF public class GzipCompressorInputStream extends CompressorInputStream implements InputStreamStatistics { diff --git a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java index a0ec6c00d8b0c03c4e15177f972a499c952d2b36..a7fda14b338f14314f93c11e77e0144ac3e32461 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors.gzip; import java.io.IOException; @@ -38,6 +22,7 @@ import org.apache.commons.compress.compressors.CompressorOutputStream; * * @see <a href="https://tools.ietf.org/html/rfc1952">GZIP File Format Specification</a> */ +// Copyright 2008 Torsten Curdt public class GzipCompressorOutputStream extends CompressorOutputStream { /** Header flag indicating a file name follows the header */ diff --git a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java index e10bb1a5f64886215c5f3ece6e4759b4554471ac..8b4dd4a6f98613fecbd5aaf96877dc5bf9a5a71e 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipParameters.java @@ -1,21 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.compressors.gzip; @@ -26,6 +9,7 @@ import java.util.zip.Deflater; * * @since 1.7 */ +// Copyright 2013 Emmanuel Bourg public class GzipParameters { private int compressionLevel = Deflater.DEFAULT_COMPRESSION; diff --git a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipUtils.java b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipUtils.java index c7b19847a472fefd4a01006ae9714a79589c9f33..6b0ec10516173331e50d675900b44234e27e0b60 100644 --- a/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipUtils.java +++ b/app/src/main/java/org/apache/commons/compress/compressors/gzip/GzipUtils.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.compressors.gzip; import java.util.LinkedHashMap; @@ -26,6 +10,7 @@ import org.apache.commons.compress.compressors.FileNameUtil; * Utility code for the gzip compression format. * @ThreadSafe */ +// Copyright 2009 sebbASF public class GzipUtils { private static final FileNameUtil fileNameUtil; diff --git a/app/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java b/app/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java index f7649d4a119bbdf0a7c286208d6cb491aa357900..f7ac0d3c905edc7e73cc8564d4534cfbb3de7200 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java +++ b/app/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java @@ -1,20 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.utils; @@ -26,6 +10,7 @@ import org.apache.commons.compress.archivers.ArchiveEntry; /** * Generic Archive utilities */ +// Copyright 2009 sebbASF public class ArchiveUtils { private static final int MAX_SANITIZED_NAME_LENGTH = 255; diff --git a/app/src/main/java/org/apache/commons/compress/utils/BitInputStream.java b/app/src/main/java/org/apache/commons/compress/utils/BitInputStream.java index 576a1f6859dff054e60793299dd7e9717de853f0..6dba24453652203131c48a73c033fbf96ec75e53 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/BitInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/utils/BitInputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.utils; import java.io.Closeable; @@ -28,6 +12,7 @@ import java.nio.ByteOrder; * @since 1.10 * @NotThreadSafe */ +// Copyright 2014 Damjan Jovanovic public class BitInputStream implements Closeable { private static final int MAXIMUM_CACHE_SIZE = 63; // bits in long minus sign bit private static final long[] MASKS = new long[MAXIMUM_CACHE_SIZE + 1]; diff --git a/app/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java b/app/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java index 9ca816aee8258638ee433a8d1994d49afc2ebb9e..dca478d415ce04c86a4250828a8febb9ad325e5e 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/utils/BoundedInputStream.java @@ -1,20 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.utils; import java.io.IOException; @@ -25,6 +10,7 @@ import java.io.InputStream; * @NotThreadSafe * @since 1.6 */ +// Copyright 2013 Damjan Jovanovic public class BoundedInputStream extends InputStream { private final InputStream in; private long bytesRemaining; diff --git a/app/src/main/java/org/apache/commons/compress/utils/ByteUtils.java b/app/src/main/java/org/apache/commons/compress/utils/ByteUtils.java index 5f28eaf357a15490767884a1824bdc9b9c3acb08..edf1875c8562ce36360b7a45d08371d41a4d4c0d 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/ByteUtils.java +++ b/app/src/main/java/org/apache/commons/compress/utils/ByteUtils.java @@ -1,20 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.utils; @@ -28,6 +12,7 @@ import java.io.OutputStream; * Utility methods for reading and writing bytes. * @since 1.14 */ +// Copyright 2017 Stefan Bodewig public final class ByteUtils { /** diff --git a/app/src/main/java/org/apache/commons/compress/utils/CharsetNames.java b/app/src/main/java/org/apache/commons/compress/utils/CharsetNames.java index 6605a83dbbabe9e5ac908870aa118f5f7dd3a729..a48f6e0963340565a8ab2160db24f2e8d65261c5 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/CharsetNames.java +++ b/app/src/main/java/org/apache/commons/compress/utils/CharsetNames.java @@ -1,20 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.utils; @@ -51,6 +35,7 @@ package org.apache.commons.compress.utils; * @see <a href="https://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @since 1.4 */ +// Copyright 2012 Gary Gregory public class CharsetNames { /** * CharEncodingISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1. diff --git a/app/src/main/java/org/apache/commons/compress/utils/CloseShieldFilterInputStream.java b/app/src/main/java/org/apache/commons/compress/utils/CloseShieldFilterInputStream.java index c6039628aff3c202e1aac8af003a714a94be6e6e..27c830a4af4a9fb962ab49bfb7be6438a96c6e76 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/CloseShieldFilterInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/utils/CloseShieldFilterInputStream.java @@ -1,21 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.utils; @@ -27,6 +10,7 @@ import java.io.InputStream; * Re-implements {@link FilterInputStream#close()} to do nothing. * @since 1.14 */ +// Copyright 2017 Stefan Bodewig public class CloseShieldFilterInputStream extends FilterInputStream { public CloseShieldFilterInputStream(final InputStream in) { diff --git a/app/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java b/app/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java index 67ff67fc402809b5470167f275e645c6c4b499ce..17de107df53bcb8c50f95c5829acc9ab94848734 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java +++ b/app/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.utils; import java.io.FilterInputStream; @@ -27,6 +11,7 @@ import java.io.InputStream; * @since 1.3 * @NotThreadSafe */ +// Copyright 2011 Stefan Bodewig public class CountingInputStream extends FilterInputStream { private long bytesRead; diff --git a/app/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java b/app/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java index ea4c23b38858df2562d7b09d4ea3fc21c76c3d1d..1ee840a57be09dda2e17da51555393b6fd165bd4 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java +++ b/app/src/main/java/org/apache/commons/compress/utils/CountingOutputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.utils; import java.io.FilterOutputStream; @@ -27,6 +11,7 @@ import java.io.OutputStream; * @since 1.3 * @NotThreadSafe */ +// Copyright 2011 Stefan Bodewig public class CountingOutputStream extends FilterOutputStream { private long bytesWritten = 0; diff --git a/app/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java b/app/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java index f1582b0be31bbbfc169a4566ef9a1f3bcb289409..1ed06ade92c6aa55c0a3d4c146567ce2fdc102b5 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java +++ b/app/src/main/java/org/apache/commons/compress/utils/FixedLengthBlockOutputStream.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.utils; import java.io.FileOutputStream; @@ -48,6 +32,7 @@ import java.util.concurrent.atomic.AtomicBoolean; * * @since 1.15 */ +// Copyright 2017 Simon Spero public class FixedLengthBlockOutputStream extends OutputStream implements WritableByteChannel { private final WritableByteChannel out; diff --git a/app/src/main/java/org/apache/commons/compress/utils/IOUtils.java b/app/src/main/java/org/apache/commons/compress/utils/IOUtils.java index febc0cfc52a55458ffe1830747f48a13ea8878f4..b20b3c586f90c1cd289380165461c78b74bada7e 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/IOUtils.java +++ b/app/src/main/java/org/apache/commons/compress/utils/IOUtils.java @@ -1,21 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package org.apache.commons.compress.utils; import android.os.RemoteException; @@ -29,6 +13,7 @@ import java.nio.channels.ReadableByteChannel; * Utility functions * @Immutable (has mutable data but it is write-only) */ +// Copyright 2008 Torsten Curdt public final class IOUtils { private static final int COPY_BUF_SIZE = 8024; diff --git a/app/src/main/java/org/apache/commons/compress/utils/InputStreamStatistics.java b/app/src/main/java/org/apache/commons/compress/utils/InputStreamStatistics.java index a6335d17159a6d1e537137083fb1572fd8cf1066..5ffa539235ecf1def802f4db601c9a992bb4fb0e 100644 --- a/app/src/main/java/org/apache/commons/compress/utils/InputStreamStatistics.java +++ b/app/src/main/java/org/apache/commons/compress/utils/InputStreamStatistics.java @@ -1,20 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - * - */ +// SPDX-License-Identifier: Apache-2.0 package org.apache.commons.compress.utils; @@ -25,6 +9,7 @@ package org.apache.commons.compress.utils; * * @since 1.17 */ +// Copyright 2018 Stefan Bodewig public interface InputStreamStatistics { /** * @return the amount of raw or compressed bytes read by the stream diff --git a/app/src/main/res/anim/fullscreen_dialog_enter.xml b/app/src/main/res/anim/fullscreen_dialog_enter.xml index 490827ccb28132f11fb6f318b8e79bfa9c28a9db..759a74cc394de16e8b1de28d7f5a55ddc6e86c6e 100644 --- a/app/src/main/res/anim/fullscreen_dialog_enter.xml +++ b/app/src/main/res/anim/fullscreen_dialog_enter.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false"> <alpha diff --git a/app/src/main/res/anim/fullscreen_dialog_exit.xml b/app/src/main/res/anim/fullscreen_dialog_exit.xml index 9fe78535916663a50ec5d6feb97a1144f136608c..f752f17755421dbd544bf97d8aca898896031128 100644 --- a/app/src/main/res/anim/fullscreen_dialog_exit.xml +++ b/app/src/main/res/anim/fullscreen_dialog_exit.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 --> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false"> <alpha diff --git a/app/src/main/res/color/item_icon_tint.xml b/app/src/main/res/color/item_icon_tint.xml index 707d007b1bc09efc8c4266994ce5d681e3c5f476..c9e94f91300df825003311eef367eb4b575148e1 100644 --- a/app/src/main/res/color/item_icon_tint.xml +++ b/app/src/main/res/color/item_icon_tint.xml @@ -1,20 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:alpha="1.0" android:color="?attr/colorOnPrimary" android:state_checked="true" /> <item android:alpha="0.6" android:color="?attr/colorOnPrimary" /> diff --git a/app/src/main/res/color/item_ripple_color.xml b/app/src/main/res/color/item_ripple_color.xml index 250743b80cd7568930893b2e342c570b93b1148e..fd3aaabcd8e5d3e24f915703686b520bb82e788c 100644 --- a/app/src/main/res/color/item_ripple_color.xml +++ b/app/src/main/res/color/item_ripple_color.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:alpha="0.16" android:color="?attr/colorOnPrimary" android:state_pressed="true" /> <item android:alpha="0.32" android:color="?attr/colorOnPrimary" android:state_focused="true" android:state_hovered="true" /> diff --git a/app/src/main/res/color/item_text_color.xml b/app/src/main/res/color/item_text_color.xml index 5afc058619927486f08855080b1df68bf5316d8b..c9e94f91300df825003311eef367eb4b575148e1 100644 --- a/app/src/main/res/color/item_text_color.xml +++ b/app/src/main/res/color/item_text_color.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:alpha="1.0" android:color="?attr/colorOnPrimary" android:state_checked="true" /> <item android:alpha="0.6" android:color="?attr/colorOnPrimary" /> diff --git a/app/src/main/res/drawable/border_left.xml b/app/src/main/res/drawable/border_left.xml index 55950098ec226d827e2e6206430ce93d2bc2f717..2c68e90c38e34f67be678168deedf1131fd379ad 100644 --- a/app/src/main/res/drawable/border_left.xml +++ b/app/src/main/res/drawable/border_left.xml @@ -1,20 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:gravity="center"> diff --git a/app/src/main/res/drawable/ic_assignment_black_24dp.xml b/app/src/main/res/drawable/ic_assignment_black_24dp.xml index 4d3d80067b8fc0261ad091da74424cc8d3ff7a63..aac3b8e2faebc2923554b611e257deb881d1992e 100644 --- a/app/src/main/res/drawable/ic_assignment_black_24dp.xml +++ b/app/src/main/res/drawable/ic_assignment_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_add_24.xml b/app/src/main/res/drawable/ic_baseline_add_24.xml index b76228729b0fbe2a2026e72b162f80ead6334eb4..22aad420899e9a528b7e96c235a692f86e193a35 100644 --- a/app/src/main/res/drawable/ic_baseline_add_24.xml +++ b/app/src/main/res/drawable/ic_baseline_add_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_autorenew_24.xml b/app/src/main/res/drawable/ic_baseline_autorenew_24.xml index f17c1c2f3f3d9afc7ccf7d22a67edc242c61d60c..213ea6f9b557fc7281627690f4035f5eff9d42be 100644 --- a/app/src/main/res/drawable/ic_baseline_autorenew_24.xml +++ b/app/src/main/res/drawable/ic_baseline_autorenew_24.xml @@ -1,20 +1,4 @@ -<!-- - ~ Copyright (c) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_clear_24.xml b/app/src/main/res/drawable/ic_baseline_clear_24.xml index 9cd8cdb9159eb459747307ecd4a4ca9d5e0c857e..31197500a02aa921fd75faa131f595dc603a0911 100644 --- a/app/src/main/res/drawable/ic_baseline_clear_24.xml +++ b/app/src/main/res/drawable/ic_baseline_clear_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_content_copy_24.xml b/app/src/main/res/drawable/ic_baseline_content_copy_24.xml index 8a969aad06e7526a966ff31e9f8e0b3c6a092821..a276c494237627d95923d05ac2e8227f9188c440 100644 --- a/app/src/main/res/drawable/ic_baseline_content_copy_24.xml +++ b/app/src/main/res/drawable/ic_baseline_content_copy_24.xml @@ -1,20 +1,3 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_get_app_24.xml b/app/src/main/res/drawable/ic_baseline_get_app_24.xml index f1f83bbee23e9a1c35e612ef6d0c15e647cefca8..99421ea5d52c823dcdddda854de3300165322aa8 100644 --- a/app/src/main/res/drawable/ic_baseline_get_app_24.xml +++ b/app/src/main/res/drawable/ic_baseline_get_app_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_outlined_flag_24.xml b/app/src/main/res/drawable/ic_baseline_outlined_flag_24.xml index e65d5769b9dd6a3136b654a6d8c84b6f1336f28e..50804cce46b6f37a56cce7beba4eaa98424a2f16 100644 --- a/app/src/main/res/drawable/ic_baseline_outlined_flag_24.xml +++ b/app/src/main/res/drawable/ic_baseline_outlined_flag_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_power_settings_new_24.xml b/app/src/main/res/drawable/ic_baseline_power_settings_new_24.xml index 1156780ea5d5beb450ad77f495e657b9b62deb2c..d2da24c94e22bf4402f44fe532898d8ca55412c7 100644 --- a/app/src/main/res/drawable/ic_baseline_power_settings_new_24.xml +++ b/app/src/main/res/drawable/ic_baseline_power_settings_new_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_save_24.xml b/app/src/main/res/drawable/ic_baseline_save_24.xml index 86d50b89e2290c597cc2ac9abba73eb4e249bdc5..5372836546dc642687f6d6367dcf38f5a22ceba1 100644 --- a/app/src/main/res/drawable/ic_baseline_save_24.xml +++ b/app/src/main/res/drawable/ic_baseline_save_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_security_24.xml b/app/src/main/res/drawable/ic_baseline_security_24.xml index 1939d831994aecdc670c63ebf66c5416de5126a4..b371f21e098eeb72b6fc227a2ffa58956bdf1f7d 100644 --- a/app/src/main/res/drawable/ic_baseline_security_24.xml +++ b/app/src/main/res/drawable/ic_baseline_security_24.xml @@ -1,20 +1,4 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_select_all_24.xml b/app/src/main/res/drawable/ic_baseline_select_all_24.xml index faf39160b85ba7b803ccf1739d4515564da3f5ce..d84b10c64d9e312c2cd25aa97ecc7acc68727985 100644 --- a/app/src/main/res/drawable/ic_baseline_select_all_24.xml +++ b/app/src/main/res/drawable/ic_baseline_select_all_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_settings_24.xml b/app/src/main/res/drawable/ic_baseline_settings_24.xml index e31062eb9b3c8c0556f26462853f26372da28df4..65db37d561092b0f88a5ab44ed1b471af70c656d 100644 --- a/app/src/main/res/drawable/ic_baseline_settings_24.xml +++ b/app/src/main/res/drawable/ic_baseline_settings_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_baseline_sync_24.xml b/app/src/main/res/drawable/ic_baseline_sync_24.xml index 42d62f0e7da548507b596a7c0b4c9bc71969a804..fbcb4cdc7b347d06d1bfd71d30479a982be4e3f8 100644 --- a/app/src/main/res/drawable/ic_baseline_sync_24.xml +++ b/app/src/main/res/drawable/ic_baseline_sync_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_block_black_24dp.xml b/app/src/main/res/drawable/ic_block_black_24dp.xml index 0af0b020e8eefefe796b4d155c50190abf7403ee..6d63f5637841178b5197028b123312708220733b 100644 --- a/app/src/main/res/drawable/ic_block_black_24dp.xml +++ b/app/src/main/res/drawable/ic_block_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_code_black_24dp.xml b/app/src/main/res/drawable/ic_code_black_24dp.xml index 5c574c2207ad941a35d6d958c7c2cca9ac72cefe..ae10fe9542650333e75e31cee638e9c3029ee3e0 100644 --- a/app/src/main/res/drawable/ic_code_black_24dp.xml +++ b/app/src/main/res/drawable/ic_code_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_data_usage_black_24dp.xml b/app/src/main/res/drawable/ic_data_usage_black_24dp.xml index c6b30474fda8f984a63f82119eaacf76ce6e5f2c..98bd45b693e2e680838d3d3c1200698f9bb0fe3e 100644 --- a/app/src/main/res/drawable/ic_data_usage_black_24dp.xml +++ b/app/src/main/res/drawable/ic_data_usage_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_delete_black_24dp.xml b/app/src/main/res/drawable/ic_delete_black_24dp.xml index 649cbc33404c8577e70bac53caa749543977a175..9ea2afef48825bdbc8e44d9c684e8bfd1aa8f8fd 100644 --- a/app/src/main/res/drawable/ic_delete_black_24dp.xml +++ b/app/src/main/res/drawable/ic_delete_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_expand_less_white_24dp.xml b/app/src/main/res/drawable/ic_expand_less_white_24dp.xml index b4f6fa12d31e3c563dba2c70a35e2d867265626e..79dca25a16aea0e93187ccc3fac4ad12be879e90 100644 --- a/app/src/main/res/drawable/ic_expand_less_white_24dp.xml +++ b/app/src/main/res/drawable/ic_expand_less_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_expand_more_white_24dp.xml b/app/src/main/res/drawable/ic_expand_more_white_24dp.xml index 513c8444ac709418cd9d4aca7d35c8470d034412..fa18f4bf39c57ca34fe28f832375ae6531eefd85 100644 --- a/app/src/main/res/drawable/ic_expand_more_white_24dp.xml +++ b/app/src/main/res/drawable/ic_expand_more_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_filter_list_white_24dp.xml b/app/src/main/res/drawable/ic_filter_list_white_24dp.xml index a1f0eb601bc661de92bbc18ba547b8d726a3ef67..c110deca1e632993ee02f7c4a122f7189fee8f79 100644 --- a/app/src/main/res/drawable/ic_filter_list_white_24dp.xml +++ b/app/src/main/res/drawable/ic_filter_list_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_folder_white_24dp.xml b/app/src/main/res/drawable/ic_folder_white_24dp.xml index e4a5ee4be5e48ecf98a9bafddad2b1916300edf8..470c1ac3e99cca633e37acc591fdbb373d693e4b 100644 --- a/app/src/main/res/drawable/ic_folder_white_24dp.xml +++ b/app/src/main/res/drawable/ic_folder_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_frost_aurorastore_black_24dp.xml b/app/src/main/res/drawable/ic_frost_aurorastore_black_24dp.xml index 64c6b2311df38cb4229250bd7e26adfe2db3e92e..1f1dd17794693309740c83240a8b660506d7dc83 100644 --- a/app/src/main/res/drawable/ic_frost_aurorastore_black_24dp.xml +++ b/app/src/main/res/drawable/ic_frost_aurorastore_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <vector android:height="24dp" android:viewportHeight="48" android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="?android:attr/colorAccent" android:pathData="m24,4.4843c-0.7298,0 -1.4586,0.3569 -1.8854,1.0697l-8.3394,13.985h-8.4308c-2.2005,0.001 -3.8007,2.091 -3.227,4.2154l4.7363,17.51c0.3548,1.3312 1.5622,2.2563 2.9399,2.2513h28.413c1.3776,0.0051 2.5851,-0.9201 2.9399,-2.2513l4.7363,-17.51c0.5737,-2.1244 -1.0265,-4.2144 -3.227,-4.2154h-8.4308l-8.3394,-13.985c-0.4268,-0.7128 -1.1556,-1.0697 -1.8854,-1.0697zM24,10.9535 L29.1251,19.5393h-10.25zM23.9212,23.7445a2.1726,2.1726 0,0 1,1.9794 1.1155l6.3219,11.175a2.2246,2.2246 0,0 1,0 2.1852,2.1986 2.1986,0 0,1 -1.9006,1.0926h-12.672a2.1986,2.1986 0,0 1,-1.8981 -1.0926,2.2246 2.2246,0 0,1 0,-2.1852l6.3473,-11.175a2.1726,2.1726 0,0 1,1.8219 -1.1155zM24,30.3763 L21.3981,34.9297h5.2038z"/> diff --git a/app/src/main/res/drawable/ic_frost_fdroid_black_24dp.xml b/app/src/main/res/drawable/ic_frost_fdroid_black_24dp.xml index 23e7335873ba646acdb63bc8f87e3ebd5584fa4c..83e07e9b9f040545211df91797dd79b4a91cb3b2 100644 --- a/app/src/main/res/drawable/ic_frost_fdroid_black_24dp.xml +++ b/app/src/main/res/drawable/ic_frost_fdroid_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <vector android:height="24dp" android:viewportHeight="48" android:viewportWidth="48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> <path android:fillColor="?android:attr/colorAccent" android:pathData="m8.1331,23.032c-1.507,0 -3.0115,1.506 -3,3l0.1169,15.218c0.0115,1.494 1.493,3 3,3h31.5c1.507,0 3.0115,-1.506 3,-3l-0.1169,-15.218c-0.0115,-1.494 -1.493,-3 -3,-3z"/> diff --git a/app/src/main/res/drawable/ic_frost_termux.xml b/app/src/main/res/drawable/ic_frost_termux.xml index f242cd7f79e1dc523a4a1e4326dcc9aa6c3801b5..cc27e2acea73e50879f3b772b3f581c89e0e721d 100644 --- a/app/src/main/res/drawable/ic_frost_termux.xml +++ b/app/src/main/res/drawable/ic_frost_termux.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <vector android:height="24dp" android:viewportHeight="48" diff --git a/app/src/main/res/drawable/ic_image_black_24dp.xml b/app/src/main/res/drawable/ic_image_black_24dp.xml index d64ef27eb354e5fd42a1f45313f56f8ee35f69b6..0021025b763512db81778d33e93aeab1fb6746d6 100644 --- a/app/src/main/res/drawable/ic_image_black_24dp.xml +++ b/app/src/main/res/drawable/ic_image_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_info_outline_black_24dp.xml b/app/src/main/res/drawable/ic_info_outline_black_24dp.xml index d23ef0063ffa0528a226f3ee5dc08d91be280613..b9f48d9f878e44f9bbfe4fbbb29ead3e11f0ecca 100644 --- a/app/src/main/res/drawable/ic_info_outline_black_24dp.xml +++ b/app/src/main/res/drawable/ic_info_outline_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_insert_drive_file_white_24dp.xml b/app/src/main/res/drawable/ic_insert_drive_file_white_24dp.xml index 65ec3e54825d1c0aca294eb10f2431dcff61b487..c098c9b4985635b317721414e6016a55be7055cf 100644 --- a/app/src/main/res/drawable/ic_insert_drive_file_white_24dp.xml +++ b/app/src/main/res/drawable/ic_insert_drive_file_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_keyboard_backspace_black_24dp.xml b/app/src/main/res/drawable/ic_keyboard_backspace_black_24dp.xml index ffe8fb1f78c673d55c8b57c318346df00df00949..e273e498e4038f5146064f084128d31f33cf1b81 100644 --- a/app/src/main/res/drawable/ic_keyboard_backspace_black_24dp.xml +++ b/app/src/main/res/drawable/ic_keyboard_backspace_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml index 0b80cdec1411b38d29706fe7f11036a313d2614b..662f7f53301068fe6226f57688331068fb2b1b26 100644 --- a/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="108dp" android:height="108dp" diff --git a/app/src/main/res/drawable/ic_more_vert_black_24dp.xml b/app/src/main/res/drawable/ic_more_vert_black_24dp.xml index d15043151801fe3162b24f560fd4d40ada92b379..b8b7e157da1440019a6d10e61cf56fae323e3999 100644 --- a/app/src/main/res/drawable/ic_more_vert_black_24dp.xml +++ b/app/src/main/res/drawable/ic_more_vert_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_open_in_new_black_24dp.xml b/app/src/main/res/drawable/ic_open_in_new_black_24dp.xml index 92df756b838304d24becfde54d10a695f7674145..6191c9177b4fe8bbd8c71d340b3dc1aaddaf287f 100644 --- a/app/src/main/res/drawable/ic_open_in_new_black_24dp.xml +++ b/app/src/main/res/drawable/ic_open_in_new_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_outline_plus_one_24.xml b/app/src/main/res/drawable/ic_outline_plus_one_24.xml index cb307d44ae43a631412256ebf772d28207b0147b..6d5ab26e346683d506eb8217db0153bc1b565d79 100644 --- a/app/src/main/res/drawable/ic_outline_plus_one_24.xml +++ b/app/src/main/res/drawable/ic_outline_plus_one_24.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_pause_white_24dp.xml b/app/src/main/res/drawable/ic_pause_white_24dp.xml index 43b0ace1c14f9f9d7849224a4e761103349557b2..77c8a536416cda28a3832692f6147a67f61abff0 100644 --- a/app/src/main/res/drawable/ic_pause_white_24dp.xml +++ b/app/src/main/res/drawable/ic_pause_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_play_arrow_white_24dp.xml b/app/src/main/res/drawable/ic_play_arrow_white_24dp.xml index a8cf65c05e27653879f33fb5f7815e693046a906..3586b2ae9b6875d4d428c859b8fcd0d70013c82f 100644 --- a/app/src/main/res/drawable/ic_play_arrow_white_24dp.xml +++ b/app/src/main/res/drawable/ic_play_arrow_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_record_white_24dp.xml b/app/src/main/res/drawable/ic_record_white_24dp.xml index 752b3d855e8e0a428241ab023e15f1ee4c6b226d..6b15db5899347908e61452b35af182556889b6a1 100644 --- a/app/src/main/res/drawable/ic_record_white_24dp.xml +++ b/app/src/main/res/drawable/ic_record_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_refresh_black_24dp.xml b/app/src/main/res/drawable/ic_refresh_black_24dp.xml index d67cf9447c66fca2faeb35702e116b021a7c8417..03f1aca3b66854b8c46ecfd7e6639065e4427dd0 100644 --- a/app/src/main/res/drawable/ic_refresh_black_24dp.xml +++ b/app/src/main/res/drawable/ic_refresh_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_restore_black_24dp.xml b/app/src/main/res/drawable/ic_restore_black_24dp.xml index 4eddf9dfe94a083595a53b0c99ad2896391dc5ad..4be06b2ae28035d5a40105e83a2bf8d1fe46386a 100644 --- a/app/src/main/res/drawable/ic_restore_black_24dp.xml +++ b/app/src/main/res/drawable/ic_restore_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_search.xml b/app/src/main/res/drawable/ic_search.xml index dafd9138571ace6c093bc0f0d5db097ca4037bca..cbc3a913024358d7685f180e507cbef1ff319a04 100644 --- a/app/src/main/res/drawable/ic_search.xml +++ b/app/src/main/res/drawable/ic_search.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_share_black_24dp.xml b/app/src/main/res/drawable/ic_share_black_24dp.xml index 5f3ebb26bb0473c2122a1eda4ee9070b3afd960f..727ec9d9abb56470eb339dd410c352d2dcfc75f3 100644 --- a/app/src/main/res/drawable/ic_share_black_24dp.xml +++ b/app/src/main/res/drawable/ic_share_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_shortcut_record.xml b/app/src/main/res/drawable/ic_shortcut_record.xml index 3bcbce309c18dfccd76be9c4c7eb30537ae74483..0498eebbee82cf67b0df6edcacc1fcc3f897dfc4 100644 --- a/app/src/main/res/drawable/ic_shortcut_record.xml +++ b/app/src/main/res/drawable/ic_shortcut_record.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: WTFPL --> <vector android:height="24dp" android:viewportHeight="192.0" android:viewportWidth="192.0" diff --git a/app/src/main/res/drawable/ic_sort_black_24dp.xml b/app/src/main/res/drawable/ic_sort_black_24dp.xml index 41449bd53daa604acd84ab09cea6023fc89f44d3..bc0c390fe9d22e4c340d934339124fc9f4d3e461 100644 --- a/app/src/main/res/drawable/ic_sort_black_24dp.xml +++ b/app/src/main/res/drawable/ic_sort_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_sort_white_24dp.xml b/app/src/main/res/drawable/ic_sort_white_24dp.xml index 31b2689d537e2dc88a6483904c16493980206bb8..654661ee8b442d344da4ac96fd984ae3e1af0a1a 100644 --- a/app/src/main/res/drawable/ic_sort_white_24dp.xml +++ b/app/src/main/res/drawable/ic_sort_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_spinner_caret.xml b/app/src/main/res/drawable/ic_spinner_caret.xml index 3717b137f77848518296221ee49f573714bcd0ee..7ef37651f0ae6f7c3aaf427eed0443ba10bd3590 100644 --- a/app/src/main/res/drawable/ic_spinner_caret.xml +++ b/app/src/main/res/drawable/ic_spinner_caret.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_stop_white_24dp.xml b/app/src/main/res/drawable/ic_stop_white_24dp.xml index 5a311f1be557fb8baa1387b64d7001ee1e01f2eb..370129edf5ca322fb848e6387a90162a7cc05951 100644 --- a/app/src/main/res/drawable/ic_stop_white_24dp.xml +++ b/app/src/main/res/drawable/ic_stop_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_tune_black_24dp.xml b/app/src/main/res/drawable/ic_tune_black_24dp.xml index 7c299b1a841a955191e45e7fe131df6e34f3f7f0..3164b1f6aa3ff4fb9cc2effb7eadd8c54f64cbf7 100644 --- a/app/src/main/res/drawable/ic_tune_black_24dp.xml +++ b/app/src/main/res/drawable/ic_tune_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_view_agenda_white_24dp.xml b/app/src/main/res/drawable/ic_view_agenda_white_24dp.xml index feb7020cb74e54aa3b0416ed237b3da9c3051557..9a5fa188458d80a62628a67f78eb455fade71a6c 100644 --- a/app/src/main/res/drawable/ic_view_agenda_white_24dp.xml +++ b/app/src/main/res/drawable/ic_view_agenda_white_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_view_list_black_24dp.xml b/app/src/main/res/drawable/ic_view_list_black_24dp.xml index fac0113c208e24776d30141b79b944b3429ef3d6..9fea92e901f67f8b9d885c4a94db223f89710f6d 100644 --- a/app/src/main/res/drawable/ic_view_list_black_24dp.xml +++ b/app/src/main/res/drawable/ic_view_list_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/ic_wrap_text_black_24dp.xml b/app/src/main/res/drawable/ic_wrap_text_black_24dp.xml index 37744ae898b61c1cd8cb548debe7e3b37f978667..e5d55012aeec86ea9d2e5e5deb7ef83363ad348f 100644 --- a/app/src/main/res/drawable/ic_wrap_text_black_24dp.xml +++ b/app/src/main/res/drawable/ic_wrap_text_black_24dp.xml @@ -1,3 +1,4 @@ +<!-- SPDX-License-Identifier: Apache-2.0 --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" diff --git a/app/src/main/res/drawable/outlined_stroke_color.xml b/app/src/main/res/drawable/outlined_stroke_color.xml index 181ad5358d2fd1acf7f64e56b82b04adb9943331..283ed6cb2495d038d9c06c91a9863b3b93fb4874 100644 --- a/app/src/main/res/drawable/outlined_stroke_color.xml +++ b/app/src/main/res/drawable/outlined_stroke_color.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <!-- NOTE: This is only done here because colorOnSurface in night theme causes crash --> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:color="?attr/colorAccent" android:state_focused="true"/> diff --git a/app/src/main/res/drawable/spinner_rounded_border.xml b/app/src/main/res/drawable/spinner_rounded_border.xml index 1e7ec071c40984249b380eebeef5480e4c116fa7..b0b256f4ef73469d95e6e81f02cf56a7fc98c35c 100644 --- a/app/src/main/res/drawable/spinner_rounded_border.xml +++ b/app/src/main/res/drawable/spinner_rounded_border.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape> diff --git a/app/src/main/res/layout/activity_any_viewer.xml b/app/src/main/res/layout/activity_any_viewer.xml index 24f1ea2e5bb0b058019b9787d6b19af88444d723..e49919fe85c07edcdbafd113bb1943ebddcbb62f 100644 --- a/app/src/main/res/layout/activity_any_viewer.xml +++ b/app/src/main/res/layout/activity_any_viewer.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_app_details.xml b/app/src/main/res/layout/activity_app_details.xml index 03b844ff08272095058b6d00d6a9302ec53f3163..d51a811b99b5903bb752f8e45e45f0752c095997 100644 --- a/app/src/main/res/layout/activity_app_details.xml +++ b/app/src/main/res/layout/activity_app_details.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_app_usage.xml b/app/src/main/res/layout/activity_app_usage.xml index 1a7e7d2822f07a99262d61f70d1d201c52a876aa..e41f34ded9964415061852d5c88a7c84f3940ded 100644 --- a/app/src/main/res/layout/activity_app_usage.xml +++ b/app/src/main/res/layout/activity_app_usage.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_apps_profile.xml b/app/src/main/res/layout/activity_apps_profile.xml index f52982e7a5d1f4a75b98810834fa7e1560a792c5..ac4780b5361df59440ebb995adc35308eb639edc 100644 --- a/app/src/main/res/layout/activity_apps_profile.xml +++ b/app/src/main/res/layout/activity_apps_profile.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_class_listing.xml b/app/src/main/res/layout/activity_class_listing.xml index 2ab4919070a82f3d5128876483720fadec3f5ad2..422216eb4086a51ad7bc611270361db7bda03001 100644 --- a/app/src/main/res/layout/activity_class_listing.xml +++ b/app/src/main/res/layout/activity_class_listing.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_help.xml b/app/src/main/res/layout/activity_help.xml index f139dcc5ee2914162422bf403772c347b54b6c4a..97cdb07a278755077ed96ae46a0da5cc35ca8b94 100644 --- a/app/src/main/res/layout/activity_help.xml +++ b/app/src/main/res/layout/activity_help.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_interceptor.xml b/app/src/main/res/layout/activity_interceptor.xml index 5a0d0476d221a10eb0f82e4db121f0e067687c1b..209fd9cd7008bdb9e656607037483cbd2301f48a 100644 --- a/app/src/main/res/layout/activity_interceptor.xml +++ b/app/src/main/res/layout/activity_interceptor.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_logcat.xml b/app/src/main/res/layout/activity_logcat.xml index 8d392d834a1d3551ab70df578bc116acabd2e3b8..ae9f72f9b8481edda7f0ab36c8825669e6369871 100644 --- a/app/src/main/res/layout/activity_logcat.xml +++ b/app/src/main/res/layout/activity_logcat.xml @@ -1,20 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index f5a465927c507bd789be7e3ff6c017ee40e17510..5c1090e24ef52d54179c40a068accc6ccca3b776 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,20 +1,4 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_one_click_ops.xml b/app/src/main/res/layout/activity_one_click_ops.xml index 018f2fd9c7923601d1ecf1ac11e9ffe185dd276d..6d6795d01247408f3f0491c2083f2b64deabfbe7 100644 --- a/app/src/main/res/layout/activity_one_click_ops.xml +++ b/app/src/main/res/layout/activity_one_click_ops.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_profiles.xml b/app/src/main/res/layout/activity_profiles.xml index d01296e6119aafe331d2005ab52cfc5982242489..baa9f490f1154a4f52df3ab5b977f472e5718702 100644 --- a/app/src/main/res/layout/activity_profiles.xml +++ b/app/src/main/res/layout/activity_profiles.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_running_apps.xml b/app/src/main/res/layout/activity_running_apps.xml index 6745e4f06d5e10edfbe9090660f22ad8c544f527..c4eecf85b39a318f6bf8219ab7a7c08073e53ff8 100644 --- a/app/src/main/res/layout/activity_running_apps.xml +++ b/app/src/main/res/layout/activity_running_apps.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_scanner.xml b/app/src/main/res/layout/activity_scanner.xml index 9c42ef556ae272a087b2524839740fd838554455..ce5a6810635d15e8acf839c277a229e769754ecf 100644 --- a/app/src/main/res/layout/activity_scanner.xml +++ b/app/src/main/res/layout/activity_scanner.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 652409d0e4b349251fed95460401ab9bb4fedf36..d041a7b466b596eb7c977a77710b6d1d91c37471 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_shared_prefs.xml b/app/src/main/res/layout/activity_shared_prefs.xml index 631625a488e665b9373c74829d208fced7b2b54e..f7cd7ea2e78d676002ff68000b48a31893a246c7 100644 --- a/app/src/main/res/layout/activity_shared_prefs.xml +++ b/app/src/main/res/layout/activity_shared_prefs.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/activity_sys_config.xml b/app/src/main/res/layout/activity_sys_config.xml index d3ceef91fc70ce54e728a9fe48468affceb5de74..3a202a7b4bf3b980248d22069d10a93818901db3 100644 --- a/app/src/main/res/layout/activity_sys_config.xml +++ b/app/src/main/res/layout/activity_sys_config.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/app/src/main/res/layout/appbar.xml b/app/src/main/res/layout/appbar.xml index f5a73d3b2b5ba1872d1788eab18f9889a547179e..2710a7192ea6553d463b96750844b95e86eba93e 100644 --- a/app/src/main/res/layout/appbar.xml +++ b/app/src/main/res/layout/appbar.xml @@ -1,20 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <com.google.android.material.appbar.AppBarLayout xmlns:android="http://schemas.android.com/apk/res/android" diff --git a/app/src/main/res/layout/dialog_about.xml b/app/src/main/res/layout/dialog_about.xml index 01ed247149456b449b1cc5a45f9db0d66decca4b..134ca6e6a629f3c3e91dc44095413aaa921c1a2c 100644 --- a/app/src/main/res/layout/dialog_about.xml +++ b/app/src/main/res/layout/dialog_about.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_app_usage_details.xml b/app/src/main/res/layout/dialog_app_usage_details.xml index b1fd7810411affb0feecf84772a770bc5d6a9657..a270b329b6b609dce27dc7bb0a1a72c658aa2c34 100644 --- a/app/src/main/res/layout/dialog_app_usage_details.xml +++ b/app/src/main/res/layout/dialog_app_usage_details.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_backup_tasks.xml b/app/src/main/res/layout/dialog_backup_tasks.xml index c97119b8e4218b45d4778a0f92213c2ef0f68057..e450ca70b79d37e14ec71fb67cd8079387c45547 100644 --- a/app/src/main/res/layout/dialog_backup_tasks.xml +++ b/app/src/main/res/layout/dialog_backup_tasks.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_certificate_generator.xml b/app/src/main/res/layout/dialog_certificate_generator.xml index 929960b63bc684cf6cabc40b1b4407de2f17638c..9e02c449e4f07db5df6e98e94a4b0f15553ba11b 100644 --- a/app/src/main/res/layout/dialog_certificate_generator.xml +++ b/app/src/main/res/layout/dialog_certificate_generator.xml @@ -1,21 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" diff --git a/app/src/main/res/layout/dialog_disclaimer.xml b/app/src/main/res/layout/dialog_disclaimer.xml index 94cbf7fa99c66160ef766e2d081899cb96625186..5ff8a3b57a1178aa65b694232122a0f4ff9affe4 100644 --- a/app/src/main/res/layout/dialog_disclaimer.xml +++ b/app/src/main/res/layout/dialog_disclaimer.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_edit_pref_item.xml b/app/src/main/res/layout/dialog_edit_pref_item.xml index 61b09fdf837760540a82132b6a56ebd788621c06..5d1d678e1271c01861388b1f8b15fe6ce53c665a 100644 --- a/app/src/main/res/layout/dialog_edit_pref_item.xml +++ b/app/src/main/res/layout/dialog_edit_pref_item.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/app/src/main/res/layout/dialog_fullscreen.xml b/app/src/main/res/layout/dialog_fullscreen.xml index 317a8299de8f85c5bf31920418749e9b39dfe488..5dd4594b5fc97f1f454da6d61ef3906efdaba0df 100644 --- a/app/src/main/res/layout/dialog_fullscreen.xml +++ b/app/src/main/res/layout/dialog_fullscreen.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/dialog_icon_picker.xml b/app/src/main/res/layout/dialog_icon_picker.xml index 2ac16087cff4805f7d211b61620a94eadddab3d5..1a69874614c95283577f1d28c228a670be553c87 100644 --- a/app/src/main/res/layout/dialog_icon_picker.xml +++ b/app/src/main/res/layout/dialog_icon_picker.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: ISC AND GPL-3.0-or-later --> <GridView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/app/src/main/res/layout/dialog_key_pair_importer.xml b/app/src/main/res/layout/dialog_key_pair_importer.xml index b733b3c2c60a2a202e1b5631c9cbeffb2aaf21c9..8f7873ac419da04c7ac78120eb3333f56adc5f36 100644 --- a/app/src/main/res/layout/dialog_key_pair_importer.xml +++ b/app/src/main/res/layout/dialog_key_pair_importer.xml @@ -1,20 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" diff --git a/app/src/main/res/layout/dialog_list_options.xml b/app/src/main/res/layout/dialog_list_options.xml index 69657df4fe004597d31650e58ae1fc3f5f0fbd17..a37ed3906d42b3f934270532c3cbe3e6fdb6b007 100644 --- a/app/src/main/res/layout/dialog_list_options.xml +++ b/app/src/main/res/layout/dialog_list_options.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (c) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_partial_save_help.xml b/app/src/main/res/layout/dialog_partial_save_help.xml index c9781dddc706e1e526e7edd6e78cb6d7c847ee18..cafc4f6297875eeea05d96dc2a0af7d2481d6253 100644 --- a/app/src/main/res/layout/dialog_partial_save_help.xml +++ b/app/src/main/res/layout/dialog_partial_save_help.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" diff --git a/app/src/main/res/layout/dialog_profile_backup_restore.xml b/app/src/main/res/layout/dialog_profile_backup_restore.xml index 7107390dda329b7df2e9489cfebd810d849ea32c..8c629bd6eb14a48dc75f6ae8e6c4da4a1213930b 100644 --- a/app/src/main/res/layout/dialog_profile_backup_restore.xml +++ b/app/src/main/res/layout/dialog_profile_backup_restore.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/app/src/main/res/layout/dialog_progress.xml b/app/src/main/res/layout/dialog_progress.xml index 87db20424442dd03a8b929f6767f577aa301a119..c3a6f4bf1de922d39f2f1818a558e8129c2462dc 100644 --- a/app/src/main/res/layout/dialog_progress.xml +++ b/app/src/main/res/layout/dialog_progress.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/app/src/main/res/layout/dialog_restore_tasks.xml b/app/src/main/res/layout/dialog_restore_tasks.xml index 724d98161d8ca38e5af88390f3758916488b6698..e1f8ed84554f4cd5a482587e709c82438c50ed6d 100644 --- a/app/src/main/res/layout/dialog_restore_tasks.xml +++ b/app/src/main/res/layout/dialog_restore_tasks.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_scrollable_text_view.xml b/app/src/main/res/layout/dialog_scrollable_text_view.xml index 59b5a87cbe119539590a9376a9c80af5d545bd89..0fd1af132d890d9f97293e19bcb9f88e06f3ca32 100644 --- a/app/src/main/res/layout/dialog_scrollable_text_view.xml +++ b/app/src/main/res/layout/dialog_scrollable_text_view.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_searchable_multi_choice.xml b/app/src/main/res/layout/dialog_searchable_multi_choice.xml index 6b0402c11398f6b03c16a6d750ef8baa4e31847e..cff681938c6fd9c37ce647e0525d100e5c3232cf 100644 --- a/app/src/main/res/layout/dialog_searchable_multi_choice.xml +++ b/app/src/main/res/layout/dialog_searchable_multi_choice.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/dialog_searchby.xml b/app/src/main/res/layout/dialog_searchby.xml index 54144dddb0a62789baf15faf258fd45c6b583b8e..85d9aaad11a997e69d0320adacd12ee744f4c3ca 100644 --- a/app/src/main/res/layout/dialog_searchby.xml +++ b/app/src/main/res/layout/dialog_searchby.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_send_log.xml b/app/src/main/res/layout/dialog_send_log.xml index eb8d9b9e19bab84eb10e607f2ba8da77efa0a315..ca6eeaf47b3b4c0bb19aff078730f88a2fb8cf86 100644 --- a/app/src/main/res/layout/dialog_send_log.xml +++ b/app/src/main/res/layout/dialog_send_log.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/app/src/main/res/layout/dialog_settings_import_export.xml b/app/src/main/res/layout/dialog_settings_import_export.xml index 0db31fb5aa6f8c82ab3627a1ec9372bc2ffc1234..a470c981e9167b02360dde03bff0f1710591bd25 100644 --- a/app/src/main/res/layout/dialog_settings_import_export.xml +++ b/app/src/main/res/layout/dialog_settings_import_export.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_shortcut.xml b/app/src/main/res/layout/dialog_shortcut.xml index 88cebf91bbca72f32fb73a0a109acd15b0d95729..2fa193d76c8b876db370e95c0748962f529cd3d0 100644 --- a/app/src/main/res/layout/dialog_shortcut.xml +++ b/app/src/main/res/layout/dialog_shortcut.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: ISC AND GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/dialog_ssaid_info.xml b/app/src/main/res/layout/dialog_ssaid_info.xml index 77731faf4b68be1f0f90ec709b50477172accfa2..620596c6bc2fe66e584439988bb47397d3b2b52a 100644 --- a/app/src/main/res/layout/dialog_ssaid_info.xml +++ b/app/src/main/res/layout/dialog_ssaid_info.xml @@ -1,20 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ Copyright (c) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_text_input.xml b/app/src/main/res/layout/dialog_text_input.xml index 326c9675eccd2b22d87510fec2ace121b2704bbd..b4140fac9e63c6b014b080bf6300ec84efe4a501 100644 --- a/app/src/main/res/layout/dialog_text_input.xml +++ b/app/src/main/res/layout/dialog_text_input.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/dialog_text_input_dropdown.xml b/app/src/main/res/layout/dialog_text_input_dropdown.xml index 30ac3210d0e92d381505bda524bc3e4969cf2da4..8d53cfca16e7c357ccac8d22d0d69fa1eb8bb35a 100644 --- a/app/src/main/res/layout/dialog_text_input_dropdown.xml +++ b/app/src/main/res/layout/dialog_text_input_dropdown.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/dialog_title_with_icon.xml b/app/src/main/res/layout/dialog_title_with_icon.xml index 2b867bfb46bdce00e4416d89c2c7e7615a0f9ed1..bcc28f01733e88e422e1682313d90327536943f9 100644 --- a/app/src/main/res/layout/dialog_title_with_icon.xml +++ b/app/src/main/res/layout/dialog_title_with_icon.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/dialog_whats_new.xml b/app/src/main/res/layout/dialog_whats_new.xml index 74d7f80f34d7208f117a2b8a88657cc90a92b6d3..f7e4087ed1dc8b9191694625f1b0e236745879c2 100644 --- a/app/src/main/res/layout/dialog_whats_new.xml +++ b/app/src/main/res/layout/dialog_whats_new.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/list" diff --git a/app/src/main/res/layout/fragment_container.xml b/app/src/main/res/layout/fragment_container.xml index 95eba1e963c4058e5f6b265f33a595f6e5608e29..ecd3a5f9fbf0828f11d8fe860ed111afbd9a321b 100644 --- a/app/src/main/res/layout/fragment_container.xml +++ b/app/src/main/res/layout/fragment_container.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.fragment.app.FragmentContainerView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/fragment_container_view_tag" diff --git a/app/src/main/res/layout/header_app_usage.xml b/app/src/main/res/layout/header_app_usage.xml index 99d916afa4a02ea6ad78e84eb6807ed1b6d1b5d6..6895ad64510f923a35fef82cae5fc738e0dd4d43 100644 --- a/app/src/main/res/layout/header_app_usage.xml +++ b/app/src/main/res/layout/header_app_usage.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/header_logcat_add_filter.xml b/app/src/main/res/layout/header_logcat_add_filter.xml index 3f2a03bf1a9c1ce423a0a70b961403ed31dd973a..6588debe2b2e9aebe4c0789785cfc6091da52210 100644 --- a/app/src/main/res/layout/header_logcat_add_filter.xml +++ b/app/src/main/res/layout/header_logcat_add_filter.xml @@ -1,20 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_app_details_appop.xml b/app/src/main/res/layout/item_app_details_appop.xml index f89c9c268382a4aac0bd9f45a36702b260f40300..715ec4541e92a767ecf87029b9d8c2ceadae2e82 100644 --- a/app/src/main/res/layout/item_app_details_appop.xml +++ b/app/src/main/res/layout/item_app_details_appop.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_app_details_perm.xml b/app/src/main/res/layout/item_app_details_perm.xml index c4190cd0b02765aad0194f2abb876a74ce855c52..f14faf88b88cc15a3566d60225bcbc62bc713116 100644 --- a/app/src/main/res/layout/item_app_details_perm.xml +++ b/app/src/main/res/layout/item_app_details_perm.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_app_details_primary.xml b/app/src/main/res/layout/item_app_details_primary.xml index 36c1a2a2978cf2274c2b0efcf9c58e292fa4c5ac..95c2bee2b024134953ddbbbe3ca06a9ea1768ab4 100644 --- a/app/src/main/res/layout/item_app_details_primary.xml +++ b/app/src/main/res/layout/item_app_details_primary.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_app_details_secondary.xml b/app/src/main/res/layout/item_app_details_secondary.xml index 23c73a10c5ceda107ed0c4bd127836469f894110..a0145bee360f34a1c524540e2da9e6f864dcc21e 100644 --- a/app/src/main/res/layout/item_app_details_secondary.xml +++ b/app/src/main/res/layout/item_app_details_secondary.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_app_details_tertiary.xml b/app/src/main/res/layout/item_app_details_tertiary.xml index eab17f150753e511ae340b5052c31b85a151dce9..1815269f9be6aa0db3642ca56f1708d09768077a 100644 --- a/app/src/main/res/layout/item_app_details_tertiary.xml +++ b/app/src/main/res/layout/item_app_details_tertiary.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_app_info_actions.xml b/app/src/main/res/layout/item_app_info_actions.xml index e0d11afbd8d70132c32114ebfb6d3a07fb300710..eab586dbcd73553a1c4b4a8927980e3aa3f2c629 100644 --- a/app/src/main/res/layout/item_app_info_actions.xml +++ b/app/src/main/res/layout/item_app_info_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/item_app_usage.xml b/app/src/main/res/layout/item_app_usage.xml index 1c80680ac8adc9c0017ab06f51f37c23f9d80208..f03ff30babe2cb6f4ba6b64a8eb7288acaade148 100644 --- a/app/src/main/res/layout/item_app_usage.xml +++ b/app/src/main/res/layout/item_app_usage.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/item_app_usage_details.xml b/app/src/main/res/layout/item_app_usage_details.xml index 24ffcecaf11ad940392a5a93518797c804d67b9d..b2f869f80b4f566bcc02ab3e236068ef8dd3ee1f 100644 --- a/app/src/main/res/layout/item_app_usage_details.xml +++ b/app/src/main/res/layout/item_app_usage_details.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_checked_text_view.xml b/app/src/main/res/layout/item_checked_text_view.xml index d762a097a48b3c287c7690f5cd20efdf9a3804fb..ae4f16dc832c4955a1f2ac203fd111d3a120e74e 100644 --- a/app/src/main/res/layout/item_checked_text_view.xml +++ b/app/src/main/res/layout/item_checked_text_view.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@android:id/text1" diff --git a/app/src/main/res/layout/item_divider_horizontal.xml b/app/src/main/res/layout/item_divider_horizontal.xml index 32e8a0ec816c74ba69d55b1e6aea3af6f49e6cca..2e575906e5310e260cff35901c234ab88a544ffd 100644 --- a/app/src/main/res/layout/item_divider_horizontal.xml +++ b/app/src/main/res/layout/item_divider_horizontal.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <View xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_icon_title_subtitle.xml b/app/src/main/res/layout/item_icon_title_subtitle.xml index 99106736c2908fa83d5fe0f90dacd7817e21f222..e6bfa4c6d68aa406462ff620a315bd7a9936b11c 100644 --- a/app/src/main/res/layout/item_icon_title_subtitle.xml +++ b/app/src/main/res/layout/item_icon_title_subtitle.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/item_logcat.xml b/app/src/main/res/layout/item_logcat.xml index 4a0ff197d88fc4ee219b0b6bd85b16e80cc46743..313d2986f2efa931808f1b15e42609799fe2034f 100644 --- a/app/src/main/res/layout/item_logcat.xml +++ b/app/src/main/res/layout/item_logcat.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_main.xml b/app/src/main/res/layout/item_main.xml index 19058ae0489bd2d78cb6f8b9f0d3272c752057f1..152ff16f63f5096bba0afba7b7f018ce5dbeb55f 100644 --- a/app/src/main/res/layout/item_main.xml +++ b/app/src/main/res/layout/item_main.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/item_running_app.xml b/app/src/main/res/layout/item_running_app.xml index e6b48089a86689854031179c0e4ea2d3765dd4c8..c6bc2be36623bb2208817ff91f7e0ec7d60e4eb3 100644 --- a/app/src/main/res/layout/item_running_app.xml +++ b/app/src/main/res/layout/item_running_app.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/item_shared_pref.xml b/app/src/main/res/layout/item_shared_pref.xml index b14a10c37ce5cf3d4ad30acb5162313e07dfb644..4056714e3587acddcdc0103cf7b130fc42cac2f4 100644 --- a/app/src/main/res/layout/item_shared_pref.xml +++ b/app/src/main/res/layout/item_shared_pref.xml @@ -1,20 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/item_layout" diff --git a/app/src/main/res/layout/item_sys_config.xml b/app/src/main/res/layout/item_sys_config.xml index 090e9b6f6d1b37b1c76b90ff2283f6581b15d5bf..1fa1161e6de4e7e5ce527c2cc4702c57ee38daa2 100644 --- a/app/src/main/res/layout/item_sys_config.xml +++ b/app/src/main/res/layout/item_sys_config.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_text_view.xml b/app/src/main/res/layout/item_text_view.xml index 28adfce15846ed50977bc0ba827b1a0ee76b6a65..a8bbc89d0b0478347e81a23760b0cced838f0435 100644 --- a/app/src/main/res/layout/item_text_view.xml +++ b/app/src/main/res/layout/item_text_view.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <TextView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/item_title_action.xml b/app/src/main/res/layout/item_title_action.xml index 1b8e2493db338ce3b37ca1c9eef247e936e67c9b..57a2c8e8523db69afdc21adac9747032d76bc2f1 100644 --- a/app/src/main/res/layout/item_title_action.xml +++ b/app/src/main/res/layout/item_title_action.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" diff --git a/app/src/main/res/layout/item_title_subtitle_inline.xml b/app/src/main/res/layout/item_title_subtitle_inline.xml index 2393945ef974158628f0e8b8962650fb182b5862..dd092d2226c20f66d9a1e4dc54b38afe6985fb41 100644 --- a/app/src/main/res/layout/item_title_subtitle_inline.xml +++ b/app/src/main/res/layout/item_title_subtitle_inline.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/app/src/main/res/layout/pager_app_details.xml b/app/src/main/res/layout/pager_app_details.xml index dd047073f55215487f0d5a63f3b2cda5509178e9..84b0e98f1750793db020710c2bc9168b02f0356c 100644 --- a/app/src/main/res/layout/pager_app_details.xml +++ b/app/src/main/res/layout/pager_app_details.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/pager_app_info.xml b/app/src/main/res/layout/pager_app_info.xml index 8dffd4be09f1a6658052235535c9370a0fe38900..186c1a38eb51c816807b260c3d6e9afc411d8fb1 100644 --- a/app/src/main/res/layout/pager_app_info.xml +++ b/app/src/main/res/layout/pager_app_info.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/layout/widget_recording.xml b/app/src/main/res/layout/widget_recording.xml index 7e47d2b9c0a8ff4f0d5020cabdcbaea0c65b3604..5ac921a4de65a72820d0a602d29921231f2d5d79 100644 --- a/app/src/main/res/layout/widget_recording.xml +++ b/app/src/main/res/layout/widget_recording.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> - +<!-- SPDX-License-Identifier: WTFPL --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/menu/activity_activity_interceptor_actions.xml b/app/src/main/res/menu/activity_activity_interceptor_actions.xml index 22d79d73fccd1b8b52235490b51660e14ac5457f..6975a44b50033c741b87a72d03b232726924163d 100644 --- a/app/src/main/res/menu/activity_activity_interceptor_actions.xml +++ b/app/src/main/res/menu/activity_activity_interceptor_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/activity_any_viewer_actions.xml b/app/src/main/res/menu/activity_any_viewer_actions.xml index 6c13b9a416e1c817d34a9b2c5d0aa6d00db8e12e..d7fefd6b77c0c41be04e3ef43f1138b07279a614 100644 --- a/app/src/main/res/menu/activity_any_viewer_actions.xml +++ b/app/src/main/res/menu/activity_any_viewer_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/menu/activity_app_usage_actions.xml b/app/src/main/res/menu/activity_app_usage_actions.xml index d8b07dde46c95697c777f8aa015bd27377a7c939..8b5b4c842467ab6461fc2da2792551fa1b8be739 100644 --- a/app/src/main/res/menu/activity_app_usage_actions.xml +++ b/app/src/main/res/menu/activity_app_usage_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/menu/activity_class_listing_actions.xml b/app/src/main/res/menu/activity_class_listing_actions.xml index ded1ef12eecc4b6861b43db84e3398ba4bdb49c7..543361614c0d9756f1f5446fe664c3a3f37e80de 100644 --- a/app/src/main/res/menu/activity_class_listing_actions.xml +++ b/app/src/main/res/menu/activity_class_listing_actions.xml @@ -1,20 +1,4 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" diff --git a/app/src/main/res/menu/activity_logcat_actions.xml b/app/src/main/res/menu/activity_logcat_actions.xml index 5f8d7f027a3f5ff086f3a0ce2719b8da61d30e55..284b89a45c8c26c6f0e5bd517262bc1c7f08d105 100644 --- a/app/src/main/res/menu/activity_logcat_actions.xml +++ b/app/src/main/res/menu/activity_logcat_actions.xml @@ -1,20 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2021 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: WTFPL AND GPL-3.0-or-later --> <menu xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/activity_main_actions.xml b/app/src/main/res/menu/activity_main_actions.xml index 23c56eeea5e380f1c25a5286078cc61bb3eb831c..7f6476bb7b15b29a24a833d530171dac3ba39571 100644 --- a/app/src/main/res/menu/activity_main_actions.xml +++ b/app/src/main/res/menu/activity_main_actions.xml @@ -1,20 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item diff --git a/app/src/main/res/menu/activity_main_selection_actions.xml b/app/src/main/res/menu/activity_main_selection_actions.xml index edd361111cfea997b55333cf0a6d6f3e08873d17..2ba09d1f55ae86b835e99017868842865000b435 100644 --- a/app/src/main/res/menu/activity_main_selection_actions.xml +++ b/app/src/main/res/menu/activity_main_selection_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/menu/activity_profile_navigation.xml b/app/src/main/res/menu/activity_profile_navigation.xml index e333e78bd0ae5ae90eb7f22ab3e35b28f1f19889..695ed979f33e0f486355d798b42ff34dddea4075 100644 --- a/app/src/main/res/menu/activity_profile_navigation.xml +++ b/app/src/main/res/menu/activity_profile_navigation.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/action_apps" diff --git a/app/src/main/res/menu/activity_profiles_actions.xml b/app/src/main/res/menu/activity_profiles_actions.xml index 35364c52dba742d178b88e445deb2fc5542e7bd3..7a5c5679fafd4f23e22cdcae8f7f29440f2c672b 100644 --- a/app/src/main/res/menu/activity_profiles_actions.xml +++ b/app/src/main/res/menu/activity_profiles_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android"> <item diff --git a/app/src/main/res/menu/activity_profiles_popup_actions.xml b/app/src/main/res/menu/activity_profiles_popup_actions.xml index b7dc382483f439c2cd6cd92fd3a480176c09d3da..2a3874de22dc64250e270486e49d9824fe377433 100644 --- a/app/src/main/res/menu/activity_profiles_popup_actions.xml +++ b/app/src/main/res/menu/activity_profiles_popup_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item diff --git a/app/src/main/res/menu/activity_running_apps_actions.xml b/app/src/main/res/menu/activity_running_apps_actions.xml index e196d773fe69a67e8568205f5910ee6d4d21c971..d412104ef29d34f7195cf11f89156808bb7c468f 100644 --- a/app/src/main/res/menu/activity_running_apps_actions.xml +++ b/app/src/main/res/menu/activity_running_apps_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/menu/activity_running_apps_popup_actions.xml b/app/src/main/res/menu/activity_running_apps_popup_actions.xml index 5e6a6f800c55ce041ea3e2574cd4710a9e30f82c..23aa00bfd161eb3a0290cb874294b803870a7485 100644 --- a/app/src/main/res/menu/activity_running_apps_popup_actions.xml +++ b/app/src/main/res/menu/activity_running_apps_popup_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item diff --git a/app/src/main/res/menu/activity_running_apps_selection_actions.xml b/app/src/main/res/menu/activity_running_apps_selection_actions.xml index 2491fb6860615b6d20eafa0edc4326d7c0734cf2..4f155181510c2594dff2e31036ed7ff42ee35ee2 100644 --- a/app/src/main/res/menu/activity_running_apps_selection_actions.xml +++ b/app/src/main/res/menu/activity_running_apps_selection_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/activity_scanner.xml b/app/src/main/res/menu/activity_scanner.xml index fbc34e1ac017a40638ad987aa3e5cf22da88701f..d61513ec1e4082d5ae22046c978cb4903380ba49 100644 --- a/app/src/main/res/menu/activity_scanner.xml +++ b/app/src/main/res/menu/activity_scanner.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item diff --git a/app/src/main/res/menu/activity_shared_prefs_actions.xml b/app/src/main/res/menu/activity_shared_prefs_actions.xml index 48757739bf5d13b081a3c4cfc2e37a96129b8ebf..ee4d61fdbbbde8add2359331ad21cd926d6841fb 100644 --- a/app/src/main/res/menu/activity_shared_prefs_actions.xml +++ b/app/src/main/res/menu/activity_shared_prefs_actions.xml @@ -1,20 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/menu/fragment_app_details_app_ops_actions.xml b/app/src/main/res/menu/fragment_app_details_app_ops_actions.xml index 0e377c9cf0b63f11ac0359f6e95a311d39c49292..47f1e29dfccac61717d0779085026cde49579a70 100644 --- a/app/src/main/res/menu/fragment_app_details_app_ops_actions.xml +++ b/app/src/main/res/menu/fragment_app_details_app_ops_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/fragment_app_details_components_actions.xml b/app/src/main/res/menu/fragment_app_details_components_actions.xml index 71ae5011760d374584cd283f97895d1cd7c6fb1f..a72d5e51fdb62eeeb051d41d71c23437197eb975 100644 --- a/app/src/main/res/menu/fragment_app_details_components_actions.xml +++ b/app/src/main/res/menu/fragment_app_details_components_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/fragment_app_details_permissions_actions.xml b/app/src/main/res/menu/fragment_app_details_permissions_actions.xml index 19ca5daa7dec640267325869856b79d665024954..c9d2e43717bccd3423f6f7fc0fb6d947d5744161 100644 --- a/app/src/main/res/menu/fragment_app_details_permissions_actions.xml +++ b/app/src/main/res/menu/fragment_app_details_permissions_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/fragment_app_details_refresh_actions.xml b/app/src/main/res/menu/fragment_app_details_refresh_actions.xml index 650f568df92a26a17758acf05eee207eda6d2974..7004e2f8ca8f649a59acdaf4cc9f4b6ff869ccdd 100644 --- a/app/src/main/res/menu/fragment_app_details_refresh_actions.xml +++ b/app/src/main/res/menu/fragment_app_details_refresh_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/fragment_app_info_actions.xml b/app/src/main/res/menu/fragment_app_info_actions.xml index ea7ad1f9f9a8eee299be54c096715f72565cc0e0..bb9b15f205b8869181770462eb1451fef9b19afb 100644 --- a/app/src/main/res/menu/fragment_app_info_actions.xml +++ b/app/src/main/res/menu/fragment_app_info_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> diff --git a/app/src/main/res/menu/fragment_profile_apps_actions.xml b/app/src/main/res/menu/fragment_profile_apps_actions.xml index 3e05ee8de44769e9181887b455c3a281fb467ce0..ba57e72e6db4d00a894c1988df72c6058ea3c853 100644 --- a/app/src/main/res/menu/fragment_profile_apps_actions.xml +++ b/app/src/main/res/menu/fragment_profile_apps_actions.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <menu xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_banner.xml b/app/src/main/res/mipmap-anydpi-v26/ic_banner.xml index cf3108b3644843b9c11e589c147c23ad3314ac0d..db364cc2032ffa5b36452326be9c3c229b21f799 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_banner.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_banner.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@color/ic_banner_background"/> <foreground android:drawable="@mipmap/ic_banner_foreground"/> 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 7353dbd1fd82487df2d06121f85f7994728f1070..b23bdaf12808e99631179b1c1184fbcbcdacad0a 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,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@color/ic_launcher_background"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/> 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 7353dbd1fd82487df2d06121f85f7994728f1070..b23bdaf12808e99631179b1c1184fbcbcdacad0a 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,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@color/ic_launcher_background"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/> diff --git a/app/src/main/res/values-ar-rSA/disclaimer.xml b/app/src/main/res/values-ar-rSA/disclaimer.xml index a7f141a6c8d0e5a2921492e2631d9075a2272e4c..2e626a6fdc29e9dfb90102bf53343986519a4895 100644 --- a/app/src/main/res/values-ar-rSA/disclaimer.xml +++ b/app/src/main/res/values-ar-rSA/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">إخلاء المسؤولية</string> </resources> diff --git a/app/src/main/res/values-ar-rSA/strings.xml b/app/src/main/res/values-ar-rSA/strings.xml index b55f2c3b564b9703d0ad35de0d79dc1e319f2a19..be374a937b2256a6f823183e516ca673c5372f54 100644 --- a/app/src/main/res/values-ar-rSA/strings.xml +++ b/app/src/main/res/values-ar-rSA/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources> <string name="uninstall">إلغاء التثبيت</string> <string name="permissions">إستخدام الأذونات</string> <string name="require_no_permission">لا توجد أذونات مطلوبة</string> diff --git a/app/src/main/res/values-ar/disclaimer.xml b/app/src/main/res/values-ar/disclaimer.xml index 98caa4c7e6729b08315dbc4cffa2c07eb38e482e..bde1506cf18f5ec395d37f20559cf1fe28c0afb1 100644 --- a/app/src/main/res/values-ar/disclaimer.xml +++ b/app/src/main/res/values-ar/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">إخلاء مسؤولية</string> <string name="disclaimer_footer">© 2020 منتصر الإسلام</string> diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 96946c64c07beb3b0f0eb57a0ae0703324d46780..f80d5bf8479f2b74d4ce125e41d35f4a39459f0d 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">ar</string> <string name="app_signing_install_without_data_loss">إذا قمت بإيقاف تشغيل التحقق من التوقيع ، يمكنك استخدام خيار <b> تثبيت </b> فقط لتثبيت التطبيق دون فقدان البيانات.</string> diff --git a/app/src/main/res/values-bn-rBD/disclaimer.xml b/app/src/main/res/values-bn-rBD/disclaimer.xml index 6a3ffc6a6cb277ba05ea8f61bddecddb9760f42d..89d20ef140cb4cf48ebce47c4e8466857829f00b 100644 --- a/app/src/main/res/values-bn-rBD/disclaimer.xml +++ b/app/src/main/res/values-bn-rBD/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">অস্বীকৃতি</string> <string name="disclaimer_body">অ্যাপ ম্যানেজার যে রুট ফাংশন গুলো সরবাহ করে তা যদি সঠিকভাবে ব্যবহৃত না হয় তাহলে diff --git a/app/src/main/res/values-bn-rBD/strings.xml b/app/src/main/res/values-bn-rBD/strings.xml index cb6d8d5dbe784f0e1ad6b12b73f0286c2f786e74..66eb8486461865a7d4fcc8ca051e1ec787656ecc 100644 --- a/app/src/main/res/values-bn-rBD/strings.xml +++ b/app/src/main/res/values-bn-rBD/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="_lang_tag" translatable="false">bn-BD</string> <string name="uninstall">আনইনস্টল</string> <string name="require_no_permission">কোন অনুমতির প্রয়োজন নেই</string> diff --git a/app/src/main/res/values-cs-rCZ/strings.xml b/app/src/main/res/values-cs-rCZ/strings.xml index e5b8872ce9b97a68fc2697a057469274ad1a6682..66aa96b71ac4bdd9711a56973eced18309df501e 100644 --- a/app/src/main/res/values-cs-rCZ/strings.xml +++ b/app/src/main/res/values-cs-rCZ/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources> <string name="uninstall">Odinstalovat</string> <string name="require_no_permission">Nejsou vyžadována žádná oprávnění</string> <string name="activities">Aktivity</string> diff --git a/app/src/main/res/values-cs/disclaimer.xml b/app/src/main/res/values-cs/disclaimer.xml index 1d9a49848098292557fec676090a142877edb70b..7d905f0e49c1f5fccc2df0a56b56d5e94006a35a 100644 --- a/app/src/main/res/values-cs/disclaimer.xml +++ b/app/src/main/res/values-cs/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">Zřeknutí se odpovědnosti</string> </resources> \ No newline at end of file diff --git a/app/src/main/res/values-de/disclaimer.xml b/app/src/main/res/values-de/disclaimer.xml index 903dac114c936d71e683bb19d4d051811cf0759c..c45cd7a9b4d3a4c0f5fe48d481405c12d1d1a63a 100644 --- a/app/src/main/res/values-de/disclaimer.xml +++ b/app/src/main/res/values-de/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">HAFTUNGSAUSSCHLUSS</string> <string name="disclaimer_body">App Manager bietet Root-Funktionen, die Ihr Gerät unbrauchbar machen können, wenn sie falsch angewendet werden. App Manager ist nicht verantwortlich zu machen für jedwede Art von Schaden, der durch die Nutzung der Applikation entsteht. Wenn Sie sich nicht vollkommen klar darüber sind, wie Root-Funktionen verwendet werden, dann vermeiden Sie eine Anwendung bis Sie das Risiko einschätzen können. diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index da867a1d0ef3a4a28dfb319ee0214bdb5ec7180f..dc4e360a2f27c8a65966c69b92f240912435bf68 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">de</string> <string name="uninstall">Deinstallieren</string> <string name="permissions">Verwendet Berechtigungen</string> diff --git a/app/src/main/res/values-eo/disclaimer.xml b/app/src/main/res/values-eo/disclaimer.xml index b9ff5f2a5726d135dea2d444d0e174755be28c30..b70966dabf34872881737f1abbccb09c623b584e 100644 --- a/app/src/main/res/values-eo/disclaimer.xml +++ b/app/src/main/res/values-eo/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_body">App Manager ofertas funkciojn de ĉefuzanto, kiuj eble povus damaĝi vian aparaton se ili estas malĝuste uzataj. App Manager ne respondecas pri iuj ajn damaĝoj kaŭzitaj de la uzo de ĉi tiu aplikaĵo. Se vi ne plene konscias pri la funkcioj de ĉefuzanto, vi evitu uzi ĉefuzantajn opciojn ĝis vi plene konscias pri la riskoj. \n diff --git a/app/src/main/res/values-eo/strings.xml b/app/src/main/res/values-eo/strings.xml index f9014a88441456c116fdfb50275e63882bef6bf8..c132b7c3ba80208025ffd1dda7a6c7b018345992 100644 --- a/app/src/main/res/values-eo/strings.xml +++ b/app/src/main/res/values-eo/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="paths_and_directories">Vojoj kaj Dosierujoj</string> <string name="user_app">Uzanta aplikaĵo</string> diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index e5f9c5b48a232f6857346e3058c05ac8123d84e5..b4b9ddca71b8847bafb528cea95815f2c512b51f 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">es-ES</string> <string name="uninstall">Desinstalar</string> <string name="permissions">Usos de los permisos</string> diff --git a/app/src/main/res/values-es/disclaimer.xml b/app/src/main/res/values-es/disclaimer.xml index 7098e3900ccddbcf2b375f49a69eac889c3c3915..91ccd43bd9cb3421a4e19a515136667cf0db5015 100644 --- a/app/src/main/res/values-es/disclaimer.xml +++ b/app/src/main/res/values-es/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">Descargo de responsabilidad</string> <string name="disclaimer_exit">Salir</string> diff --git a/app/src/main/res/values-fa/disclaimer.xml b/app/src/main/res/values-fa/disclaimer.xml index 605cc3d47fedf0312a56a677a54469932ad0e47d..ba207766d2908d51a241d4fa86d7c308ccf5019a 100644 --- a/app/src/main/res/values-fa/disclaimer.xml +++ b/app/src/main/res/values-fa/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_exit">خروج</string> <string name="disclaimer_agree">قبول میکنم</string> diff --git a/app/src/main/res/values-fa/strings.xml b/app/src/main/res/values-fa/strings.xml index d09dde664b7ac12bf1067accbb322bae5e26a728..8c7db872d460601db187eb90fd89144b73ba5b56 100644 --- a/app/src/main/res/values-fa/strings.xml +++ b/app/src/main/res/values-fa/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="_lang_tag" translatable="false">fa</string> <string name="external_multiple_data_dir">دایرکتوری دادههای خارجی <xliff:g id="dir_no" example="1">%1$d</xliff:g></string> diff --git a/app/src/main/res/values-fr/disclaimer.xml b/app/src/main/res/values-fr/disclaimer.xml index d8e54bb6a50849a018f039e4efc6c31ca15ea471..d7447888ede8ef426a0b09db3951ced0ccf52e60 100644 --- a/app/src/main/res/values-fr/disclaimer.xml +++ b/app/src/main/res/values-fr/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">AVERTISSEMENT</string> <string name="disclaimer_exit">Quitter</string> diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 151e2f68be1b25e057b0ac1e31e3f57a562ac6f3..17dc0396664c271c04a68d9f0513ea7c26eb4a6c 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="_lang_tag" translatable="false">fr</string> <string name="uninstall">Désinstaller</string> diff --git a/app/src/main/res/values-hi/disclaimer.xml b/app/src/main/res/values-hi/disclaimer.xml index 73067821173b969bbb8005f90c70f25e630c5e71..e3288967039f8771833e21c0896b1257424ad620 100644 --- a/app/src/main/res/values-hi/disclaimer.xml +++ b/app/src/main/res/values-hi/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">अस्वीकरण</string> <string name="disclaimer_exit">निकास</string> diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 30f136d35241b5e62ca7ebea983bfef421fec73c..5e5c495eb9262e1fa3f042f3458d4aaf511d7cac 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="_lang_tag" translatable="false">hi</string> <string name="deny_app_ops_description">कांस्टेंट वैल्यू द्वारा पहचाने गए ऐप ऑपरेशंस को अस्वीकार करें, यानी 63 का मतलब है RUN_IN_BACKGROUND</string> diff --git a/app/src/main/res/values-hu/disclaimer.xml b/app/src/main/res/values-hu/disclaimer.xml index a6b3daec9354f9ae75cdf8d94a67446c6227dd96..5ffb222f4351bce32f510a3b10fc350ceaca013c 100644 --- a/app/src/main/res/values-hu/disclaimer.xml +++ b/app/src/main/res/values-hu/disclaimer.xml @@ -1,2 +1,3 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources></resources> \ No newline at end of file diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index c27d31141b0c32f3d6cd6f1c5c2dcd8ab2bb3393..05460e86e737bd6155351a6cfb5d64efe2afa2f8 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="error">Hiba</string> <string name="no_configurations">Nincsenek konfigurációk</string> diff --git a/app/src/main/res/values-in-rID/disclaimer.xml b/app/src/main/res/values-in-rID/disclaimer.xml index 62d3fe2405821c9ad7bf46b3853abc2b540e6000..e86f042b141cf4eb0742113089f9e26042d1522c 100644 --- a/app/src/main/res/values-in-rID/disclaimer.xml +++ b/app/src/main/res/values-in-rID/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">SYARAT PEMAKAIAN / DISCLAIMER</string> <string name="disclaimer_body">App Manajer menawarkan fungsi root yang mungkin dapat membahayakan perangkat Anda jika digunakan secara tidak benar. App Manajer tidak bertanggung jawab atas segala kerusakan yang dibuat oleh pengguna aplikasi ini. Jika Anda tidak sepenuhnya mengetahui cara kerja root maka Anda harus menghindarinya menggunakan opsi root hingga Anda sepenuhnya menyadari risikonya. diff --git a/app/src/main/res/values-in-rID/strings.xml b/app/src/main/res/values-in-rID/strings.xml index 3fd2439b5e2b71d50641cd13e2618ce57e806ae8..484ed223a39ce3c2201b719f092b4a0d56f0349a 100644 --- a/app/src/main/res/values-in-rID/strings.xml +++ b/app/src/main/res/values-in-rID/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="uninstall">Hapus Pemasangan</string> <string name="permissions">Memerlukan Izin</string> <string name="require_no_permission">Tidak memerlukan izin</string> diff --git a/app/src/main/res/values-it-rIT/disclaimer.xml b/app/src/main/res/values-it-rIT/disclaimer.xml index 579ec5ea3b42d4eb3f90be65e07869cc2f51c2c3..11260f202c1945acda5cd7f80d16a8efb47ca0a0 100644 --- a/app/src/main/res/values-it-rIT/disclaimer.xml +++ b/app/src/main/res/values-it-rIT/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">DICHIARAZIONE DI NON RESPONSABILITÀ</string> <string name="disclaimer_footer">© 2020 Muntashir Al-Islam</string> diff --git a/app/src/main/res/values-it-rIT/strings.xml b/app/src/main/res/values-it-rIT/strings.xml index 037a05172327e37c7b44e74bac4d354241dd8a94..516a2e07a165f8ccd0f86e39ae61cc7b7205c47a 100644 --- a/app/src/main/res/values-it-rIT/strings.xml +++ b/app/src/main/res/values-it-rIT/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <!-- ~ Copyright (C) 2020 Muntashir Al-Islam ~ diff --git a/app/src/main/res/values-ja/disclaimer.xml b/app/src/main/res/values-ja/disclaimer.xml index 0e9c8c862c608dd56c40dac5cf87866bd64d4c86..8794f58db6b6796ad3b265665f22da3efcd3a82a 100644 --- a/app/src/main/res/values-ja/disclaimer.xml +++ b/app/src/main/res/values-ja/disclaimer.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources> <string name="disclaimer_header">免責事項</string> <string name="disclaimer_body">App Managerは、誤って使用するとデバイスに害を及ぼす可能性のあるルート機能を提供します。 App Managerは、このアプリケーションを使用して生じたいかなる損害についても責任を負いません。 diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index f0f468bfb3f1338ab32891554482e0671a41c975..4ccecdb503670cf440ad47d153ba4e5e69f0d450 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">ja-JP</string> <string name="uninstall">アンインストール</string> <string name="permissions">アプリ権限</string> diff --git a/app/src/main/res/values-ko/disclaimer.xml b/app/src/main/res/values-ko/disclaimer.xml index a6b3daec9354f9ae75cdf8d94a67446c6227dd96..5ffb222f4351bce32f510a3b10fc350ceaca013c 100644 --- a/app/src/main/res/values-ko/disclaimer.xml +++ b/app/src/main/res/values-ko/disclaimer.xml @@ -1,2 +1,3 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources></resources> \ No newline at end of file diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index 245079411e5058f61e2d876f860cd0b829c397a9..9c924a234ac78d30179fa6f4c7a0433ff9afc284 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="uses_feature">사용한 기능</string> <string name="protection_level">보호 수준</string> diff --git a/app/src/main/res/values-nb-rNO/disclaimer.xml b/app/src/main/res/values-nb-rNO/disclaimer.xml index d7ccf3edc237d7ed1e7f5e72bc998dd0f1cdd270..c4c1a2980776264b55d36d0e4b37880d39a59dcd 100644 --- a/app/src/main/res/values-nb-rNO/disclaimer.xml +++ b/app/src/main/res/values-nb-rNO/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_footer">© 2020–2021 Muntashir Al-Islam</string> <string name="disclaimer_header">ANSVARSFRASKRIVELSE</string> diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml index 0432a6da6d0105e2b078eeeaf283bc2ddca6347f..968ae419d3f30811a9339e5e595943ee81da638f 100644 --- a/app/src/main/res/values-nb-rNO/strings.xml +++ b/app/src/main/res/values-nb-rNO/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">nb-NO</string> <string name="choose_language">Endre språk</string> diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index ae911a9e15b862c63e4e74126279ec7e44908311..d8e6bcac48e46a459929cd3c26938e70dffb3604 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <color name="colorPrimary">#FF121212</color> <color name="colorPrimaryDark">#FF121212</color> diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml index d57f41b3fc50be24fac9a7c41afcc4f0e87732a1..cc6f72d1fddf91ed2621905de455a9a4a9fa0ce7 100644 --- a/app/src/main/res/values-night/styles.xml +++ b/app/src/main/res/values-night/styles.xml @@ -1,20 +1,4 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <style name="Theme.MaterialComponents.DayNight.NoActionBar" parent="Theme.MaterialComponents.NoActionBar"> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> diff --git a/app/src/main/res/values-pl/disclaimer.xml b/app/src/main/res/values-pl/disclaimer.xml index 16837e7f3aedd678bce385a68b8dfab39edd7d70..4b1547233f0ee1aade0607e00ba0b8f0aae39803 100644 --- a/app/src/main/res/values-pl/disclaimer.xml +++ b/app/src/main/res/values-pl/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_exit">Wyjdź</string> <string name="disclaimer_agree">Zgadzam się</string> diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index f433522917049eb354f67cad317448c0e6a17d6f..31b1804eab665cb337ea5e244b0938cd7c20c5a1 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="_lang_tag" translatable="false">pl</string> <string name="user_id">ID użytkownika</string> diff --git a/app/src/main/res/values-pt-rBR/disclaimer.xml b/app/src/main/res/values-pt-rBR/disclaimer.xml index 1f090a795c3de1a012d334c17bee54b643e425a5..8a95fd4709d6c9ff61f260a878b04c218f62b6eb 100644 --- a/app/src/main/res/values-pt-rBR/disclaimer.xml +++ b/app/src/main/res/values-pt-rBR/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">AVISO</string> <string name="disclaimer_body">O App Manager oferece funções Root que podem eventualmente prejudicar diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index e5162b9be2842cd52288b8c33c999dd4ba946ebe..56f54162ef5a66f4ac44979cd0119b608c8e9a5a 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">pt-BR</string> <string name="uninstall">Desinstalar</string> <string name="permissions">Permissões utilizadas</string> diff --git a/app/src/main/res/values-pt/disclaimer.xml b/app/src/main/res/values-pt/disclaimer.xml index 74819167affb4445ae97c4deed39b5254454eda0..b37847569f30a8dd18046869da748f246aa7b0c3 100644 --- a/app/src/main/res/values-pt/disclaimer.xml +++ b/app/src/main/res/values-pt/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_exit">Sair</string> <string name="disclaimer_agree">Eu Concordo</string> diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 4fc0e1514efb0b7d89592782877db89e5738ddaa..f0ac990f1a92220136fb0202079153f4a6465a16 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">pt</string> <string name="choose_language">Mudar idioma</string> diff --git a/app/src/main/res/values-ru-rRU/disclaimer.xml b/app/src/main/res/values-ru-rRU/disclaimer.xml index d1a09f92199db700ee5aa1f9ad8c5fb3dbb21325..e6fb6526ab512251917e68bb461ac7675c766e1c 100644 --- a/app/src/main/res/values-ru-rRU/disclaimer.xml +++ b/app/src/main/res/values-ru-rRU/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">ПРЕДУПРЕЖДЕНИЕ</string> <string name="disclaimer_body">App Manager предлагает функции, которых могут выполняться с помощью root-прав, которые могут нанести вред diff --git a/app/src/main/res/values-ru-rRU/strings.xml b/app/src/main/res/values-ru-rRU/strings.xml index 49239eeb254bb76d18f28ed134a5d8eccb71c552..0c295ccbde6f9e7c1d87386a6dd87ffdba8d0e23 100644 --- a/app/src/main/res/values-ru-rRU/strings.xml +++ b/app/src/main/res/values-ru-rRU/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">ru-RU</string> <string name="uninstall">Удалить</string> <string name="permissions">Используемые разрешения</string> diff --git a/app/src/main/res/values-si/disclaimer.xml b/app/src/main/res/values-si/disclaimer.xml index a6b3daec9354f9ae75cdf8d94a67446c6227dd96..5ffb222f4351bce32f510a3b10fc350ceaca013c 100644 --- a/app/src/main/res/values-si/disclaimer.xml +++ b/app/src/main/res/values-si/disclaimer.xml @@ -1,2 +1,3 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources></resources> \ No newline at end of file diff --git a/app/src/main/res/values-si/strings.xml b/app/src/main/res/values-si/strings.xml index 4f60ca3e8ad7cc86350733231c2503236c77eeb4..e291ceef16f8845d030abd4da64f61aa9dc4bba9 100644 --- a/app/src/main/res/values-si/strings.xml +++ b/app/src/main/res/values-si/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="service">සේවාවන්</string> </resources> \ No newline at end of file diff --git a/app/src/main/res/values-tr-rTR/disclaimer.xml b/app/src/main/res/values-tr-rTR/disclaimer.xml index 7c1a1057cb317873b4ecc3eb300788d2f4b88b65..119c3cd17b807efdbbeb199961a2eb2b11fcaa40 100644 --- a/app/src/main/res/values-tr-rTR/disclaimer.xml +++ b/app/src/main/res/values-tr-rTR/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_agree">Kabul Ediyorum</string> <string name="disclaimer_exit">Çıkış</string> diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml index 95d379880b16363bf43e964c0f000bcaa55c6fba..09824726c0e596e028e941e6941e97e38b3e40d1 100644 --- a/app/src/main/res/values-tr-rTR/strings.xml +++ b/app/src/main/res/values-tr-rTR/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">tr-TR</string> <string name="uninstall">Uygulamayı Kaldır</string> <string name="permissions">Kullanılan izinler</string> diff --git a/app/src/main/res/values-uk-rUA/strings.xml b/app/src/main/res/values-uk-rUA/strings.xml index 77b533b080115060330e15a8196c139b06b87db4..2be61493ce732e31c80a32da46548ba1f16d102b 100644 --- a/app/src/main/res/values-uk-rUA/strings.xml +++ b/app/src/main/res/values-uk-rUA/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">uk-UA</string> <string name="uninstall">Видалити</string> <string name="activities">Activities</string> diff --git a/app/src/main/res/values-uk/disclaimer.xml b/app/src/main/res/values-uk/disclaimer.xml index af5890e653b2b76b943362c7b5bbe1e2bcf80f43..486579baf211622ba7aea16f0e8e614f807d3a15 100644 --- a/app/src/main/res/values-uk/disclaimer.xml +++ b/app/src/main/res/values-uk/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_exit">Вийти</string> <string name="disclaimer_agree">Погоджуюся</string> diff --git a/app/src/main/res/values-vi/disclaimer.xml b/app/src/main/res/values-vi/disclaimer.xml index 1e5fb5320a4bd80429a794cf04ad13a520a873f1..e6e545ab8b63b04cb1e0d62dacb8c29bd9202f8b 100644 --- a/app/src/main/res/values-vi/disclaimer.xml +++ b/app/src/main/res/values-vi/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_footer">© 2020–2021 Muntashir Al-Islam</string> <string name="disclaimer_body">Trình quản lý ứng dụng cung cấp các chức năng root có thể gây hại cho thiết bị của bạn nếu sử dụng không đúng cách. Trình quản lý ứng dụng không chịu trách nhiệm về bất kỳ thiệt hại nào do sử dụng ứng dụng này. Nếu bạn không nhận thức đầy đủ về cách thức hoạt động của root thì bạn nên tránh sử dụng các tùy chọn root cho đến khi bạn nhận thức đầy đủ về các rủi ro. diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml index c155eb0bbed4d1903cf401cf8df4c1c4f81f3424..bbe1893a10ac313ae1ee04fbdd31afcff98ab6f6 100644 --- a/app/src/main/res/values-vi/strings.xml +++ b/app/src/main/res/values-vi/strings.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="_lang_tag" translatable="false">vi</string> <string name="path_permissions">Quyền đường dẫn</string> diff --git a/app/src/main/res/values-zh-rCN/disclaimer.xml b/app/src/main/res/values-zh-rCN/disclaimer.xml index cd7e6e486ff0212f61fc860bc450ab98a5d95284..c9721e24f3aec507a9ff74e8b6a64832a7413207 100644 --- a/app/src/main/res/values-zh-rCN/disclaimer.xml +++ b/app/src/main/res/values-zh-rCN/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">免责声明</string> <string name="disclaimer_body">App Manager 提供的与 root 权限相关的操作可能会对设备造成损害,App Manager 不对任何因使用不当而造成的损害负责。 diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 0ded7b7eaa933a4a9ecd3373e0e2a8864f0c2d3c..32aecf1b9683171579ad53c2f172445d9a22c021 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">zh-CN</string> <string name="uninstall">卸载</string> <string name="permissions">系统预定义权限</string> diff --git a/app/src/main/res/values-zh-rTW/disclaimer.xml b/app/src/main/res/values-zh-rTW/disclaimer.xml index 16674e26144c7e03f645588e7de0747a195e9384..349e6d6448f41e2f881276003ffd5168a86b30d9 100644 --- a/app/src/main/res/values-zh-rTW/disclaimer.xml +++ b/app/src/main/res/values-zh-rTW/disclaimer.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">免責聲明</string> <string name="disclaimer_footer">© 2020–2021 Muntashir Al-Islam</string> diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index f68758a0cfc2f4f1d5815ac924fde924f0f7b792..0b7750f97a33b91d9568870aac6e9934e7982719 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="_lang_tag" translatable="false">zh-TW</string> <string name="uninstall">解除安裝</string> <string name="permissions">使用權限</string> diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 45e0c0d7130073788806a1140e65fc4e71f9b43e..798931873d54b1aa55c4024d5eb7065f9fb06768 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <array name="TAB_TITLES"> <item>@string/app_info</item> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index e89d85673e7ff98fb2f451ec2c2a19532a57f21f..bacb3b0d099a7bc6cb5fa725e3694871e5f9f6cd 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <color name="colorPrimary">@android:color/white</color> <color name="colorPrimaryDark">@android:color/white</color> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 5f7f9931c7cd9ae0da8bff23787a3e531574f8cd..62eb77691e7619d36317a83c05754506f30858ac 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <dimen name="padding_very_large">32dp</dimen> <dimen name="padding_large">24dp</dimen> diff --git a/app/src/main/res/values/disclaimer.xml b/app/src/main/res/values/disclaimer.xml index 0b58c37f9a8d34b2cb8fbd711ec2d10d523c1d30..57980cf048741646f592beec7da2eec2e1749761 100644 --- a/app/src/main/res/values/disclaimer.xml +++ b/app/src/main/res/values/disclaimer.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string name="disclaimer_header">DISCLAIMER</string> <string name="disclaimer_body">App Manager offers root functions that could possibly harm diff --git a/app/src/main/res/values/ic_banner_background.xml b/app/src/main/res/values/ic_banner_background.xml index 414e95a241e8bddb8c27df3db2f2a0ad5ae3d518..48184e37f88b7791184367ee56878e896cb637d3 100644 --- a/app/src/main/res/values/ic_banner_background.xml +++ b/app/src/main/res/values/ic_banner_background.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 --> <resources> <color name="ic_banner_background">#DCAF74</color> </resources> \ No newline at end of file diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml index 58043be505d9b2d6fd1b9d25f16dfe2578adcf7e..a594af83876e460391e64fb19499a11cfe7e5303 100644 --- a/app/src/main/res/values/ic_launcher_background.xml +++ b/app/src/main/res/values/ic_launcher_background.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 --> <resources> <color name="ic_launcher_background">#212121</color> </resources> \ No newline at end of file diff --git a/app/src/main/res/values/languages.xml b/app/src/main/res/values/languages.xml index 304c350b8b2f7cf91f6be84420dcedb4abe1cdcb..5e48c3eb0351493f2d86eb35658c4ef7bd93dbe2 100644 --- a/app/src/main/res/values/languages.xml +++ b/app/src/main/res/values/languages.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string-array name="languages_key"> <item>ar</item> diff --git a/app/src/main/res/values/libs.xml b/app/src/main/res/values/libs.xml index 201ca3f8dd1b1eecf27484ba22658060b3eacc14..8ee98cccf29e6507953e38cedf48ae76d6bde387 100644 --- a/app/src/main/res/values/libs.xml +++ b/app/src/main/res/values/libs.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <array name="lib_signatures"> <item>com.getjar.sdk.vending.billing.</item> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8483cb14a1c2a35e7fa52f31fc65db4250c46bb8..34ccf4c6e9f9ce503684a723a8ade58bd6e9f842 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --><resources xmlns:tools="http://schemas.android.com/tools" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<resources xmlns:tools="http://schemas.android.com/tools" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="_lang_tag" translatable="false">en</string> <string name="uninstall">Uninstall</string> <string name="permissions">Uses permissions</string> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index e95358bae502f1723bcce9e3732ee5a29f5e5c7d..598da0d84e25c2d75200a9263b2d94bbcb46cad5 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,20 +1,4 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources xmlns:tools="http://schemas.android.com/tools"> <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar"> <item name="colorPrimary">@color/colorPrimary</item> diff --git a/app/src/main/res/values/trackers.xml b/app/src/main/res/values/trackers.xml index 15e399b33bd01ca05421eb0fa3b97b8f631b99da..37724cd965e5739b56e06347e0d1f641c70e9fbb 100644 --- a/app/src/main/res/values/trackers.xml +++ b/app/src/main/res/values/trackers.xml @@ -1,21 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <resources> <string-array name="tracker_signatures"> <item>com.databerries.</item> diff --git a/app/src/main/res/xml/preferences_backup_restore.xml b/app/src/main/res/xml/preferences_backup_restore.xml index a7d213ac343c65012217318cd5537220fd140510..26b895d037cbc2df0db84c6a9b70fba842af813e 100644 --- a/app/src/main/res/xml/preferences_backup_restore.xml +++ b/app/src/main/res/xml/preferences_backup_restore.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" app:title="@string/backup_restore"> diff --git a/app/src/main/res/xml/preferences_installer.xml b/app/src/main/res/xml/preferences_installer.xml index ec76be35300dd5f383e8223623ac30af7e20c5fc..a3308ae38e81ff5615a980257003f18e9e858816 100644 --- a/app/src/main/res/xml/preferences_installer.xml +++ b/app/src/main/res/xml/preferences_installer.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> diff --git a/app/src/main/res/xml/preferences_log_viewer.xml b/app/src/main/res/xml/preferences_log_viewer.xml index 2b64ebfea29a4decaafd4772aa64ef5c062d503c..04383fa9526d45da2aee82ae3d22c44e1c7d8106 100644 --- a/app/src/main/res/xml/preferences_log_viewer.xml +++ b/app/src/main/res/xml/preferences_log_viewer.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> diff --git a/app/src/main/res/xml/preferences_main.xml b/app/src/main/res/xml/preferences_main.xml index c57bbc2c7df72f524e3e85b6dfdbd1b668076af6..bc4c5e1512fa400dcae643e7a1bd5be70730c91f 100644 --- a/app/src/main/res/xml/preferences_main.xml +++ b/app/src/main/res/xml/preferences_main.xml @@ -1,20 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/xml/preferences_profile_config.xml b/app/src/main/res/xml/preferences_profile_config.xml index 1b6800a0b685ea6af17433cb843f5136da234764..20d7761bf10465aa858c8269829f4e3661d1aff0 100644 --- a/app/src/main/res/xml/preferences_profile_config.xml +++ b/app/src/main/res/xml/preferences_profile_config.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> diff --git a/app/src/main/res/xml/preferences_rules.xml b/app/src/main/res/xml/preferences_rules.xml index 7aeb0d0d932313ec335af421cc29dead3feb3010..4699038549e31f181fe50b08f77775dc336b48d0 100644 --- a/app/src/main/res/xml/preferences_rules.xml +++ b/app/src/main/res/xml/preferences_rules.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <SwitchPreferenceCompat diff --git a/app/src/main/res/xml/preferences_signature.xml b/app/src/main/res/xml/preferences_signature.xml index d64d075b28936e8ebfafac4bf01b72c9a351b89e..1bd9b47d75d61d6f3c5ad07ef27639b32cc33d04 100644 --- a/app/src/main/res/xml/preferences_signature.xml +++ b/app/src/main/res/xml/preferences_signature.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" app:title="@string/apk_signing"> diff --git a/app/src/main/res/xml/provider_paths.xml b/app/src/main/res/xml/provider_paths.xml index 1bc05a85216494e694fac6e962f571b027362860..3fcd96be1764cb47eac000d08a796f2cf2ef6343 100644 --- a/app/src/main/res/xml/provider_paths.xml +++ b/app/src/main/res/xml/provider_paths.xml @@ -1,21 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <paths> <external-path name="external_files" path="." /> </paths> \ No newline at end of file diff --git a/app/src/main/res/xml/recording_widget_info.xml b/app/src/main/res/xml/recording_widget_info.xml index bc88eec701501a9fb64ee2aa9f4a569b9a0de60f..ec55abc16e248c7e615fa01eaaa025cb319ff6b9 100644 --- a/app/src/main/res/xml/recording_widget_info.xml +++ b/app/src/main/res/xml/recording_widget_info.xml @@ -1,3 +1,5 @@ +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<!-- Copyright 2012 Nolan Lawson --> <!-- 21600000 = 6 hours in milliseconds --> <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:initialLayout="@layout/widget_recording" diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml index 9003d8c3f232018ddc33b2df8be3eb21f6b859c0..724a661e09b07038af0bab43fcc65c6196c598b6 100644 --- a/app/src/main/res/xml/shortcuts.xml +++ b/app/src/main/res/xml/shortcuts.xml @@ -1,4 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> +<!-- Copyright 2012 Nolan Lawson --> <shortcuts xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" tools:targetApi="n_mr1"> diff --git a/app/src/test/java/io/github/muntashirakon/AppManager/runningapps/ProcessParserTest.java b/app/src/test/java/io/github/muntashirakon/AppManager/runningapps/ProcessParserTest.java index 978813651f06bffe920d183606f1fc9d3b037f00..dbf8a52552b94ea64c94e61bb511e46a34418d33 100644 --- a/app/src/test/java/io/github/muntashirakon/AppManager/runningapps/ProcessParserTest.java +++ b/app/src/test/java/io/github/muntashirakon/AppManager/runningapps/ProcessParserTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.runningapps; diff --git a/app/src/test/java/io/github/muntashirakon/AppManager/utils/IOUtilsTest.java b/app/src/test/java/io/github/muntashirakon/AppManager/utils/IOUtilsTest.java index ae2d05c17abb62caf4bcdd765fb03bbf1b0b007c..3211bed8127705c7571089fadfa01f1b973869e0 100644 --- a/app/src/test/java/io/github/muntashirakon/AppManager/utils/IOUtilsTest.java +++ b/app/src/test/java/io/github/muntashirakon/AppManager/utils/IOUtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/test/java/io/github/muntashirakon/AppManager/utils/TarUtilsTest.java b/app/src/test/java/io/github/muntashirakon/AppManager/utils/TarUtilsTest.java index 01b7cf383d3247660dc210f8442fd8de857b8fd2..56392a9fee09132ffa38f8d2c37910454a62d299 100644 --- a/app/src/test/java/io/github/muntashirakon/AppManager/utils/TarUtilsTest.java +++ b/app/src/test/java/io/github/muntashirakon/AppManager/utils/TarUtilsTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.utils; diff --git a/app/src/test/java/io/github/muntashirakon/io/SplitInputStreamTest.java b/app/src/test/java/io/github/muntashirakon/io/SplitInputStreamTest.java index 1f755e716f3616de668240e46cc3b7f8fc30385f..1551bbabe114ba0e63082a63115de97b3eb374ed 100644 --- a/app/src/test/java/io/github/muntashirakon/io/SplitInputStreamTest.java +++ b/app/src/test/java/io/github/muntashirakon/io/SplitInputStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/test/java/io/github/muntashirakon/io/SplitOutputStreamTest.java b/app/src/test/java/io/github/muntashirakon/io/SplitOutputStreamTest.java index 9c20a5288f2e419ad933036d5feeb9f14a43edfc..9c8ab2bff357aae2b33ae4305e70188a5e90c65e 100644 --- a/app/src/test/java/io/github/muntashirakon/io/SplitOutputStreamTest.java +++ b/app/src/test/java/io/github/muntashirakon/io/SplitOutputStreamTest.java @@ -1,19 +1,4 @@ -/* - * Copyright (c) 2021 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.io; diff --git a/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java b/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java index c063e8aedbb6316f63226f8f743076908a2f3460..d3936afdd6368161930c74df2ed2fcfbccf6a07c 100644 --- a/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java +++ b/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package org.apache.commons.compress.archivers.tar; import android.os.RemoteException; diff --git a/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java b/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java index e6f73e62a29f1a1b0b7e07539245cdd9ebad6ed4..dc2e58567b3e6cb534ae98219e059e4075f6213d 100644 --- a/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java +++ b/app/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package org.apache.commons.compress.archivers.tar; import android.os.RemoteException; diff --git a/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStreamTest.java b/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStreamTest.java index ff7b744c7f37c88c52959faacfa3f02607c4a989..25971c4848d71e2682462baac493f46aa3690675 100644 --- a/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStreamTest.java +++ b/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStreamTest.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package org.apache.commons.compress.compressors.bzip2; import android.os.RemoteException; diff --git a/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStreamTest.java b/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStreamTest.java index 524b0e2ee3138c67ccd1520ff0deb97b8ead1ca0..580c5ca94e468646a4894a451d274bbcdfd217e8 100644 --- a/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStreamTest.java +++ b/app/src/test/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorOutputStreamTest.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package org.apache.commons.compress.compressors.bzip2; import android.os.RemoteException; diff --git a/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStreamTest.java b/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStreamTest.java index 49a13916e7262075edfccbc18ea9651df26e5ea6..72e0d9fc9a2a725e97365bc4979f800c88c38674 100644 --- a/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStreamTest.java +++ b/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorInputStreamTest.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package org.apache.commons.compress.compressors.gzip; import android.os.RemoteException; diff --git a/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStreamTest.java b/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStreamTest.java index aebf834213e9aac8dba5dfeb50b559e85d91009a..039d6b0e604d1079e8f40942b376a1d7a6aa2301 100644 --- a/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStreamTest.java +++ b/app/src/test/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStreamTest.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + package org.apache.commons.compress.compressors.gzip; import android.os.RemoteException; diff --git a/arts/banner-raw-no-text.svg b/arts/banner-raw-no-text.svg index f4af3291b846bbee0b94f49569e3f3fdd18c7a71..0ea6f5f7c31ec9a5a52408e1a78dbe4e2c81aab7 100644 --- a/arts/banner-raw-no-text.svg +++ b/arts/banner-raw-no-text.svg @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- SPDX-License-Identifier: CC-BY-SA-4.0 OR GPL-3.0-or-later --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" diff --git a/arts/banner-raw-text.svg b/arts/banner-raw-text.svg index 791a77344d473dfee1783c62b77f725dc09dbec5..46f6f8d8717dca105980a28f381151341fbfbf20 100644 --- a/arts/banner-raw-text.svg +++ b/arts/banner-raw-text.svg @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- SPDX-License-Identifier: CC-BY-SA-4.0 OR GPL-3.0-or-later --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" diff --git a/arts/ic_launcher.svg b/arts/ic_launcher.svg index 69182f11aae957a645985e5d96d3c263703f92a0..2ed6eab193745d80a56d51c80de575bec8db914d 100644 --- a/arts/ic_launcher.svg +++ b/arts/ic_launcher.svg @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- SPDX-License-Identifier: CC-BY-SA-4.0 OR GPL-3.0-or-later --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" diff --git a/arts/ic_launcher_foreground.svg b/arts/ic_launcher_foreground.svg index bd6f92c87762c184c68e6dfd972b74ce46b2d78a..fedcc520755c112a5bbc6ba27789eded113fda41 100644 --- a/arts/ic_launcher_foreground.svg +++ b/arts/ic_launcher_foreground.svg @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- SPDX-License-Identifier: CC-BY-SA-4.0 OR GPL-3.0-or-later --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" diff --git a/arts/ic_launcher_round.svg b/arts/ic_launcher_round.svg index b7f175d63b27648c0d8bc5b09f526841eff7f8d1..d096c5a38143ae54b5b2f01fde1f486b91163bfc 100644 --- a/arts/ic_launcher_round.svg +++ b/arts/ic_launcher_round.svg @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- SPDX-License-Identifier: CC-BY-SA-4.0 OR GPL-3.0-or-later --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" diff --git a/build.gradle b/build.gradle index 68186dfa2713309c27bfb67900b8a7d9b6f3e63e..445503ee861ed6c68f78a154c29dbd63e2f725f8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later buildscript { repositories { diff --git a/common.gradle b/common.gradle index a0240d195a8d0843d46d999bea67fe3b426c1d48..6fc448720df6cf9ee9dd95e10b8e4a6a153d6fce 100644 --- a/common.gradle +++ b/common.gradle @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later apply plugin: 'com.android.library' diff --git a/docs/build.gradle b/docs/build.gradle index 66e2c22818af59d8828d6b8b9f32cf2ba0596aa0..2f33b9a8e0ddaa9e61102a0ccbba142958dc1a1a 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later apply plugin: 'com.android.library' diff --git a/docs/src/main/AndroidManifest.xml b/docs/src/main/AndroidManifest.xml index 53f3493ec58f72d35410537a58c3dc929f9b5e17..af5d5d87457e5a03205be771fef7ad45cf80a438 100644 --- a/docs/src/main/AndroidManifest.xml +++ b/docs/src/main/AndroidManifest.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <manifest xmlns:dist="http://schemas.android.com/apk/distribution" package="io.github.muntashirakon.AppManager.docs"> diff --git a/hiddenapi/build.gradle b/hiddenapi/build.gradle index 3a0a328beb6aa5ca7c1ce41a25131663a125e5c4..c13b7ac86c8beb2f558be9bfa793f679357b61eb 100644 --- a/hiddenapi/build.gradle +++ b/hiddenapi/build.gradle @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later apply plugin: 'java-library' diff --git a/hiddenapi/src/main/AndroidManifest.xml b/hiddenapi/src/main/AndroidManifest.xml index c983b9620e54d9ab72e8e143e3f97ad6f9093665..f3e944de65debfa3e32e85ada36eec95f743138f 100644 --- a/hiddenapi/src/main/AndroidManifest.xml +++ b/hiddenapi/src/main/AndroidManifest.xml @@ -1,18 +1,3 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <manifest package="io.github.muntashirakon.AppManager.hiddenapi" /> \ No newline at end of file diff --git a/libapkparser/build.gradle b/libapkparser/build.gradle index 54a539b18112ab1646669ab111a254d3c30cf8eb..de94dc8225bdde4a93961f0cbe2d4a5de929108f 100644 --- a/libapkparser/build.gradle +++ b/libapkparser/build.gradle @@ -1,18 +1,3 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later apply from: "$gradle.ext.appManagerRoot/common.gradle" diff --git a/libapkparser/src/main/AndroidManifest.xml b/libapkparser/src/main/AndroidManifest.xml index 921dc932458cdd35e6b71e4e4162749634e6ec64..6d93fbd158aa4ec72bf13784b3c2212d8cda3a0f 100644 --- a/libapkparser/src/main/AndroidManifest.xml +++ b/libapkparser/src/main/AndroidManifest.xml @@ -1,18 +1,2 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: BSD-2-Clause --> <manifest package="net.dongliu.apk.parser" /> \ No newline at end of file diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/AbstractApkFile.java b/libapkparser/src/main/java/net/dongliu/apk/parser/AbstractApkFile.java index 9183a273fd07aeea9f501cf77017ad69e118dbd6..2601a7a8c321342f67b5c4a09953e8a312799be7 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/AbstractApkFile.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/AbstractApkFile.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser; import net.dongliu.apk.parser.bean.AdaptiveIcon; @@ -54,9 +56,8 @@ import static java.lang.System.arraycopy; /** * Common Apk Parser methods. * This Class is not thread-safe. - * - * @author Liu Dong */ +// Copyright 2016 Liu Dong public abstract class AbstractApkFile implements Closeable { private DexClass[] dexClasses; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParser.java index 9f0325cfd22cd835b43495800b00c4cba2d99db0..2e32fe1d06343f44f066504f51ed03a38813d919 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParser.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser; import net.dongliu.apk.parser.bean.ApkSignStatus; @@ -21,9 +23,8 @@ import androidx.annotation.Nullable; /** * ApkParser, for parsing apk file info. * This class is not thread-safe. - * - * @author dongliu */ +// Copyright 2016 Liu Dong public class ApkParser extends AbstractApkFile implements Closeable { private final ZipFile zf; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParsers.java b/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParsers.java index 8cdaf3e2cd0085f666be16943a88d6626c593e5c..d6552612fbf9760f1226108fde710373d462c074 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParsers.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/ApkParsers.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause AND GPL-3.0-or-later + package net.dongliu.apk.parser; import net.dongliu.apk.parser.bean.ApkMeta; @@ -8,9 +10,8 @@ import java.util.Locale; /** * Convenient utils method for parse apk file - * - * @author Liu Dong */ +// Copyright 2016 Liu Dong public class ApkParsers { /** * Get apk meta info for apk file diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkFile.java b/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkFile.java index 8d5a42b164a3e64ca1d08c45dff25079278f19c1..66c44f1d70d4fa680021e2c466405abec46ae447 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkFile.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkFile.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser; import net.dongliu.apk.parser.bean.ApkSignStatus; @@ -17,9 +19,8 @@ import java.util.zip.ZipInputStream; /** * Parse apk file from byte array. * This class is not thread-safe - * - * @author Liu Dong */ +// Copyright 2016 Liu Dong public class ByteArrayApkFile extends AbstractApkFile implements Closeable { private byte[] apkData; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkParser.java index de9e4d0ba5296961ff3fb81c3d268035fe030116..eadeccf816aac1bffbaa68acbf59c4ecc8e88e9e 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/ByteArrayApkParser.java @@ -1,12 +1,14 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser; /** * Parse apk file from byte array. * This class is not thread-safe. * - * @author Liu Dong - * @deprecated using {@link ByteArrayApkFile} instead + * @deprecated use {@link ByteArrayApkFile} instead */ +// Copyright 2016 董刘 @Deprecated public class ByteArrayApkParser extends ByteArrayApkFile { diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/AdaptiveIcon.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/AdaptiveIcon.java index 7b258d62f10c3e47ab85c3b6de0c790472e1bf97..36ce0627dc5f52b36105d2c6cb6a6ef8478f15b2 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/AdaptiveIcon.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/AdaptiveIcon.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import java.io.Serializable; @@ -5,6 +7,7 @@ import java.io.Serializable; /** * Android adaptive icon, from android 8.0 */ +// Copyright 2018 Liu Dong public class AdaptiveIcon implements IconFace, Serializable { private static final long serialVersionUID = 4185750290211529320L; private final Icon foreground; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkMeta.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkMeta.java index b7578fedd556e6ded9311c11bd23a4f356b3c907..2e7759a270ae517a1dc5ea7cf114e3eaf5d0016f 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkMeta.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkMeta.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import net.dongliu.apk.parser.AbstractApkFile; @@ -9,9 +11,8 @@ import androidx.annotation.Nullable; /** * Apk meta info - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ApkMeta { private final String packageName; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSignStatus.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSignStatus.java index 2379ddef421a3e839e48cd4ad9e0ce64525fdfef..d690c436824fb91dbc2d78f35052034d3043d464 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSignStatus.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSignStatus.java @@ -1,9 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; /** * Apk sign status. - * @author dongliu */ +// Copyright 2014 Liu Dong public enum ApkSignStatus { notSigned, // invalid signing diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSigner.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSigner.java index da47566951d74fedc6c49bcee3aae9699d4a1b1e..4432e50f8a15b27272afbe969cd57c87ab2415f6 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSigner.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkSigner.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import androidx.annotation.NonNull; @@ -7,6 +9,7 @@ import static java.util.Objects.requireNonNull; /** * ApkSignV1 certificate file. */ +// Copyright 2018 hsiafan public class ApkSigner { /** * The cert file path in apk file diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkV2Signer.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkV2Signer.java index 527d97abd5b4f1b33b86511ef2154781d6a0c052..f26477a366654ca642cb5722a6ac026efd6b7d6c 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkV2Signer.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ApkV2Signer.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import java.util.List; @@ -5,6 +7,7 @@ import java.util.List; /** * ApkSignV1 certificate file. */ +// Copyright 2018 hsiafan public class ApkV2Signer { /** * The meta info of certificate contained in this cert file. diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/CertificateMeta.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/CertificateMeta.java index d4649b437b4ae77d73335d5516a91e6de778b1f5..078a93ff7029b852840e9e75a7edce3293c34798 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/CertificateMeta.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/CertificateMeta.java @@ -1,31 +1,4 @@ -/* - * Copyright (c) 2020, Muntashir Al-Islam - * Copyright (c) 2015, Jared Rummler - * Copyright (c) 2015, Liu Dong - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the <organization> nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ +// SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause package net.dongliu.apk.parser.bean; @@ -33,6 +6,8 @@ import java.util.Date; import androidx.annotation.NonNull; +// Copyright 2015 Jared Rummler +// 2014 Liu Dong public class CertificateMeta { public static Builder newCertificateMeta() { diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ColorIcon.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ColorIcon.java index a96358810f5531f02fac5c6e0b2dc706dad60fda..c9b823fea6969f6361fb502e823f740b4ad68646 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ColorIcon.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/ColorIcon.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import java.io.Serializable; @@ -5,6 +7,7 @@ import java.io.Serializable; /** * The plain icon, using color drawable resource. */ +// Copyright 2018 Liu Dong //to be implemented public class ColorIcon implements IconFace, Serializable { private static final long serialVersionUID = -7913024425268466186L; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/DexClass.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/DexClass.java index 7f809cce388104f4fb8dd1010b106b0516cd62bd..5d57de06385d92d5dc528a92010e10566f07db23 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/DexClass.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/DexClass.java @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import net.dongliu.apk.parser.struct.dex.DexClassStruct; import androidx.annotation.Nullable; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class DexClass { /** * the class name diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/GlEsVersion.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/GlEsVersion.java index 12453224e5e91bfa5a4efdcb7c0c6e567cac429e..9e0c7562af463f5534f5509773b86c49f2a9d645 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/GlEsVersion.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/GlEsVersion.java @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; /** * the glEsVersion apk used. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class GlEsVersion { private final int major; private final int minor; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Icon.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Icon.java index e324cb6a7f6d8871ca919fbaff5c43f6ba9baefc..efba1cc30a3a22973ea03438dece9e46a8ee9f8c 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Icon.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Icon.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import java.io.Serializable; @@ -6,9 +8,8 @@ import androidx.annotation.Nullable; /** * The plain file apk icon. - * - * @author Liu Dong */ +// Copyright 2014 Liu Dong public class Icon implements IconFace, Serializable { private static final long serialVersionUID = 8680309892249769701L; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconFace.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconFace.java index 454a34c22dd9e98d84e75f095d55a8e5d7650880..7f33b2884a1c7d45095b5bf87bf393ef4bf5ccbc 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconFace.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconFace.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import java.io.Serializable; @@ -5,6 +7,7 @@ import java.io.Serializable; /** * The icon interface */ +// Copyright 2018 Liu Dong public interface IconFace extends Serializable { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconPath.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconPath.java index 454be920ff569f283560a2f2ecc46d5316ec3c08..75bf00ec315c3b8ce34f0b12a2891dfc70039419 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconPath.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/IconPath.java @@ -1,8 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; /** * Icon path, and density */ +// Copyright 2017 Liu Dong public class IconPath { private String path; private int density; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Permission.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Permission.java index 5e6de336b361de41c644ed067e1891df36f168d5..f6053e669c5121181a3dfbdebfa79f6af267966f 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Permission.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/Permission.java @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; import androidx.annotation.Nullable; /** * permission provided by the app - * - * @author Liu Dong */ +// Copyright 2014 Liu Dong public class Permission { private final String name; private final String label; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/UseFeature.java b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/UseFeature.java index 6ca2f6b66af599986163bb91a79e83f39ac6c308..37f0f3cc8ab85813a53c864cdc85586b80605e0f 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/bean/UseFeature.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/bean/UseFeature.java @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.bean; /** * the permission used by apk - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class UseFeature { private final String name; private final boolean required; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/exception/ParserException.java b/libapkparser/src/main/java/net/dongliu/apk/parser/exception/ParserException.java index 3c2a38a1266e8262eb8707391bb8630c42de514d..bc06aa62a129fa137f70ef31080f5e8fdc6abef1 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/exception/ParserException.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/exception/ParserException.java @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.exception; /** - * throwed when parse failed. - * - * @author dongliu + * thrown when parse failed. */ +// Copyright 2014 Liu Dong public class ParserException extends RuntimeException { public ParserException(String msg) { super(msg); diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AdaptiveIconParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AdaptiveIconParser.java index 32ef7fa4a2402e564eaf2e8dafc02e98bed84163..116f0c342dea20196d526054b23e048a30c0975a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AdaptiveIconParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AdaptiveIconParser.java @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.struct.xml.*; /** * Parse adaptive icon xml file. - * - * @author Liu Dong dongliu@live.cn */ +// Copyright 2018 Liu Dong public class AdaptiveIconParser implements XmlStreamer { private String foreground; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkMetaTranslator.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkMetaTranslator.java index f06cb651647c3439bb80ab1f4a7bd93d62e7a733..bbfe48b2c6681daf6f0bc4d2e34196a89367feff 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkMetaTranslator.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkMetaTranslator.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.bean.*; @@ -15,9 +17,8 @@ import androidx.annotation.Nullable; /** * trans binary xml to apk meta info - * - * @author Liu Dong dongliu@live.cn */ +// Copyright 2014 Liu Dong public class ApkMetaTranslator implements XmlStreamer { private String[] tagStack = new String[100]; private int depth = 0; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkSignBlockParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkSignBlockParser.java index bf78ef2199b0e4ed956f3976175a3967f6c18247..866796776aa3b0fc8980048bba2a13fcafdba20a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkSignBlockParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ApkSignBlockParser.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.struct.signingv2.ApkSigningBlock; @@ -23,6 +25,7 @@ import androidx.annotation.NonNull; /** * The Apk Sign Block V2 Parser. */ +// Copyright 2018 hsiafan public class ApkSignBlockParser { private ByteBuffer data; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AttributeValues.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AttributeValues.java index 87f9c414c7958971c1d4ba36c5eca947793d9aa5..ae1ad09b750f7036c0e27b36ef79d8b545c53931 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AttributeValues.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/AttributeValues.java @@ -1,30 +1,4 @@ -/* - * Copyright (c) 2020, Muntashir Al-Islam - * Copyright (c) 2015, Liu Dong - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the <organization> nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ +// SPDX-License-Identifier: BSD-2-Clause package net.dongliu.apk.parser.parser; @@ -43,6 +17,7 @@ import androidx.annotation.NonNull; /** * attribute value constant */ +// Copyright 2018 Liu Dong public class AttributeValues { @NonNull public static String getScreenOrientation(int value) { diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/BinaryXmlParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/BinaryXmlParser.java index 536e20cf9ec4c65246cfca7f373c0f350a3773e2..de97a1d48e56f8c1629a64ea8a5cf8f3ba23d143 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/BinaryXmlParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/BinaryXmlParser.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.exception.ParserException; @@ -19,9 +21,8 @@ import java.util.Set; /** * Android Binary XML format * see http://justanapplication.wordpress.com/category/android/android-binary-xml/ - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class BinaryXmlParser { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateMetas.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateMetas.java index 0ea81914d06d8867703fd1607a6e9b767aa7ec18..c2459c97a1b4741c939dae1424e4c8cb4e07b5b5 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateMetas.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateMetas.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.bean.CertificateMeta; @@ -15,6 +17,7 @@ import javax.security.cert.X509Certificate; import androidx.annotation.NonNull; +// Copyright 2018 hsiafan public class CertificateMetas { @NonNull diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateParser.java index 3c3dad076419466d0212bcbed4efbc79ed81c194..29032cd101e13821400fe61e5a3c21d724b5c5a9 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CertificateParser.java @@ -1,31 +1,4 @@ -/* - * Copyright (c) 2020, Muntashir Al-Islam - * Copyright (c) 2015, Jared Rummler - * Copyright (c) 2015, Liu Dong - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the <organization> nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ +// SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause package net.dongliu.apk.parser.parser; @@ -42,6 +15,8 @@ import javax.security.cert.X509Certificate; import androidx.annotation.NonNull; +// Copyright 2015 Jared Rummler +// 2014 Liu Dong public class CertificateParser { private final byte[] data; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CompositeXmlStreamer.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CompositeXmlStreamer.java index b7921729a98e0871dd511e47523d329767e49982..9c9289f7627de56e5fd9bd7dac7e92e80f107f51 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CompositeXmlStreamer.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/CompositeXmlStreamer.java @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.struct.xml.*; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class CompositeXmlStreamer implements XmlStreamer { public XmlStreamer[] xmlStreamers; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/DexParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/DexParser.java index 62284ea8581a6c9ebfac13fbcfe0cd61f3d0d899..d4d8aeed1836b9582954f196c01684b7540bb479 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/DexParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/DexParser.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.bean.DexClass; @@ -17,9 +19,8 @@ import java.nio.ByteOrder; * see: * http://source.android.com/devices/tech/dalvik/dex-format.html * http://dexandroid.googlecode.com/svn/trunk/dalvik/libdex/DexFile.h - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class DexParser { private ByteBuffer buffer; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ResourceTableParser.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ResourceTableParser.java index a4bd31852a50e8c3bb0eb1d422baab591322de5c..bd0a59f56596edfd5ce172abe1ee4a824904b282 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ResourceTableParser.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/ResourceTableParser.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import android.util.Pair; @@ -24,10 +26,10 @@ import static net.dongliu.apk.parser.struct.ChunkType.UNKNOWN_YET; /** * Parse android resource table file. * - * @author dongliu * @see <a href="https://github.com/aosp-mirror/platform_frameworks_base/blob/master/libs/androidfw/include/androidfw/ResourceTypes.h">ResourceTypes.h</a> * @see <a href="https://github.com/aosp-mirror/platform_frameworks_base/blob/master/libs/androidfw/ResourceTypes.cpp">ResourceTypes.cpp</a> */ +// Copyright 2014 Liu Dong public class ResourceTableParser { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/StringPoolEntry.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/StringPoolEntry.java index 81a7bf4aa05bfe54896dd36507fb9056ff0be216..68dd8b1b2bfacdb099bcb527e3bc89423527c2e4 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/StringPoolEntry.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/StringPoolEntry.java @@ -1,8 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; /** * class for sort string pool indexes */ +// Copyright 2014 Liu Dong public class StringPoolEntry { private int idx; private long offset; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlNamespaces.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlNamespaces.java index a89a9a5d062e4d875329e3a36dc709accabff516..f4aeea799f2847d3dba043bfd3250b152eccf3f4 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlNamespaces.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlNamespaces.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.struct.xml.XmlNamespaceEndTag; @@ -9,9 +11,8 @@ import java.util.List; /** * the xml file's namespaces. - * - * @author dongliu */ +// Copyright 2014 Liu Dong class XmlNamespaces { private List<XmlNamespace> namespaces; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlStreamer.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlStreamer.java index b061b7ccd7cd2311d53212c89efcebb65f4e19c9..b39f19e004b1fe3a8a5e4fd3582d69ed75f8fce4 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlStreamer.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlStreamer.java @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.struct.xml.*; /** * callback interface for parse binary xml file. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public interface XmlStreamer { void onStartTag(XmlNodeStartTag xmlNodeStartTag); diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlTranslator.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlTranslator.java index ae149a800f8d513f100314d4421cd060f177c7d1..f1f3df0583c88a31d75b49f36582df06854dd53a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlTranslator.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/XmlTranslator.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.parser; import net.dongliu.apk.parser.struct.xml.*; @@ -7,9 +9,8 @@ import java.util.List; /** * trans to xml text when parse binary xml file. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class XmlTranslator implements XmlStreamer { private StringBuilder sb; private int shift = 0; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/package-info.java b/libapkparser/src/main/java/net/dongliu/apk/parser/parser/package-info.java deleted file mode 100644 index 3947f2f8e25b08206133b92eba854c8daa315583..0000000000000000000000000000000000000000 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/parser/package-info.java +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Parsers for Apk. - * Only for internal implementation, user should not depend on classes in this package directly. - */ -package net.dongliu.apk.parser.parser; \ No newline at end of file diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/AndroidConstants.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/AndroidConstants.java index 1b25329dfe51425ca1f6fcf75778b95f754741d3..e265a091986dc23105547064a491496ea96d11cd 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/AndroidConstants.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/AndroidConstants.java @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct; /** - * android system file. - * - * @author dongiu + * Android system file. */ +// Copyright 2014 Liu Dong public class AndroidConstants { public static final String RESOURCE_FILE = "resources.arsc"; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkHeader.java index 1f48904686d46607bb5ced5ebe2a4b7b6a5313da..d1cbdefe7751a1d97c09673746992d2973a8712a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkHeader.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct; import net.dongliu.apk.parser.utils.Unsigned; @@ -13,9 +15,8 @@ import net.dongliu.apk.parser.utils.Unsigned; * uint32_t size; * } * </pre> - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ChunkHeader { // Type identifier for this chunk. The meaning of this value depends diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkType.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkType.java index d04e794ec01da9c261105eab53b07228eb6c9afd..2a54704b8a36fca0fa14ba24320829c5f3973f5a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkType.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ChunkType.java @@ -1,11 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct; /** * Resource type * see https://android.googlesource.com/platform/frameworks/base/+/master/libs/androidfw/include/androidfw/ResourceTypes.h - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ChunkType { public static final int NULL = 0x0000; public static final int STRING_POOL = 0x0001; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResValue.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResValue.java index a7fd3dfca38086487896f382f377d4d9523b41eb..580f05d36a7e333f30caffd1e39ab906f1494942 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResValue.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResValue.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct; import androidx.annotation.Nullable; @@ -5,9 +7,8 @@ import androidx.annotation.Nullable; /** * Apk res value struct. * Only for description now, The value is hold in ResourceValue - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ResValue { // Number of bytes in this structure. uint16; always 8 private int size; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResourceValue.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResourceValue.java index 2fc523b133ff71e575abfdd0550b911a6fb1fe2a..5247c709e225107e477082e1f637e8031efbe8d5 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResourceValue.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/ResourceValue.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct; import net.dongliu.apk.parser.struct.resource.*; @@ -8,9 +10,8 @@ import java.util.Locale; /** * Resource entity, contains the resource id, should retrieve the value from resource table, or string pool if it is a string resource. - * - * @author dongliu */ +// Copyright 2016 Liu Dong public abstract class ResourceValue { protected final int value; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPool.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPool.java index d5d59aa94fe93928a8d2ddeb773d2cf1ffa4c790..ca9ae1f07ddab575f19636055ba24b0686b33f15 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPool.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPool.java @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct; /** * String pool. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class StringPool { private String[] pool; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPoolHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPoolHeader.java index c5c4c8311dcc554e089839ca3e2b2907848dfdeb..dcb341f15efd0978f7f84497ea931fac07b7e4c7 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPoolHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/StringPoolHeader.java @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct; import net.dongliu.apk.parser.utils.Unsigned; /** * String pool chunk header. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class StringPoolHeader extends ChunkHeader { public StringPoolHeader(int headerSize, long chunkSize) { super(ChunkType.STRING_POOL, headerSize, chunkSize); diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexClassStruct.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexClassStruct.java index 669a2947b690130444c8dea4256a29e1ec752702..2554d30957cc45bd5185a59fb8d68a9803f2ad05 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexClassStruct.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexClassStruct.java @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.dex; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class DexClassStruct { /* index into typeIds for this class. u4 */ private int classIdx; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexHeader.java index f2144998d440d282e03305978e7fea442c640027..79c13377d4ca8eb8b56f23651f3e275a22a368bd 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/dex/DexHeader.java @@ -1,11 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.dex; /** * dex file header. * see http://dexandroid.googlecode.com/svn/trunk/dalvik/libdex/DexFile.h - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class DexHeader { public static final int kSHA1DigestLen = 20; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/package-info.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/package-info.java deleted file mode 100644 index f3843c52a694629855d438b3a6e48d35a5ef13ab..0000000000000000000000000000000000000000 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/package-info.java +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Only for internal implementation! - */ -package net.dongliu.apk.parser.struct; \ No newline at end of file diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Densities.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Densities.java index dff35755def3545ed9f56710c1650330e2e77480..9ab8792f4e3b934995fec2aec6b1d73fc760daef 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Densities.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Densities.java @@ -1,8 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; /** * Screen density values */ +// Copyright 2016 Liu Dong public abstract class Densities { public static final int DEFAULT = 0; public static final int LOW = 120; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryEntry.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryEntry.java index 64459f01e2da71ae7023f7ad469216c2bbce880e..86ee4b0b254524c79c882ce90efb59a2c0564243 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryEntry.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryEntry.java @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; /** * Library chunk entry - * - * @author Liu Dong */ +// Copyright 2016 Liu Dong public class LibraryEntry { // uint32. The package-id this shared library was assigned at build time. private int packageId; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryHeader.java index ad2cc83e393bd5a6ed14d66f0f81308d3be8f2ae..dd3f4a59fd49bf1ed48e717cebf7b67b72f6a655 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/LibraryHeader.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ChunkHeader; @@ -6,12 +8,11 @@ import net.dongliu.apk.parser.utils.Unsigned; /** * Table library chunk header - * - * @author Liu Dong */ +// Copyright 2016 Liu Dong public class LibraryHeader extends ChunkHeader { - /** + /* * A package-id to package name mapping for any shared libraries used * in this resource table. The package-id's encoded in this resource * table may be different than the id's assigned at runtime. We must diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/NullHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/NullHeader.java index c6ff1d013a5636751233d28fdc064b3ab92dae72..60f9a0819a078e4ec43762616558e4c26bd08aa0 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/NullHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/NullHeader.java @@ -1,8 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ChunkHeader; import net.dongliu.apk.parser.struct.ChunkType; +// Copyright 2017 hsiafan public class NullHeader extends ChunkHeader { public NullHeader(int headerSize, int chunkSize) { super(ChunkType.NULL, headerSize, chunkSize); diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/PackageHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/PackageHeader.java index f5860d08e7d0e2a544aba458c2f9b11169964edb..c83ca36c160fdcfb89a6807d3c622137428b35b5 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/PackageHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/PackageHeader.java @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ChunkHeader; import net.dongliu.apk.parser.struct.ChunkType; import net.dongliu.apk.parser.utils.Unsigned; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class PackageHeader extends ChunkHeader { // ResourcePackage IDs start at 1 (corresponding to the value of the package bits in a resource identifier). diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResTableConfig.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResTableConfig.java index 73f05c0685e7070b2bff157d7c5f01497794a91b..2df12c4a7dde761839b2c1a152492c20343013df 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResTableConfig.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResTableConfig.java @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.utils.Unsigned; /** * used by resource Type. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ResTableConfig { // Number of bytes in this structure. uint32_t private int size; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceEntry.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceEntry.java index e7002e212c95a31038f6a36ad893343193c71515..db247d9eb49f73e7d8a30126959b4a7ec3009dfa 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceEntry.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceEntry.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ResourceValue; @@ -9,9 +11,8 @@ import androidx.annotation.Nullable; /** * A Resource entry specifies the key (name) of the Resource. * It is immediately followed by the value of that Resource. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ResourceEntry { // Number of bytes in this structure. uint16_t private int size; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceMapEntry.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceMapEntry.java index 179f909a7db82a3346c9621926356997b21e3de7..3198b63fff6c407c545a52b08c3014dd34f1cb44 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceMapEntry.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceMapEntry.java @@ -1,11 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import java.util.Arrays; import java.util.Locale; -/** - * @author dongliu. - */ +// Copyright 2014 Liu Dong public class ResourceMapEntry extends ResourceEntry { // Resource identifier of the parent mapping, or 0 if there is none. //ResTable_ref specifies the parent Resource, if any, of this Resource. diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourcePackage.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourcePackage.java index 1865d3808b2bcfc4bb211d3c90ef7bc3c082223f..665565679ad7e04e4a45938c856dc9b22e7fa06f 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourcePackage.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourcePackage.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.StringPool; @@ -11,9 +13,8 @@ import androidx.annotation.Nullable; /** * Resource packge. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ResourcePackage { // the packageName private String name; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTable.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTable.java index 212e70e276e06d00925cecbeeea72d12512c009f..668a6e4cbf35b1ad041bf491edd6155dbdb8c2e7 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTable.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTable.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import android.util.SparseArray; @@ -12,9 +14,8 @@ import androidx.annotation.NonNull; /** * The apk resource table - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ResourceTable { private Map<Short, ResourcePackage> packageMap = new HashMap<>(); private StringPool stringPool; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableHeader.java index d6f2bb1ab7404808e1316569b6cb6753efa2698d..4bfde959d5a5cafead158de3d696f0eb5cfbe32a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableHeader.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ChunkHeader; @@ -6,9 +8,8 @@ import net.dongliu.apk.parser.utils.Unsigned; /** * resource file header - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class ResourceTableHeader extends ChunkHeader { // The number of ResTable_package structures. uint32 private int packageCount; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableMap.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableMap.java index 2c0b5173283f81d1962c1fc0d6d8a46f07cecfc9..f01ee0c55293dd5e8951313edbd9623401fb201a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableMap.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/ResourceTableMap.java @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ResourceValue; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class ResourceTableMap { // ...elided // ResTable_ref; unit32 diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Type.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Type.java index 7a95fbc988f5b96e07e8d7754468293914dc4e30..5a41babf3b403bbb6e93850a447136767f3f9f8a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Type.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/Type.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.StringPool; @@ -7,9 +9,7 @@ import net.dongliu.apk.parser.utils.ParseUtils; import java.nio.ByteBuffer; import java.util.Locale; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class Type { private String name; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeHeader.java index d2d9731beb57326df5018c02b032d8fb597b74ae..91a6aa1d58d31382c4497115f2cb676c906864ed 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeHeader.java @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ChunkHeader; import net.dongliu.apk.parser.struct.ChunkType; import net.dongliu.apk.parser.utils.Unsigned; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class TypeHeader extends ChunkHeader { public static final long NO_ENTRY = 0xFFFFFFFFL; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpec.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpec.java index 1b9ec488ebf41aedab0d9c86cb3d0349827e73b9..b99114ade76f6c2defcea870e80af235c63c384d 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpec.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpec.java @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class TypeSpec { private long[] entryFlags; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpecHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpecHeader.java index b0c447ce146e8fd51e50e64f5035de5817c32cfe..835b16ae451491631693b87b628bc83d3f2229e3 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpecHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/resource/TypeSpecHeader.java @@ -1,12 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.resource; import net.dongliu.apk.parser.struct.ChunkHeader; import net.dongliu.apk.parser.struct.ChunkType; import net.dongliu.apk.parser.utils.Unsigned; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class TypeSpecHeader extends ChunkHeader { // The type identifier this chunk is holding. Type IDs start at 1 (corresponding to the value diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/ApkSigningBlock.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/ApkSigningBlock.java index 5796f5bc096c097fccfaac381c6adc5c191ef845..53cffa53c2ba9cf3afd7f32ff1bb31f92348695b 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/ApkSigningBlock.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/ApkSigningBlock.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.signingv2; import java.util.List; @@ -7,6 +9,7 @@ import java.util.List; * * @see <a href="https://source.android.com/security/apksigning/v2">apksigning v2 scheme</a> */ +// Copyright 2018 hsiafan public class ApkSigningBlock { public static final int SIGNING_V2_ID = 0x7109871a; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Digest.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Digest.java index 527626923700499578baaca9c3a88c34690e8946..ba9e08f628f563f074c823260e53a626ffa52cd7 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Digest.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Digest.java @@ -1,5 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.signingv2; +// Copyright 2018 hsiafan public class Digest { private int algorithmID; private byte[] value; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Signature.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Signature.java index 05ed0dbf0191da92eb023c042866b231e5a31e25..876af28b8b21ca3fecbdb2483679260e6356c17a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Signature.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/Signature.java @@ -1,5 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.signingv2; +// Copyright 2018 hsiafan public class Signature { private int algorithmID; private byte[] data; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/SignerBlock.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/SignerBlock.java index 532426ebbf09589a72ab9e3665db3d6abb212d9a..05df712c77054a0e04e260496c3a307b2bcd7964 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/SignerBlock.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/signingv2/SignerBlock.java @@ -1,9 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.signingv2; import java.util.List; import javax.security.cert.X509Certificate; +// Copyright 2018 hsiafan public class SignerBlock { private List<Digest> digests; private List<X509Certificate> certificates; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attribute.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attribute.java index 63a9a79d7f3a33bea65ce6445b1c144d3af354ee..8746abc9a87f631a9d7bf6bb4d247d79dc67fa4a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attribute.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attribute.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; import android.util.SparseArray; @@ -11,9 +13,8 @@ import java.util.Map; /** * xml node attribute - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class Attribute { private String namespace; private String name; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attributes.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attributes.java index 32e130f7fb6f1649ba995a6f2c19f29ec733342f..6e03704dbe00fa6fff0bcb3ec6129cf79cdc85c0 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attributes.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/Attributes.java @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; import androidx.annotation.Nullable; /** * xml node attributes - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class Attributes { private final Attribute[] attributes; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/NullHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/NullHeader.java index 34715b9994581b5ceb004e6a502688f972d21797..87b7d4d775183f976982f92f43836df8b7548771 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/NullHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/NullHeader.java @@ -1,12 +1,13 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; import net.dongliu.apk.parser.struct.ChunkHeader; /** * Null header. - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class NullHeader extends ChunkHeader { public NullHeader(int chunkType, int headerSize, long chunkSize) { super(chunkType, headerSize, chunkSize); diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlCData.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlCData.java index d815d9f3dcc6cba6bd5dce3147feb49ef091be3e..ece46771ad0af884d7d6d5c0a18c0f109392ac7e 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlCData.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlCData.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; import net.dongliu.apk.parser.struct.ResourceValue; @@ -5,9 +7,7 @@ import net.dongliu.apk.parser.struct.resource.ResourceTable; import java.util.Locale; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class XmlCData { public static final String CDATA_START = "<![CDATA["; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlHeader.java index 7604400e424b87414d1f71be62c8d4bed1444385..c3c82bd6c311c2dee105ced98c81e314b7bf6104 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlHeader.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; import net.dongliu.apk.parser.struct.ChunkHeader; @@ -5,9 +7,8 @@ import net.dongliu.apk.parser.struct.ChunkHeader; /** * Binary XML header. It is simply a struct ResChunk_header. * The header.type is always 0×0003 (XML). - * - * @author dongliu */ +// Copyright 2014 Liu Dong public class XmlHeader extends ChunkHeader { public XmlHeader(int chunkType, int headerSize, long chunkSize) { super(chunkType, headerSize, chunkSize); diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceEndTag.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceEndTag.java index 13cbb712cfc5e35ee52db92c0f49cc09b3199b65..0134859365a61dcd6c57decee5cbcdd68415aabe 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceEndTag.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceEndTag.java @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class XmlNamespaceEndTag { private String prefix; private String uri; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceStartTag.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceStartTag.java index 3f05334b28ac284886e443cbd23170b1d26ca135..271f49da1539a29e7324c095efdefa723708343e 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceStartTag.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNamespaceStartTag.java @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class XmlNamespaceStartTag { private String prefix; private String uri; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeEndTag.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeEndTag.java index 4c2ad5c709045204c388f2917abe168da44cd899..d68f46729238f16643e1f2968196f55dfff8558a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeEndTag.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeEndTag.java @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class XmlNodeEndTag { private String namespace; private String name; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeHeader.java index d10251cdb453bf5332d7c11fcacf7243fcc85175..3f59dc2061a8d0c9fc171b599baa12e1d82be1f9 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeHeader.java @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; import net.dongliu.apk.parser.struct.ChunkHeader; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class XmlNodeHeader extends ChunkHeader { // Line number in original source file at which this element appeared. private int lineNum; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeStartTag.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeStartTag.java index 6ac42c7dbb4968e602f2dfc3de320ab1fe18a0ce..112342ca792eba97bb40e16246cde212a9b4530a 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeStartTag.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlNodeStartTag.java @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class XmlNodeStartTag { private String namespace; private String name; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlResourceMapHeader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlResourceMapHeader.java index e53ddac8119686dd956846a0671f0f35960cab4c..3fa434bdc6fb6964f8a62c03aefcbfbc1d2aef94 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlResourceMapHeader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/xml/XmlResourceMapHeader.java @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.xml; import net.dongliu.apk.parser.struct.ChunkHeader; -/** - * @author dongliu - */ +// Copyright 2014 Liu Dong public class XmlResourceMapHeader extends ChunkHeader { public XmlResourceMapHeader(int chunkType, int headerSize, long chunkSize) { super(chunkType, headerSize, chunkSize); diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/zip/EOCD.java b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/zip/EOCD.java index 55245503d957e9b20935f4e78dda32edc52ba637..965c021dfb779de71ab8ca77b47e7b841507f046 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/struct/zip/EOCD.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/struct/zip/EOCD.java @@ -1,8 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.struct.zip; /** * End of central directory record */ +// Copyright 2017 hsiafan public class EOCD { public static final int SIGNATURE = 0x06054b50; // private int signature; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Buffers.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Buffers.java index 4e28b802bf889ac1462758a07f71e273be3c6404..b4d7aec3aa95445825ffc81cc5ffd25da377cf11 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Buffers.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Buffers.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.utils; import java.nio.Buffer; @@ -6,9 +8,8 @@ import java.nio.ByteOrder; /** * utils method for byte buffer - * - * @author Liu Dong dongliu@live.cn */ +// Copyright 2014 Liu Dong public class Buffers { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Inputs.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Inputs.java index e997c03aa3595a9aad2967121eef2b90261823c2..df4c5e2ca24e068ae5aa45a65dce53e28a42dd9d 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Inputs.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Inputs.java @@ -1,9 +1,12 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.utils; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; +// Copyright 2017 Liu Dong public class Inputs { public static byte[] readAll(InputStream in) throws IOException { diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Locales.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Locales.java index fac7e186fced8103d964f42665162b61189ff058..8be64443e10b81aa35fdaf7dff91dafd734fce9b 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Locales.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Locales.java @@ -1,10 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.utils; import java.util.Locale; -/** - * @author dongliu - */ +// Copyright 2018 Liu Dong public class Locales { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ParseUtils.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ParseUtils.java index bdbcefe512dbd11d45930bf08f828d1dec623f90..f49fc8f5902a5edf124e1c7864f1cf602fba41fa 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ParseUtils.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ParseUtils.java @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.utils; import net.dongliu.apk.parser.exception.ParserException; @@ -9,15 +11,14 @@ import net.dongliu.apk.parser.struct.StringPoolHeader; import java.nio.ByteBuffer; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import androidx.annotation.Nullable; -/** - * @author dongliu - */ +// Copyright 2018 Liu Dong public class ParseUtils { - public static Charset charsetUTF8 = Charset.forName("UTF-8"); + public static Charset charsetUTF8 = StandardCharsets.UTF_8; /** * read string from input buffer. if get EOF before read enough data, throw IOException. diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceFetcher.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceFetcher.java index f4775c7d822b0d0243ea873515fb3f2070913785..8b7b0682ba1efa59b1ded80ae2a54a90c0c28dc1 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceFetcher.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceFetcher.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache 2.0 AND BSD-2-Clause package net.dongliu.apk.parser.utils; import android.util.Pair; @@ -23,9 +24,8 @@ import java.util.regex.Pattern; /** * fetch dependency resource file from android source - * - * @author Liu Dong dongliu@live.cn */ +// Copyright 2014 Liu Dong public class ResourceFetcher { // from https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/public.xml diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceLoader.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceLoader.java index 0ee8cfc2bd9cfda3d62c2dd2f74c115e84c8cf24..9a110459d7aed737e466c144cf385a1c4b8c9762 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceLoader.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/ResourceLoader.java @@ -1,31 +1,4 @@ -/* - * Copyright (c) 2020, Muntashir Al-Islam - * Copyright (c) 2015, Jared Rummler - * Copyright (c) 2015, Liu Dong - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the <organization> nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ +// SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause package net.dongliu.apk.parser.utils; @@ -33,6 +6,8 @@ import android.util.SparseArray; import androidx.annotation.NonNull; +// Copyright 2015 Jared Rummler +// 2014 Liu Dong public class ResourceLoader { @NonNull diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Strings.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Strings.java index 8e3862332c70dd64c8edb0dc5dbd6c03c0cff882..9fa6913af86a58142ad38bc2d401319978019feb 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Strings.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Strings.java @@ -1,8 +1,10 @@ -package net.dongliu.apk.parser.utils; +// SPDX-License-Identifier: Apache-2.0 AND BSD-2-Clause +package net.dongliu.apk.parser.utils; import java.util.Iterator; +// Copyright 2017 hsiafan public class Strings { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Unsigned.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Unsigned.java index 6459c662ff72ecc948489c4bd7422535286cb4d8..cd7714804e8d967180e54eee4a7a887624326d59 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Unsigned.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/Unsigned.java @@ -1,8 +1,11 @@ +// SPDX-License-Identifier: BSD-2-Clause + package net.dongliu.apk.parser.utils; /** * Unsigned utils, for compatible with java6/java7. */ +// Copyright 2017 hsiafan public class Unsigned { public static long toLong(int value) { return value & 0xffffffffL; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/package-info.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/package-info.java deleted file mode 100644 index 00bba3a0b170dfd320615d21a7dbe448a002b9ee..0000000000000000000000000000000000000000 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/package-info.java +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Only for internal use! - */ -package net.dongliu.apk.parser.utils; \ No newline at end of file diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/AggregateTranslator.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/AggregateTranslator.java index 4ac171aec555992b51752c410a7a3a64450434c5..973dbcffe8c11b38151be5dfcc67b204bb811cb1 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/AggregateTranslator.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/AggregateTranslator.java @@ -1,19 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package net.dongliu.apk.parser.utils.xml; import java.io.IOException; @@ -22,8 +8,8 @@ import java.io.Writer; /** * Executes a sequence of translators one after the other. Execution ends whenever * the first translator consumes codepoints from the input. - * */ +// Copyright 2010 pbenedict class AggregateTranslator extends CharSequenceTranslator { private final CharSequenceTranslator[] translators; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CharSequenceTranslator.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CharSequenceTranslator.java index 97c53705ee282f2536d8ee883fe38b65365aa4f9..5030c6faf641be4a2d02097f3c0389dc7422e252 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CharSequenceTranslator.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CharSequenceTranslator.java @@ -1,19 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package net.dongliu.apk.parser.utils.xml; import java.io.IOException; @@ -27,6 +13,7 @@ import java.util.Locale; * is completely contextual, the API does not present two separate signatures. * */ +// Copyright 2010 pbenedict abstract class CharSequenceTranslator { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CodePointTranslator.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CodePointTranslator.java index a5559103d6a89a846d992d32269e0787415c1aaf..ec70bc680fec35aa05124b513754a8cfcdac886f 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CodePointTranslator.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/CodePointTranslator.java @@ -1,19 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package net.dongliu.apk.parser.utils.xml; import java.io.IOException; @@ -23,6 +9,7 @@ import java.io.Writer; * Helper subclass to CharSequenceTranslator to allow for translations that * will replace up to one character at a time. */ +// Copyright 2010 pbenedict abstract class CodePointTranslator extends CharSequenceTranslator { /** diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/EntityArrays.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/EntityArrays.java index 4810f70125a642735456e6febf30caa5cdf900e3..05ea99f6281600f2fc9c293c017d64c609a4418f 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/EntityArrays.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/EntityArrays.java @@ -1,19 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package net.dongliu.apk.parser.utils.xml; /** @@ -21,6 +7,7 @@ package net.dongliu.apk.parser.utils.xml; * the LookupTranslator. * All arrays are of length [*][2]. */ +// Copyright 2010 pbenedict public class EntityArrays { /** * Mapping to escape the basic XML and HTML character entities. diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/LookupTranslator.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/LookupTranslator.java index e9a4625f18ba2724ce1f28be8bdc5d0356c24f7f..9af41b875c7f4ee12476e3aaf5b6bf2741dbb8fc 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/LookupTranslator.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/LookupTranslator.java @@ -1,19 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package net.dongliu.apk.parser.utils.xml; import java.io.IOException; @@ -23,6 +9,7 @@ import java.util.HashMap; /** * Translates a value using a lookup table. */ +// Copyright 2010 pbenedict class LookupTranslator extends CharSequenceTranslator { private final HashMap<String, CharSequence> lookupMap; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/NumericEntityEscaper.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/NumericEntityEscaper.java index b32ea41ba5f3bf0846861fea11b893749c0de67b..98b78c07380066b4913eee992be22df630e4a24f 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/NumericEntityEscaper.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/NumericEntityEscaper.java @@ -1,19 +1,5 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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. - */ +// SPDX-License-Identifier: Apache-2.0 + package net.dongliu.apk.parser.utils.xml; import java.io.IOException; @@ -22,6 +8,7 @@ import java.io.Writer; /** * Translates codepoints to their XML numeric entity escaped value. */ +// Copyright 2010 pbenedict class NumericEntityEscaper extends CodePointTranslator { private final int below; diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/UnicodeUnpairedSurrogateRemover.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/UnicodeUnpairedSurrogateRemover.java index d79f3eb76ac045bd52a8237e580b0f45fe7d7214..b9c2b50876f370515afed332673e2ddf40e5aa3c 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/UnicodeUnpairedSurrogateRemover.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/UnicodeUnpairedSurrogateRemover.java @@ -1,22 +1,6 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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 net.dongliu.apk.parser.utils.xml; +// SPDX-License-Identifier: Apache-2.0 -import net.dongliu.apk.parser.utils.xml.CodePointTranslator; +package net.dongliu.apk.parser.utils.xml; import java.io.IOException; import java.io.Writer; @@ -24,6 +8,7 @@ import java.io.Writer; /** * Helper subclass to CharSequenceTranslator to remove unpaired surrogates. */ +// Copyright 2014 britter class UnicodeUnpairedSurrogateRemover extends CodePointTranslator { /** * Implementation of translate that throws out unpaired surrogates. diff --git a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/XmlEscaper.java b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/XmlEscaper.java index c24fe81e0f1ea587a0cecb0b2c72de14cfb67132..ee4b3750d706a3422eb33b69c1b9dea7bcf6dc55 100644 --- a/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/XmlEscaper.java +++ b/libapkparser/src/main/java/net/dongliu/apk/parser/utils/xml/XmlEscaper.java @@ -1,12 +1,11 @@ -package net.dongliu.apk.parser.utils.xml; +// SPDX-License-Identifier: Apache-2.0 AND BSD-2-Clause -import net.dongliu.apk.parser.utils.*; +package net.dongliu.apk.parser.utils.xml; /** * Utils method to escape xml string, copied from apache commons lang3 - * - * @author Liu Dong {@literal <dongliu@live.cn>} */ +// Copyright 2015 Liu Dong public class XmlEscaper { /** diff --git a/libopenpgp/build.gradle b/libopenpgp/build.gradle index 54a539b18112ab1646669ab111a254d3c30cf8eb..de94dc8225bdde4a93961f0cbe2d4a5de929108f 100644 --- a/libopenpgp/build.gradle +++ b/libopenpgp/build.gradle @@ -1,18 +1,3 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later apply from: "$gradle.ext.appManagerRoot/common.gradle" diff --git a/libopenpgp/src/main/AndroidManifest.xml b/libopenpgp/src/main/AndroidManifest.xml index 7e44581eea0b1e0d6c5d8bd034b0e273e7285fe5..4ec26cae5bfac69e63117ef02fd2938e8f4dfae0 100644 --- a/libopenpgp/src/main/AndroidManifest.xml +++ b/libopenpgp/src/main/AndroidManifest.xml @@ -1,18 +1,2 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later --> <manifest package="org.openintents.openpgp" /> \ No newline at end of file diff --git a/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl b/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl index 3689d174bd3923f93d431b7a9fd349f7f6f193e7..60396b49527e120b106bc63b7751f17de2991453 100644 --- a/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl +++ b/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService.aidl @@ -1,21 +1,8 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp; +// Copyright 2014-2015 Dominik Schürmann interface IOpenPgpService { /** diff --git a/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl b/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl index 8aa4dd2e1c45d78d10ed3a7fbc022190d6989a66..c858cbaa621bdfefe5f515776c306cd0605fc0ee 100644 --- a/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl +++ b/libopenpgp/src/main/aidl/org/openintents/openpgp/IOpenPgpService2.aidl @@ -1,21 +1,8 @@ -/* - * Copyright (C) 2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ - +// SPDX-License-Identifier: Apache-2.0 + package org.openintents.openpgp; +// Copyright 2015 Dominik Schürmann interface IOpenPgpService2 { /** diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/AutocryptPeerUpdate.java b/libopenpgp/src/main/java/org/openintents/openpgp/AutocryptPeerUpdate.java index f7357d1c01d3c3d2e6ba4ffa748609e3f9074897..db2cd1224931dde3e5e8f26e0995f4bd83dbf12e 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/AutocryptPeerUpdate.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/AutocryptPeerUpdate.java @@ -1,18 +1,4 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp; @@ -23,6 +9,7 @@ import android.os.Parcel; import android.os.Parcelable; +// Copyright 2014-2015 Dominik Schürmann @SuppressWarnings("unused") public class AutocryptPeerUpdate implements Parcelable { /** diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpDecryptionResult.java b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpDecryptionResult.java index de4f12a4cfdbeeca01ba246a6493b3f2791d3ef6..5b00529e0cd7cea5def9cf0d3f04e27b8ec4e4d9 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpDecryptionResult.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpDecryptionResult.java @@ -1,18 +1,4 @@ -/* - * Copyright (C) 2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp; @@ -21,6 +7,7 @@ import java.util.Arrays; import android.os.Parcel; import android.os.Parcelable; +// Copyright 2015 Dominik Schürmann public class OpenPgpDecryptionResult implements Parcelable { /** * Since there might be a case where new versions of the client using the library getting diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpError.java b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpError.java index a149be45fc1c1c3872a35b497b19da05f972c5ba..0cf1c94554827d1f453f5617848cca3848567628 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpError.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpError.java @@ -1,24 +1,11 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp; import android.os.Parcel; import android.os.Parcelable; +// Copyright 2014-2015 Dominik Schürmann public class OpenPgpError implements Parcelable { /** * Since there might be a case where new versions of the client using the library getting diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpMetadata.java b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpMetadata.java index 29c4113d3bb5804147dae8df4f796eba34e0a351..8f2a2181603e9312ad5280ab20dd6e3ebe2118db 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpMetadata.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpMetadata.java @@ -1,24 +1,11 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp; import android.os.Parcel; import android.os.Parcelable; +// Copyright 2014-2015 Dominik Schürmann public class OpenPgpMetadata implements Parcelable { /** * Since there might be a case where new versions of the client using the library getting diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.java b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.java index cdf475ba6566b76b92702cecffed467c62aa0fc1..33a1183a222eccff7ad71d7e1335c194e87586f1 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/OpenPgpSignatureResult.java @@ -1,22 +1,7 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp; - import java.util.Collections; import java.util.Date; import java.util.List; @@ -26,6 +11,7 @@ import android.os.Parcelable; import org.openintents.openpgp.util.OpenPgpUtils; +// Copyright 2014-2015 Dominik Schürmann @SuppressWarnings("unused") public class OpenPgpSignatureResult implements Parcelable { /** diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java b/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java index 797cba5a0de6eeb627f271a18c615a5d78c4aea0..3c4b2d62c28346925956edef22b1e5cdde86ead2 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpApi.java @@ -1,22 +1,7 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package org.openintents.openpgp.util; - import android.content.Context; import android.content.Intent; import android.os.Handler; @@ -35,6 +20,7 @@ import java.io.OutputStream; import java.util.concurrent.Executor; import java.util.concurrent.atomic.AtomicInteger; +// Copyright 2014-2015 Dominik Schürmann @SuppressWarnings("unused") public class OpenPgpApi { diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpServiceConnection.java b/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpServiceConnection.java index 23128f4a95016e5fef69c1b38958c04bf1f5619a..07951b343da8740b19b70c154c7f55304ff0a44e 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpServiceConnection.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpServiceConnection.java @@ -1,18 +1,4 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp.util; @@ -24,6 +10,7 @@ import android.os.IBinder; import org.openintents.openpgp.IOpenPgpService2; +// Copyright 2014-2015 Dominik Schürmann public class OpenPgpServiceConnection { // callback interface diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpUtils.java b/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpUtils.java index df2c540f88d6431856286865c8f886b4539a7063..d90dd48131afa412b9679e9d42a33b3f3222938a 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpUtils.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/util/OpenPgpUtils.java @@ -1,20 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package org.openintents.openpgp.util; @@ -35,6 +19,7 @@ import java.util.Locale; import java.util.regex.Matcher; import java.util.regex.Pattern; +// Copyright 2014-2015 Dominik Schürmann public class OpenPgpUtils { public static final Pattern PGP_MESSAGE = Pattern.compile( diff --git a/libopenpgp/src/main/java/org/openintents/openpgp/util/ParcelFileDescriptorUtil.java b/libopenpgp/src/main/java/org/openintents/openpgp/util/ParcelFileDescriptorUtil.java index 931ed845e299f7f6878d524c30895a2612751eda..d0273f5e4735bdddc50764c65390608feb700f45 100644 --- a/libopenpgp/src/main/java/org/openintents/openpgp/util/ParcelFileDescriptorUtil.java +++ b/libopenpgp/src/main/java/org/openintents/openpgp/util/ParcelFileDescriptorUtil.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2014-2015 Dominik Schürmann <dominik@dominikschuermann.de> - * 2013 Florian Schmaus <flo@geekplace.eu> - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 package org.openintents.openpgp.util; @@ -24,6 +9,7 @@ import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; +// Copyright 2013 Florian Schmaus public class ParcelFileDescriptorUtil { public static ParcelFileDescriptor pipeFrom(InputStream inputStream) diff --git a/libserver/build.gradle b/libserver/build.gradle index 137842306d579dad294771f80a2d05f6cd1c6406..7bba081036dda71826ddb030c70f5eee77e6fd61 100644 --- a/libserver/build.gradle +++ b/libserver/build.gradle @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later apply from: "$gradle.ext.appManagerRoot/common.gradle" diff --git a/libserver/src/main/AndroidManifest.xml b/libserver/src/main/AndroidManifest.xml index 5b7b0a2e4ac10ce8c43c0b5dddc831ca8b65fe90..2966c0dcc13b57b7e7bf112908b6b5135dcb8347 100644 --- a/libserver/src/main/AndroidManifest.xml +++ b/libserver/src/main/AndroidManifest.xml @@ -1,19 +1,2 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <manifest package="io.github.muntashirakon.AppManager.server.common" /> \ No newline at end of file diff --git a/libserver/src/main/aidl/io/github/muntashirakon/AppManager/server/common/IRootIPC.aidl b/libserver/src/main/aidl/io/github/muntashirakon/AppManager/server/common/IRootIPC.aidl index 8833321911e319246758dadd8dc7e3bf18c9ec28..1ab078627441d8a376895c8335bce7bfe77693c9 100644 --- a/libserver/src/main/aidl/io/github/muntashirakon/AppManager/server/common/IRootIPC.aidl +++ b/libserver/src/main/aidl/io/github/muntashirakon/AppManager/server/common/IRootIPC.aidl @@ -1,22 +1,8 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; +// Copyright 2020 John "topjohnwu" Wu interface IRootIPC { oneway void broadcast(); IBinder bind(in Intent intent); diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Actions.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Actions.java index a291616994b47895f5b6a8e9612614ea307f8858..94ee3f19fbcefb5769416bd5f4a4bb597d3a01c8 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Actions.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Actions.java @@ -1,22 +1,8 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; +// Copyright 2017 Zheng Li public final class Actions { public static final String PACKAGE_NAME = "io.github.muntashirakon.AppManager"; public static final String ACTION_SERVER_STARTED = PACKAGE_NAME + ".action.SERVER_STARTED"; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/BaseCaller.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/BaseCaller.java index a16d01fa5d21409f78a730ccdd6813796efd65e7..6d4849422fd5dfd4c714d80214b3030d43cbd2ca 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/BaseCaller.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/BaseCaller.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -22,6 +7,7 @@ import android.os.Parcelable; import androidx.annotation.NonNull; +// Copyright 2017 Zheng Li public class BaseCaller implements Parcelable { public static final int TYPE_CLOSE = -10; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Caller.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Caller.java index b8917dcd998e51da3840eb91325081e5567338ca..5bf6786b3e8b27579d22f37b1bd4b07adaf62907 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Caller.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Caller.java @@ -1,24 +1,10 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; import android.os.Parcelable; +// Copyright 2017 Zheng Li @SuppressWarnings("rawtypes") public abstract class Caller implements Parcelable { protected Class[] cParamsType; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/CallerResult.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/CallerResult.java index f18274326dbc9c8040596203037370876678eff9..c79663c36c8d766c9ecab4a9d9a4c3da1ebaba1d 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/CallerResult.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/CallerResult.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -22,6 +7,7 @@ import android.os.Parcelable; import androidx.annotation.NonNull; +// Copyright 2017 Zheng Li public class CallerResult implements Parcelable { private byte[] reply; private Throwable throwable; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ClassUtils.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ClassUtils.java index 4c6c528931070966e491d6616c0ab39c2827f101..2c6d947ebe8116ce105b0710ea2d83214aa981d8 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ClassUtils.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ClassUtils.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -33,6 +18,7 @@ import java.util.Map; import androidx.annotation.Nullable; +// Copyright 2017 Zheng Li @SuppressWarnings("rawtypes") public class ClassUtils { private static final Map<String, Class> sDefaultClassMap = new HashMap<>(); diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ConfigParam.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ConfigParam.java index 21fe623d7d4b849d20f352bcac1200adeceff8e3..e66a2c65e87cf7b3e45f8d5d17564fed7b9c066d 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ConfigParam.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ConfigParam.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Constants.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Constants.java index 52b74ceaa0f1cd618dfb0d5a8f16d811b12ba309..51b3b05231fd81593b4b25327b3f5874721ee044 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Constants.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Constants.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/DataTransmission.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/DataTransmission.java index bd80e6c6f2b7a0caa425d87d208613e4427311c1..f003fa2dd23dbbfbea46ff2af728ed54d83cf54f 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/DataTransmission.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/DataTransmission.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -32,6 +17,7 @@ import androidx.annotation.Nullable; /** * <code>DataTransmission</code> class handles the data sent and received by server or client. */ +// Copyright 2017 Zheng Li public final class DataTransmission { /** * Protocol version. Specification: <code>protocol-version,token</code> diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/FLog.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/FLog.java index 12543b0a96707998cc14ea5731305958d41c545c..191d449ea01d94ed117d4a1312c3b682e6449833 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/FLog.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/FLog.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -26,6 +11,7 @@ import java.io.FileOutputStream; import java.util.Date; import java.util.concurrent.atomic.AtomicInteger; +// Copyright 2017 Zheng Li public class FLog { public static boolean writeLog = false; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParamsFixer.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParamsFixer.java index 292fbda23902ac0c51951d38118aeda5cd9bc9f8..03d2081052d14765c6ab9345206c297ad6d953f3 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParamsFixer.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParamsFixer.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -24,6 +9,7 @@ import java.io.IOException; import androidx.annotation.NonNull; +// Copyright 2017 Zheng Li @SuppressWarnings("rawtypes") public class ParamsFixer { @NonNull diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParcelableUtil.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParcelableUtil.java index c69e59dd5f7b0d924ef1a9fbbde666fcfa2b6b0d..26461d53eec6e61a3ef6fe42d20309c7567658c9 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParcelableUtil.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ParcelableUtil.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -22,6 +7,7 @@ import android.os.Parcelable; import androidx.annotation.NonNull; +// Copyright 2017 Zheng Li public class ParcelableUtil { public static byte[] marshall(@NonNull Parcelable parcelable) { diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerRunInfo.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerRunInfo.java index 5fe7da3a4ec24db9b4f591b154398e4c64e32c6d..146b619a6776053f16650b79ed6f20076c373d50 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerRunInfo.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerRunInfo.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -21,6 +6,7 @@ import android.os.Parcel; import androidx.annotation.NonNull; +// Copyright 2017 Zheng Li public class ServerRunInfo implements android.os.Parcelable { public String protocolVersion = DataTransmission.PROTOCOL_VERSION; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerUtils.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerUtils.java index b355d1f4b8546125353c89f9300d2326a18550cf..4c53071a76c736d0396184285c5121f4d4ec97ec 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerUtils.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ServerUtils.java @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; import android.content.ComponentName; @@ -6,6 +7,7 @@ import android.os.Looper; import java.lang.reflect.Method; +// Copyright 2020 John "topjohnwu" Wu // Must be accessed via reflection public final class ServerUtils { public static final String CMDLINE_STOP_SERVER = "stopServer"; diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Shell.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Shell.java index 225d76cf3ea81d472026566ab6fa42ca93631aa6..cedeb2fb1c1627744d0a6549733a05752467a9fe 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Shell.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/Shell.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; @@ -29,6 +14,7 @@ import java.util.concurrent.atomic.AtomicInteger; import androidx.annotation.NonNull; +// Copyright 2017 Zheng Li public final class Shell { private static final String TOKEN = "ZL@LOVE^TYS"; //U+1F430 U+2764 U+1F431 diff --git a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ShellCaller.java b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ShellCaller.java index d08c99ed7c44b1fd03846b697154425e2d3aa762..50c9d487cced1b2ecf62818ca6f947230fa9eb0b 100644 --- a/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ShellCaller.java +++ b/libserver/src/main/java/io/github/muntashirakon/AppManager/server/common/ShellCaller.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later package io.github.muntashirakon.AppManager.server.common; diff --git a/server/build.gradle b/server/build.gradle index b5d227434be4f7641eb6f54783f370c8bc21ee35..0e0994446945b64c5eb7fa6240fa8412a0ccb1a2 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: GPL-3.0-or-later apply from: "$gradle.ext.appManagerRoot/common.gradle" diff --git a/server/src/main/AndroidManifest.xml b/server/src/main/AndroidManifest.xml index d871fd2cf4a7adf60c979b950bb76cfb2a51219d..6ca20004a77550d74c8dd21eaa31af3f61b66ba5 100644 --- a/server/src/main/AndroidManifest.xml +++ b/server/src/main/AndroidManifest.xml @@ -1,18 +1,2 @@ -<!-- - ~ Copyright (C) 2020 Muntashir Al-Islam - ~ - ~ 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. - ~ - ~ 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. - ~ - ~ You should have received a copy of the GNU General Public License - ~ along with this program. If not, see <https://www.gnu.org/licenses/>. - --> - +<!-- SPDX-License-Identifier: GPL-3.0-or-later --> <manifest package="io.github.muntashirakon.AppManager.server" /> diff --git a/server/src/main/java/io/github/muntashirakon/AppManager/server/BroadcastSender.java b/server/src/main/java/io/github/muntashirakon/AppManager/server/BroadcastSender.java index b7bd09e4b23acc95b11a79a3fd993b996e23eb60..f31e721618ab934e0adb727672785d5a8a27b5a0 100644 --- a/server/src/main/java/io/github/muntashirakon/AppManager/server/BroadcastSender.java +++ b/server/src/main/java/io/github/muntashirakon/AppManager/server/BroadcastSender.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server; @@ -23,6 +8,7 @@ import android.content.Intent; import io.github.muntashirakon.AppManager.server.common.FLog; +// Copyright 2017 Zheng Li class BroadcastSender { static void sendBroadcast(Intent intent) { try { diff --git a/server/src/main/java/io/github/muntashirakon/AppManager/server/IPCMain.java b/server/src/main/java/io/github/muntashirakon/AppManager/server/IPCMain.java index 2c1ccb56d235d2257be8f6a857c74c8b474078eb..ed5c5a9057122bbd529cafbe5b0bdd6fb98735ad 100644 --- a/server/src/main/java/io/github/muntashirakon/AppManager/server/IPCMain.java +++ b/server/src/main/java/io/github/muntashirakon/AppManager/server/IPCMain.java @@ -1,19 +1,4 @@ -/* - * Copyright 2020 John "topjohnwu" Wu - * Copyright 2020 Muntashir Al-Islam - * - * 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. - */ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server; @@ -46,10 +31,11 @@ import static io.github.muntashirakon.AppManager.server.common.ServerUtils.getSy * Expected command-line args: * args[0]: client service component name * args[1]: {@link ServerUtils#CMDLINE_STOP_SERVER} or class name of IPCServer - *<p> + * <p> * <b>Note:</b> This class is hardcoded in {@code IPCClient#IPCMAIN_CLASSNAME}. Don't change the class name or package * path without changing them there. */ +// Copyright 2020 John "topjohnwu" Wu public class IPCMain { private static void stopRemoteService(ComponentName name) throws Exception { @SuppressLint("PrivateApi") diff --git a/server/src/main/java/io/github/muntashirakon/AppManager/server/LifecycleAgent.java b/server/src/main/java/io/github/muntashirakon/AppManager/server/LifecycleAgent.java index 14cb2aee2788b0b4d3bb25dc87fa9f283d5151e8..fd0ec0ec2c7acf1313e6eb6dc1517fa940889703 100644 --- a/server/src/main/java/io/github/muntashirakon/AppManager/server/LifecycleAgent.java +++ b/server/src/main/java/io/github/muntashirakon/AppManager/server/LifecycleAgent.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server; @@ -28,6 +13,7 @@ import io.github.muntashirakon.AppManager.server.common.ServerRunInfo; import static io.github.muntashirakon.AppManager.server.common.ConfigParam.PARAM_TOKEN; import static io.github.muntashirakon.AppManager.server.common.ConfigParam.PARAM_TYPE; +// Copyright 2017 Zheng Li class LifecycleAgent { static volatile Map<String, String> sConfigParams; static ServerRunInfo serverRunInfo = new ServerRunInfo(); diff --git a/server/src/main/java/io/github/muntashirakon/AppManager/server/Server.java b/server/src/main/java/io/github/muntashirakon/AppManager/server/Server.java index b45970386e4318f5dcf601ec17269cec787e290c..f934e9b6addf1477c052b267b5a95d24f848b210 100644 --- a/server/src/main/java/io/github/muntashirakon/AppManager/server/Server.java +++ b/server/src/main/java/io/github/muntashirakon/AppManager/server/Server.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server; @@ -30,6 +15,7 @@ import androidx.annotation.NonNull; import io.github.muntashirakon.AppManager.server.common.DataTransmission; import io.github.muntashirakon.AppManager.server.common.FLog; +// Copyright 2017 Zheng Li class Server { private boolean running = true; @NonNull diff --git a/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerHandler.java b/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerHandler.java index 2603d15d84002ab01af3e4411c819072e7154bed..56f5361150ac679f28ca6bc9372b6578fd78ad5d 100644 --- a/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerHandler.java +++ b/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerHandler.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server; @@ -40,6 +25,7 @@ import static io.github.muntashirakon.AppManager.server.common.ConfigParam.PARAM import static io.github.muntashirakon.AppManager.server.common.ConfigParam.PARAM_RUN_IN_BACKGROUND; import static io.github.muntashirakon.AppManager.server.common.ConfigParam.PARAM_TOKEN; +// Copyright 2017 Zheng Li class ServerHandler implements DataTransmission.OnReceiveCallback, AutoCloseable { private static final int MSG_TIMEOUT = 1; private static final int DEFAULT_TIMEOUT = 1000 * 60; // 1 min diff --git a/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerRunner.java b/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerRunner.java index d5ae55b7aa6cb57bb00d165de7da61ede050ee62..b805fe121202457eb6ed8c35ca9747c052e4c512 100644 --- a/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerRunner.java +++ b/server/src/main/java/io/github/muntashirakon/AppManager/server/ServerRunner.java @@ -1,19 +1,4 @@ -/* - * Copyright (C) 2020 Muntashir Al-Islam - * - * 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. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ +// SPDX-License-Identifier: MIT AND GPL-3.0-or-later package io.github.muntashirakon.AppManager.server; @@ -51,6 +36,7 @@ import static io.github.muntashirakon.AppManager.server.common.ConfigParam.PARAM * </li> * </ol> */ +// Copyright 2017 Zheng Li public final class ServerRunner { /** * The main method diff --git a/settings.gradle b/settings.gradle index d935737969a852f545a2d90634e3a79be4b925c6..fee686a8fef6bcd3f45317e72cefa4d87499c1fb 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-or-later include ':docs' include ':libserver' include ':libopenpgp'