Skip to content

Commit 9bc9f2e

Browse files
update copyright
Signed-off-by: androidacy-user <opensource@androidacy.com>
1 parent d0e393c commit 9bc9f2e

219 files changed

Lines changed: 946 additions & 118 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
3+
*/
4+
15
@file:Suppress("UnstableApiUsage", "SpellCheckingInspection")
26

37
import com.android.build.api.variant.FilterConfiguration.FilterType.ABI

app/src/main/AndroidManifest.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
~ Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
5+
-->
6+
27
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
38
xmlns:tools="http://schemas.android.com/tools"
49
tools:ignore="QueryAllPackagesPermission"
@@ -55,7 +60,7 @@
5560
android:enableOnBackInvokedCallback="true"
5661
android:fullBackupContent="@xml/full_backup_content"
5762
android:icon="@mipmap/ic_launcher"
58-
android:label="@string/app_name"
63+
android:label="@string/app_name_v2"
5964
android:networkSecurityConfig="@xml/network_security_config"
6065
android:roundIcon="@mipmap/ic_launcher"
6166
android:supportsRtl="@bool/lang_support_rtl"
@@ -104,7 +109,7 @@
104109
<activity
105110
android:name=".MainActivity"
106111
android:exported="true"
107-
android:label="@string/app_name_short"
112+
android:label="@string/app_name_short_v2"
108113
android:launchMode="singleTask"
109114
android:theme="@style/Theme.MagiskModuleManager.NoActionBar" >
110115
<intent-filter>

app/src/main/assets/anykernel3_installer.sh

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,5 @@
1-
## AnyKernel3 (AK3), and AnyKernel2/AnyKernel 2.0 (AK2) Scripts License:
21
#
3-
# AnyKernel (versions 2.0/2 and later) Android image modifying scripts.
4-
# Copyright (c) 2019 Chris Renshaw (osm0sis @ xda-developers),
5-
# and additional contributors per readily available commit history/credits.
6-
# All rights reserved.
7-
#
8-
# Redistribution and use in source and binary forms, with or without
9-
# modification, are permitted (subject to the limitations in the disclaimer
10-
# below) provided that the following conditions are met:
11-
#
12-
# * Redistributions of source code must retain the above copyright notice,
13-
# this list of conditions and the following disclaimer.
14-
#
15-
# * Redistributions in binary form must reproduce the above copyright
16-
# notice, this list of conditions and the following disclaimer in the
17-
# documentation and/or other materials provided with the distribution.
18-
#
19-
# * Neither the name of the copyright holder nor the names of its
20-
# contributors may be used to endorse or promote products derived from this
21-
# software without specific prior written permission.
22-
#
23-
# NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
24-
# THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
25-
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26-
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
27-
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
28-
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
30-
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
31-
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
32-
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33-
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34-
# POSSIBILITY OF SUCH DAMAGE.
2+
# Copyright (c) 2019-2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
353
#
364

375
if [ -z "$AK3TMPFS" ]; then

app/src/main/assets/module_installer_compat.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#
2+
# Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
3+
#
4+
15
# shellcheck shell=ash
26

37
#################

app/src/main/assets/module_installer_test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/sbin/sh
2+
#
3+
# Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
4+
#
5+
26
# This script is only used to test debug builds
37

48
umask 022

app/src/main/assets/module_installer_wrapper.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/sbin/sh
22

3+
#
4+
# Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
5+
#
6+
37
# echo before loading util_functions
48
ui_print() { echo "$1"; }
59

app/src/main/java/com/fox2code/mmm/AppUpdateManager.kt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
3+
*/
4+
15
package com.fox2code.mmm
26

37
import com.fox2code.mmm.androidacy.AndroidacyRepoData
@@ -10,7 +14,6 @@ import java.io.FileInputStream
1014
import java.io.IOException
1115
import java.io.InputStream
1216

13-
// See https://docs.github.com/en/rest/reference/repos#releases
1417
@Suppress("unused")
1518
class AppUpdateManager private constructor() {
1619
var changes: String? = null
@@ -43,15 +46,15 @@ class AppUpdateManager private constructor() {
4346
synchronized(updateLock) {
4447
Timber.d("Checking for app updates")
4548
if (lastChecked != this.lastChecked) return peekShouldUpdate()
46-
// make a request to https://production-api.androidacy.com/ammm/updates/check with appVersionCode and token/device_id/client_id
49+
// make a request to https://production-api.androidacy.com/amm/updates/check with appVersionCode and token/device_id/client_id
4750
var token = AndroidacyRepoData.token
4851
if (!AndroidacyRepoData.getInstance().isValidToken(token)) {
4952
Timber.w("Invalid token, not checking for updates")
5053
token = AndroidacyRepoData.getInstance().requestNewToken()
5154
}
5255
val deviceId = AndroidacyRepoData.generateDeviceId()
5356
val clientId = BuildConfig.ANDROIDACY_CLIENT_ID
54-
val url = "https://production-api.androidacy.com/ammm/updates/check?appVersionCode=${BuildConfig.VERSION_CODE}&token=$token&device_id=$deviceId&client_id=$clientId"
57+
val url = "https://production-api.androidacy.com/amm/updates/check?appVersionCode=${BuildConfig.VERSION_CODE}&token=$token&device_id=$deviceId&client_id=$clientId"
5558
val response = doHttpGet(url, false)
5659
// convert response to string
5760
val responseString = String(response, Charsets.UTF_8)

app/src/main/java/com/fox2code/mmm/Constants.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
3+
*/
4+
15
package com.fox2code.mmm
26

37
@Suppress("unused")

app/src/main/java/com/fox2code/mmm/CrashHandler.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
3+
*/
4+
15
package com.fox2code.mmm
26

37
import android.annotation.SuppressLint

app/src/main/java/com/fox2code/mmm/MainActivity.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2023 to present Androidacy and contributors. Names, logos, icons, and the Androidacy name are all trademarks of Androidacy and may not be used without license. See LICENSE for more information.
3+
*/
4+
15
package com.fox2code.mmm
26

37
import android.animation.Animator

0 commit comments

Comments
 (0)