Skip to content

Commit 2a50353

Browse files
committed
Change package namespace
As this project becomes standalone (because the original project is no longer maintained at all), i'm changing the package namespace from theredspy15.ltecleanerfoss to io.mdp43140.ltecleaner
1 parent 150644b commit 2a50353

17 files changed

+62
-62
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ kotlin {
1818
android {
1919
compileSdk = 35
2020
buildToolsVersion = "35.0.0"
21-
namespace = "theredspy15.ltecleanerfoss"
21+
namespace = "io.mdp43140.ltecleaner"
2222
defaultConfig {
23-
applicationId = "io.mdp43140.ltecleaner"
23+
applicationId = android.namespace
2424
minSdk = 24
2525
targetSdk = compileSdk
2626
versionCode = 64

app/src/main/java/theredspy15/ltecleanerfoss/App.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/App.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
import android.app.Application
88
import android.content.Context
99
import android.content.SharedPreferences
1010
import androidx.preference.PreferenceManager
1111
import com.google.android.material.color.DynamicColors
12-
//import theredspy15.ltecleanerfoss.CommonFunctions
12+
//import io.mdp43140.ltecleaner.CommonFunctions
1313
import io.mdp43140.ael.ErrorLogger
1414
class App: Application(){
1515
private var runCount = 0

app/src/main/java/theredspy15/ltecleanerfoss/BootReceiver.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/BootReceiver.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
import android.content.BroadcastReceiver
88
import android.content.Context
99
import android.content.Intent
@@ -14,8 +14,8 @@ import androidx.work.ExistingWorkPolicy
1414
import androidx.work.OneTimeWorkRequestBuilder
1515
import androidx.work.WorkManager
1616
import java.util.concurrent.TimeUnit
17-
//import theredspy15.ltecleanerfoss.App
18-
//import theredspy15.ltecleanerfoss.Constants
17+
//import io.mdp43140.ltecleaner.App
18+
//import io.mdp43140.ltecleaner.Constants
1919
class BootReceiver: BroadcastReceiver() {
2020
override fun onReceive(ctx: Context, i: Intent) {
2121
val constraints = Constraints.Builder()

app/src/main/java/theredspy15/ltecleanerfoss/CleanupService.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/CleanupService.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
import android.app.NotificationManager
88
import android.app.Service
99
import android.content.Context
@@ -15,8 +15,8 @@ import androidx.core.app.NotificationCompat
1515
import androidx.preference.PreferenceManager
1616
import io.mdp43140.ael.ErrorLogger
1717
import java.util.Locale
18-
//import theredspy15.ltecleanerfoss.CommonFunctions
19-
//import theredspy15.ltecleanerfoss.Constants
18+
//import io.mdp43140.ltecleaner.CommonFunctions
19+
//import io.mdp43140.ltecleaner.Constants
2020
class CleanupService: Service(){
2121
private lateinit var notification: NotificationCompat.Builder
2222
override fun onBind(intent: Intent?): IBinder? {

app/src/main/java/theredspy15/ltecleanerfoss/CommonFunctions.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/CommonFunctions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
import android.app.Notification
88
import android.app.NotificationChannel
99
import android.app.NotificationManager
@@ -17,7 +17,7 @@ import androidx.appcompat.app.AppCompatDelegate
1717
import androidx.core.app.NotificationCompat
1818
import androidx.core.app.NotificationManagerCompat
1919
import java.text.DecimalFormat
20-
//import theredspy15.ltecleanerfoss.Constants
20+
//import io.mdp43140.ltecleaner.Constants
2121
import kotlin.system.exitProcess
2222
object CommonFunctions {
2323
fun makeNotificationChannel(ctx: Context, name: String, description: String?, channelName: String, importance: Int){

app/src/main/java/theredspy15/ltecleanerfoss/Constants.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
object Constants {
88
const val BGCLEAN_WORK_NAME = "scheduled_cleanup_work"
99
const val BGCLEAN_WORK_TAG = "cleanup_work_tag"

app/src/main/java/theredspy15/ltecleanerfoss/FileScanner.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/FileScanner.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
import android.annotation.SuppressLint
88
import android.content.Context
99
import android.content.SharedPreferences
@@ -12,8 +12,8 @@ import android.content.res.Resources
1212
import android.graphics.Color
1313
import android.widget.TextView
1414
import androidx.preference.PreferenceManager
15-
import theredspy15.ltecleanerfoss.fragment.BlacklistFragment
16-
import theredspy15.ltecleanerfoss.fragment.WhitelistFragment
15+
import io.mdp43140.ltecleaner.fragment.BlacklistFragment
16+
import io.mdp43140.ltecleaner.fragment.WhitelistFragment
1717
import java.io.File
1818
import java.util.Locale
1919
class FileScanner(private val path: File, context: Context){

app/src/main/java/theredspy15/ltecleanerfoss/MainActivity.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/MainActivity.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
import android.content.DialogInterface
88
import android.content.Intent
99
import android.content.pm.PackageManager
@@ -17,12 +17,12 @@ import androidx.appcompat.app.AppCompatActivity
1717
import androidx.fragment.app.Fragment
1818
import com.google.android.material.dialog.MaterialAlertDialogBuilder
1919
import com.google.android.material.snackbar.Snackbar
20-
import theredspy15.ltecleanerfoss.R
21-
import theredspy15.ltecleanerfoss.databinding.ActivityMainBinding
22-
import theredspy15.ltecleanerfoss.fragment.MainFragment
23-
import theredspy15.ltecleanerfoss.fragment.BlacklistFragment
24-
import theredspy15.ltecleanerfoss.fragment.WhitelistFragment
25-
import theredspy15.ltecleanerfoss.fragment.SettingsFragment
20+
import io.mdp43140.ltecleaner.R
21+
import io.mdp43140.ltecleaner.databinding.ActivityMainBinding
22+
import io.mdp43140.ltecleaner.fragment.MainFragment
23+
import io.mdp43140.ltecleaner.fragment.BlacklistFragment
24+
import io.mdp43140.ltecleaner.fragment.WhitelistFragment
25+
import io.mdp43140.ltecleaner.fragment.SettingsFragment
2626

2727
class MainActivity: AppCompatActivity(){
2828
val binding by lazy { ActivityMainBinding.inflate(layoutInflater) }

app/src/main/java/theredspy15/ltecleanerfoss/PanicResponderActivity.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/PanicResponderActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* SPDX-FileCopyrightText: 2024-2025 MDP43140
33
* SPDX-License-Identifier: GPL-3.0-or-later
44
*/
5-
package theredspy15.ltecleanerfoss
5+
package io.mdp43140.ltecleaner
66
import android.app.Activity
77
import android.content.Intent
88
import android.os.Bundle

app/src/main/java/theredspy15/ltecleanerfoss/ScheduledWorker.kt renamed to app/src/main/java/io/mdp43140/ltecleaner/ScheduledWorker.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-FileCopyrightText: 2024-2025 MDP43140
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
6-
package theredspy15.ltecleanerfoss
6+
package io.mdp43140.ltecleaner
77
import android.content.Context
88
import android.content.Intent
99
import androidx.preference.PreferenceManager
@@ -14,8 +14,8 @@ import androidx.work.Worker
1414
import androidx.work.WorkerParameters
1515
import androidx.work.WorkManager
1616
import java.util.concurrent.TimeUnit
17-
//import theredspy15.ltecleanerfoss.App
18-
//import theredspy15.ltecleanerfoss.Constants
17+
//import io.mdp43140.ltecleaner.App
18+
//import io.mdp43140.ltecleaner.Constants
1919
class ScheduledWorker(appContext: Context, workerParams: WorkerParameters): Worker(appContext, workerParams) {
2020
override fun doWork(): Result {
2121
try {

0 commit comments

Comments
 (0)