Skip to content

Commit e995c99

Browse files
committed
Minor changes
+ From this point on, because AndroidErrorLogger library is fixed and accessible on JitPack.io, this should also fix Android CI builds (and also commiting this will trigger Android CI, so might as well do that too), and no longer need to download whole AEL repo and symlinking and all that just to build app that uses AEL library. + Remove things that accidentally got added (especially the AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_TODO was so hilarious ::lol::) + [README.md] Fix Android CI badge + [README.md] Change header size a bit + [app/build.gradle.kts] Use "com.github.mdp43140.ael:ael-kt:1.0.1-hf" instead of local project path (see 1st changes) + [app/build.gradle.kts] Little bit of code cleanups
1 parent ce93a31 commit e995c99

File tree

6 files changed

+16
-40
lines changed

6 files changed

+16
-40
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ hs_err_pid*
4040
/build/
4141
.kotlin
4242
app/src/.disabled
43-
app/.POC_GetSDCard.java

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_TODO.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## LTECleanerFOSS
22
A maintained-ish improved fork of @TheRedSpy15's LTE Cleaner
33

4-
![Android CI](https://github.com/mdp43140/LTECleanerFOSS/workflows/Android%20CI/badge.svg)
4+
[![Android CI](https://github.com/mdp43140/LTECleanerFOSS/actions/workflows/android.yml/badge.svg?branch=main)](https://github.com/MDP43140/LTECleanerFOSS/actions/workflows/android.yml)
55
[![GitHub issues](https://img.shields.io/github/issues/mdp43140/LTECleanerFOSS)](/issues)
66
[![License](https://img.shields.io/github/license/mdp43140/LTECleanerFOSS)](/blob/master/LICENSE)
77

@@ -14,14 +14,14 @@ LTE Cleaner only aims to clean your phone by removing safe to delete files, whic
1414

1515
__LTE Cleaner is 100% free, open source, no ads, and deletes everything it claims to.__
1616

17-
## Install
17+
### Install
1818
[GitHub release](https://github.com/MDP43140/LTECleanerFOSS/releases)
1919
[Build it yourself](#compiling-the-app)
2020
[Original F-Droid (outdated)](https://f-droid.org/packages/theredspy15.ltecleanerfoss)
2121
[Original source code (outdated)](https://github.com/theredspy15/LTECleanerFOSS)
2222
[Original GitHub release (outdated)](https://github.com/theredspy15/LTECleanerFOSS)
2323

24-
## Features
24+
### Features
2525
- Clipboard clearing
2626
- Whitelist
2727
- Daily cleanup
@@ -39,19 +39,19 @@ To do list (not guaranteed because i'm busy irl):
3939
- Predictive back gestures?
4040
- Extra optimizations?
4141
- Code cleanups
42-
- Compose?
42+
- Compose? (really low priority, because this will literally take decades to implement, lots of code changes, and importantly will took longer to compile and requires more resource and increases APK size to 50MB!! (see Open Video Editor project, before and after the Compose update))
4343
- baseline profile (not ready yet...)
4444
- Clean SD card (has to support minimal Android 10+, hopefully we can use StorageAccessFramework to make this work, but it might be a huge work that can take days, not possible with my spare time)
4545
- Regex whilelist
4646
- About screen (designing the UI would be really painful, and using external dependency will also significantly enlarge file size)
4747
<!-- Scan then clean, instead of doing both at the same time (atleast on some devices that i tested on, it lags when there is so many files)-->
4848

49-
## Screenshots
49+
### Screenshots
5050
<img src="Screenshots/ui_main.png" width="200">
5151
<img src="Screenshots/ui_settings.png" width="200">
5252
<img src="Screenshots/ui_wl.png" width="200">
5353

54-
## The Team
54+
### The Team
5555
<a href="https://github.com/mdp43140/LTECleanerFOSS/graphs/contributors">
5656
<img src="https://contrib.rocks/image?repo=mdp43140/LTECleanerFOSS" />
5757
</a>
@@ -62,7 +62,7 @@ Contribute to this project:
6262
- Create a [Pull Request](https://opensource.guide/how-to-contribute/#opening-a-pull-request)
6363
- Translate this app into more languages
6464

65-
## Compiling the app
65+
### Compiling the app
6666
First, export some variables (for Linux users. Windows user might want to adjust this a bit):
6767
```bash
6868
export JAVA_HOME="${JAVA_HOME:-/usr/lib/jvm/java-21-openjdk-amd64}"
@@ -74,7 +74,7 @@ Then go to the project root directory, and run this command:
7474
7575
if you're using Windows, change `./gradlew` to `gradlew.bat`
7676
77-
## License
77+
### License
7878
[![GNU GPL v3](https://www.gnu.org/graphics/gplv3-127x51.png)](https://www.gnu.org/licenses/gpl-3.0.en.html)
7979
8080
LTE Cleaner is Free Software: You can use, study, share, and improve it at

app/build.gradle.kts

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,9 @@ kotlin {
1717
android {
1818
compileSdk = 35
1919
buildToolsVersion = "35.0.0"
20-
namespace = "theredspy15.ltecleanerfoss" // eg AndroidManifest.xml had ".App" instead of "namespace.App"
20+
namespace = "theredspy15.ltecleanerfoss"
2121
defaultConfig {
22-
applicationId = "io.mdp43140.ltecleaner" // package name
23-
// Actually it can "support" API 21...
24-
// if I tried hard enough to make it work,
25-
// but it requires more effort, makes maintenance harder,
26-
// and cant be installed on Android 14+, as they now require apps
27-
// to use minimum SDK of 24.
28-
// according to StatCounter & AppBrain,
29-
// almost no one uses below 7.0 (24) anyway.
30-
// Also, changing SDK can affect things,
31-
// not just compatibility (ehm... "Failed to parse APK")
32-
// it can also reduce APK size a little bit (based on my tests)
22+
applicationId = "io.mdp43140.ltecleaner"
3323
minSdk = 24
3424
targetSdk = compileSdk
3525
versionCode = 64
@@ -55,14 +45,14 @@ android {
5545
}
5646
}
5747
lint {
58-
checkReleaseBuilds = false // we did thousands of these on debug builds already...
5948
abortOnError = false
49+
checkReleaseBuilds = false // we did thousands of these on debug builds already...
6050
lintConfig = file("lint.xml")
6151
}
6252
buildTypes {
6353
debug {
64-
isDebuggable = true
6554
applicationIdSuffix = ".debug"
55+
isDebuggable = true
6656
}
6757
release {
6858
isMinifyEnabled = true
@@ -140,8 +130,7 @@ dependencies {
140130
// Leak detection
141131
debugImplementation("com.squareup.leakcanary:leakcanary-android:2.14")
142132
// Error logger
143-
implementation(project(":ael_kt"))
144-
133+
implementation("com.github.mdp43140.ael:ael-kt:1.0.1-hf")
145134
// Tests (AndroidJUnitRunner & JUnit Rules, Assertions)
146135
androidTestImplementation("androidx.test:runner:1.6.2")
147136
androidTestImplementation("androidx.test.ext:junit:1.2.1")

app/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
<item name="widgetLayout">@layout/preference_material_switch</item>
2727
</style>
2828
<!-- Custom error logger theme -->
29-
<style name="ErrLoggerTheme" parent="AppTheme"/>
29+
<style name="AEL_Theme" parent="AppTheme"/>
3030
</resources>

settings.gradle.kts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/*
2-
* SPDX-FileCopyrightText: 2020-2023 Hunter J Drum
3-
* SPDX-FileCopyrightText: 2024 MDP43140
4-
* SPDX-License-Identifier: GPL-3.0-or-later
5-
*/
61
pluginManagement {
72
repositories {
83
google()
@@ -18,12 +13,11 @@ dependencyResolutionManagement {
1813
maven("https://jitpack.io")
1914
}
2015
}
21-
// TODO: replacing project with dep substitution throws "unresolved reference ErrorLogger" error
2216
//includeBuild("../ael"){
2317
// dependencySubstitution {
24-
// substitute(module("io.mdp43140:ael-kt")).using(project(":ael_kt"))
18+
// substitute(module("com.github.mdp43140.ael:ael-kt")).using(project(":ael_kt"))
2519
// }
2620
//}
2721

2822
rootProject.name = "LTE Cleaner"
29-
include(":app",":ael_kt")
23+
include(":app")

0 commit comments

Comments
 (0)