Skip to content

Commit f40c3b2

Browse files
committed
feat: Modified local.properties for SDK path adjustment and rename root project in settings.gradle to "Patchwork".
1 parent ef0656f commit f40c3b2

31 files changed

Lines changed: 100 additions & 100 deletions

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# Essentials
1+
# Patchwork
22

33
Essential tools, mods and workarounds for Pixels and other Androids
44

5+
**Developer**: Tino Britty J
6+
**GitHub**: [github.com/brittytino](https://github.com/brittytino)
7+
58
<p align="center">
6-
<a href="https://github.com/brittytino/essentials/releases/latest"><img alt="GitHub Downloads (specific asset, all releases)" src="https://img.shields.io/github/downloads/brittytino/essentials/app-release.apk?displayAssetName=false&style=for-the-badge&logo=android&logoColor=%23fff&labelColor=%2348C&color=%2348C">
9+
<a href="https://github.com/brittytino/patchwork/releases/latest"><img alt="GitHub Downloads (specific asset, all releases)" src="https://img.shields.io/github/downloads/brittytino/patchwork/app-release.apk?displayAssetName=false&style=for-the-badge&logo=android&logoColor=%23fff&labelColor=%2348C&color=%2348C">
710
</a>
8-
<a href="https://github.com/brittytino/essentials/issues/new?template=bug_report.md"><img alt="GitHub Issues or Pull Requests by label" src="https://img.shields.io/github/issues/brittytino/essentials/bug?style=for-the-badge&logo=openbugbounty&logoColor=%23fff&label=bug%3F&labelColor=%232a6&color=%232a6">
11+
<a href="https://github.com/brittytino/patchwork/issues/new?template=bug_report.md"><img alt="GitHub Issues or Pull Requests by label" src="https://img.shields.io/github/issues/brittytino/patchwork/bug?style=for-the-badge&logo=openbugbounty&logoColor=%23fff&label=bug%3F&labelColor=%232a6&color=%232a6">
912
</a>
10-
<a href="https://github.com/brittytino/essentials/issues/new?template=feature_request.md"><img alt="GitHub Issues or Pull Requests by label" src="https://img.shields.io/github/issues/brittytino/essentials/enhancement?style=for-the-badge&logo=apachespark&logoColor=%23fff&label=Feature%20request&labelColor=%23a26&color=%23a26">
13+
<a href="https://github.com/brittytino/patchwork/issues/new?template=feature_request.md"><img alt="GitHub Issues or Pull Requests by label" src="https://img.shields.io/github/issues/brittytino/patchwork/enhancement?style=for-the-badge&logo=apachespark&logoColor=%23fff&label=Feature%20request&labelColor=%23a26&color=%23a26">
1114
</a>
1215
</a>
1316
<a href="https://brittytino.com"><img src="https://img.shields.io/badge/My%20website-orange?style=for-the-badge&logo=googlechrome&logoColor=%23000&labelColor=%233AFFB8&color=%233AFFB8" alt="My website" /></a>
1417
<a href="https://t.me/tidwib"><img src="https://img.shields.io/badge/Community-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white" alt="Community" /></a>
15-
<a href="https://crowdin.com/project/essentials-android"><img alt="Crowdin" src="https://badges.crowdin.net/essentials-android/localized.svg?style=for-the-badge">
1618
</p>
1719

18-
> ### Essentials got featured by HowToMen! 🎉 <br><br> [![Essentials got featured by HowToMen!](https://github.com/user-attachments/assets/9dffa436-034e-4d59-811e-f5979b000414)](https://youtu.be/7favc9MDedQ?si=dduc7452R5Yxj7Aa&t=79)
19-
2020
## Navigation
2121

2222
- [Features](#features)
@@ -103,21 +103,21 @@ A collection of useful tiles to toggle system settings:
103103

104104
# Shell Providers (Shizuku & Root)
105105

106-
- Essentials supports both **Shizuku** and **Root** as shell providers for executing advanced system-level commands.
106+
- Patchwork supports both **Shizuku** and **Root** as shell providers for executing advanced system-level commands.
107107
- **Shizuku**: Make sure to get the latest version of Shizuku preferably from a fork such as [yangFenTuoZi/Shizuku](https://github.com/yangFenTuoZi/Shizuku) or other not from the Google Play as it is no longer well supported especially with Android 16 QPR1 up.
108-
- **Root**: If your device is rooted, Essentials can bypass Shizuku and use root privileges directly for features like Button Remap and App Freezing.
108+
- **Root**: If your device is rooted, Patchwork can bypass Shizuku and use root privileges directly for features like Button Remap and App Freezing.
109109

110110
# How to grant accessibility permissions
111111

112112
<img width="1280" height="696" alt="image" src="https://github.com/user-attachments/assets/685115e7-4caa-4add-9196-d2e1e2c126a6" />
113113

114114
# Localization
115115

116-
Help us bring Essentials to more people around the world! If you're fluent in another language, you can contribute by translating the app on Crowdin.
116+
Help us bring Patchwork to more people around the world! If you're fluent in another language, you can contribute by translating the app on Crowdin.
117117

118-
[![Crowdin](https://badges.crowdin.net/essentials-android/localized.svg)](https://crowdin.com/project/essentials-android)
118+
[![Crowdin](https://badges.crowdin.net/patchwork-android/localized.svg)](https://crowdin.com/project/patchwork-android)
119119

120-
[Support translation on Crowdin](https://crowdin.com/project/essentials-android)
120+
[Support translation on Crowdin](https://crowdin.com/project/patchwork-android)
121121

122122
# Contributing
123123

@@ -127,11 +127,11 @@ Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of co
127127

128128
# Stars <3
129129

130-
<a href="https://star-history.com/#brittytino/essentials&Date">
130+
<a href="https://star-history.com/#brittytino/patchwork&Date">
131131
<picture>
132-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=brittytino/essentials&type=Date&theme=dark" />
133-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=brittytino/essentials&type=Date" />
134-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=brittytino/essentials&type=Date" />
132+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=brittytino/patchwork&type=Date&theme=dark" />
133+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=brittytino/patchwork&type=Date" />
134+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=brittytino/patchwork&type=Date" />
135135
</picture>
136136
</a>
137137

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ kotlin {
1414
}
1515

1616
android {
17-
namespace = "com.brittytino.essentials"
17+
namespace = "com.brittytino.patchwork"
1818
compileSdk = 36
1919

2020
defaultConfig {
21-
applicationId = "com.brittytino.essentials"
21+
applicationId = "com.brittytino.patchwork"
2222
minSdk = 26
2323
targetSdk = 36
2424
versionCode = 23

app/src/androidTest/java/com/brittytino/essentials/ExampleInstrumentedTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
1919
fun useAppContext() {
2020
// Context of the app under test.
2121
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22-
assertEquals("com.brittytino.essentials", appContext.packageName)
22+
assertEquals("com.brittytino.patchwork", appContext.packageName)
2323
}
2424
}

app/src/main/AndroidManifest.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
2828
<uses-permission android:name="android.permission.POST_PROMOTED_NOTIFICATIONS" tools:ignore="UnusedAttribute" />
2929
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
30-
<permission android:name="com.brittytino.permission.ESSENTIALS_AIRSYNC_BRIDGE" android:protectionLevel="signature" />
31-
<uses-permission android:name="com.brittytino.permission.ESSENTIALS_AIRSYNC_BRIDGE" />
30+
<permission android:name="com.brittytino.permission.PATCHWORK_AIRSYNC_BRIDGE" android:protectionLevel="signature" />
31+
<uses-permission android:name="com.brittytino.permission.PATCHWORK_AIRSYNC_BRIDGE" />
3232

3333

3434
<uses-permission android:name="android.permission.WRITE_SETTINGS" tools:ignore="ProtectedPermissions" />
@@ -37,7 +37,7 @@
3737
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
3838

3939
<application
40-
android:name=".EssentialsApp"
40+
android:name=".PatchworkApp"
4141
android:allowBackup="true"
4242
android:dataExtractionRules="@xml/data_extraction_rules"
4343
android:fullBackupContent="@xml/backup_rules"
@@ -46,12 +46,12 @@
4646
android:localeConfig="@xml/locales_config"
4747
android:roundIcon="@mipmap/ic_launcher_round"
4848
android:supportsRtl="true"
49-
android:theme="@style/Theme.Essentials">
49+
android:theme="@style/Theme.Patchwork">
5050
<activity
5151
android:name=".MainActivity"
5252
android:exported="true"
5353
android:label="@string/app_name"
54-
android:theme="@style/Theme.Essentials.Splash">
54+
android:theme="@style/Theme.Patchwork.Splash">
5555
<intent-filter>
5656
<action android:name="android.intent.action.MAIN" />
5757

@@ -78,28 +78,28 @@
7878
android:name=".FeatureSettingsActivity"
7979
android:exported="false"
8080
android:label="Feature Settings"
81-
android:theme="@style/Theme.Essentials">
81+
android:theme="@style/Theme.Patchwork">
8282
</activity>
8383

8484
<activity
8585
android:name=".SettingsActivity"
8686
android:exported="false"
8787
android:label="Settings"
88-
android:theme="@style/Theme.Essentials">
88+
android:theme="@style/Theme.Patchwork">
8989
</activity>
9090

9191
<activity
9292
android:name=".ui.activities.LocationAlarmActivity"
9393
android:exported="true"
9494
android:launchMode="singleInstance"
95-
android:theme="@style/Theme.Essentials.FullScreenAlarm" />
95+
android:theme="@style/Theme.Patchwork.FullScreenAlarm" />
9696

9797

9898
<activity
9999
android:name=".ui.activities.AutomationEditorActivity"
100100
android:exported="false"
101101
android:label="@string/diy_editor_new_title"
102-
android:theme="@style/Theme.Essentials" />
102+
android:theme="@style/Theme.Patchwork" />
103103

104104

105105
<service
@@ -112,14 +112,14 @@
112112
android:name=".ui.activities.AppFreezingActivity"
113113
android:exported="true"
114114
android:label="@string/freeze_activity_title"
115-
android:theme="@style/Theme.Essentials">
115+
android:theme="@style/Theme.Patchwork">
116116
</activity>
117117

118118
<activity
119119
android:name=".LinkPickerActivity"
120120
android:exported="true"
121121
android:label="Open Link"
122-
android:theme="@style/Theme.Essentials">
122+
android:theme="@style/Theme.Patchwork">
123123
<intent-filter>
124124
<action android:name="android.intent.action.SEND" />
125125
<category android:name="android.intent.category.DEFAULT" />
@@ -161,15 +161,15 @@
161161
android:excludeFromRecents="true"
162162
android:noHistory="true"
163163
android:taskAffinity=""
164-
android:theme="@style/Theme.Essentials.Translucent" />
164+
android:theme="@style/Theme.Patchwork.Translucent" />
165165

166166
<activity
167167
android:name=".ui.activities.TileAuthActivity"
168168
android:exported="false"
169169
android:excludeFromRecents="true"
170170
android:noHistory="true"
171171
android:taskAffinity=""
172-
android:theme="@style/Theme.Essentials.Translucent" />
172+
android:theme="@style/Theme.Patchwork.Translucent" />
173173

174174
<activity
175175
android:name=".ui.activities.QSPreferencesActivity"
@@ -190,7 +190,7 @@
190190
android:excludeFromRecents="true"
191191
android:noHistory="true"
192192
android:taskAffinity=""
193-
android:theme="@style/Theme.Essentials.Translucent">
193+
android:theme="@style/Theme.Patchwork.Translucent">
194194
<intent-filter>
195195
<action android:name="android.intent.action.CREATE_SHORTCUT" />
196196
<category android:name="android.intent.category.DEFAULT" />
@@ -203,13 +203,13 @@
203203
android:excludeFromRecents="true"
204204
android:noHistory="true"
205205
android:taskAffinity=""
206-
android:theme="@style/Theme.Essentials.Translucent" />
206+
android:theme="@style/Theme.Patchwork.Translucent" />
207207

208208
<activity
209209
android:name=".ui.composables.watermark.WatermarkActivity"
210210
android:exported="true"
211211
android:label="@string/feat_watermark_title"
212-
android:theme="@style/Theme.Essentials">
212+
android:theme="@style/Theme.Patchwork">
213213
<intent-filter>
214214
<action android:name="android.intent.action.SEND" />
215215
<category android:name="android.intent.category.DEFAULT" />

app/src/main/java/com/brittytino/essentials/FeatureSettingsActivity.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import androidx.lifecycle.Lifecycle
4646
import androidx.lifecycle.LifecycleEventObserver
4747
import androidx.lifecycle.compose.LocalLifecycleOwner
4848
import com.brittytino.essentials.ui.components.ReusableTopAppBar
49-
import com.brittytino.essentials.ui.theme.EssentialsTheme
49+
import com.brittytino.essentials.ui.theme.PatchworkTheme
5050
import com.brittytino.essentials.domain.HapticFeedbackType
5151
import androidx.lifecycle.viewmodel.compose.viewModel
5252
import com.brittytino.essentials.domain.registry.PermissionRegistry
@@ -104,7 +104,7 @@ class FeatureSettingsActivity : FragmentActivity() {
104104
viewModel.check(context)
105105
}
106106
val isPitchBlackThemeEnabled by viewModel.isPitchBlackThemeEnabled
107-
EssentialsTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
107+
PatchworkTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
108108
LinkPickerScreen(
109109
uri = "https://brittytino.com".toUri(),
110110
onFinish = { finish() },
@@ -148,7 +148,7 @@ class FeatureSettingsActivity : FragmentActivity() {
148148

149149
val isPitchBlackThemeEnabled by viewModel.isPitchBlackThemeEnabled
150150

151-
EssentialsTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
151+
PatchworkTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
152152
val view = LocalView.current
153153
val prefs = context.getSharedPreferences("essentials_prefs", MODE_PRIVATE)
154154

@@ -230,7 +230,7 @@ class FeatureSettingsActivity : FragmentActivity() {
230230
dependentFeatures = PermissionRegistry.getFeatures("WRITE_SECURE_SETTINGS"),
231231
actionLabel = R.string.perm_action_copy_adb,
232232
action = {
233-
val adbCommand = "adb shell pm grant com.brittytino.essentials android.permission.WRITE_SECURE_SETTINGS"
233+
val adbCommand = "adb shell pm grant com.brittytino.patchwork android.permission.WRITE_SECURE_SETTINGS"
234234
val clipboard = context.getSystemService(CLIPBOARD_SERVICE) as ClipboardManager
235235
val clip = ClipData.newPlainText("adb_command", adbCommand)
236236
clipboard.setPrimaryClip(clip)
@@ -313,7 +313,7 @@ class FeatureSettingsActivity : FragmentActivity() {
313313
dependentFeatures = PermissionRegistry.getFeatures("WRITE_SECURE_SETTINGS"),
314314
actionLabel = R.string.perm_action_copy_adb,
315315
action = {
316-
val adbCommand = "adb shell pm grant com.brittytino.essentials android.permission.WRITE_SECURE_SETTINGS"
316+
val adbCommand = "adb shell pm grant com.brittytino.patchwork android.permission.WRITE_SECURE_SETTINGS"
317317
val clipboard = context.getSystemService(CLIPBOARD_SERVICE) as ClipboardManager
318318
val clip = ClipData.newPlainText("adb_command", adbCommand)
319319
clipboard.setPrimaryClip(clip)
@@ -355,7 +355,7 @@ class FeatureSettingsActivity : FragmentActivity() {
355355
dependentFeatures = PermissionRegistry.getFeatures("WRITE_SECURE_SETTINGS"),
356356
actionLabel = R.string.perm_action_copy_adb,
357357
action = {
358-
val adbCommand = "adb shell pm grant com.brittytino.essentials android.permission.WRITE_SECURE_SETTINGS"
358+
val adbCommand = "adb shell pm grant com.brittytino.patchwork android.permission.WRITE_SECURE_SETTINGS"
359359
val clipboard = context.getSystemService(CLIPBOARD_SERVICE) as ClipboardManager
360360
val clip = ClipData.newPlainText("adb_command", adbCommand)
361361
clipboard.setPrimaryClip(clip)

app/src/main/java/com/brittytino/essentials/LinkPickerActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import androidx.compose.foundation.layout.fillMaxSize
1010
import androidx.compose.ui.Modifier
1111
import androidx.compose.runtime.getValue
1212
import com.brittytino.essentials.ui.components.linkActions.LinkPickerScreen
13-
import com.brittytino.essentials.ui.theme.EssentialsTheme
13+
import com.brittytino.essentials.ui.theme.PatchworkTheme
1414

1515
class LinkPickerActivity : ComponentActivity() {
1616
override fun onCreate(savedInstanceState: Bundle?) {
@@ -38,7 +38,7 @@ class LinkPickerActivity : ComponentActivity() {
3838
viewModel.check(context)
3939
}
4040
val isPitchBlackThemeEnabled by viewModel.isPitchBlackThemeEnabled
41-
EssentialsTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
41+
PatchworkTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
4242
LinkPickerScreen(uri = uri, onFinish = { finish() }, modifier = Modifier.fillMaxSize())
4343
}
4444
}

app/src/main/java/com/brittytino/essentials/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import com.brittytino.essentials.ui.components.ReusableTopAppBar
4040
import com.brittytino.essentials.ui.components.DIYFloatingToolbar
4141
import com.brittytino.essentials.ui.composables.SetupFeatures
4242
import com.brittytino.essentials.ui.composables.DIYScreen
43-
import com.brittytino.essentials.ui.theme.EssentialsTheme
43+
import com.brittytino.essentials.ui.theme.PatchworkTheme
4444
import com.brittytino.essentials.utils.HapticUtil
4545
import com.brittytino.essentials.viewmodels.MainViewModel
4646
import com.brittytino.essentials.viewmodels.LocationReachedViewModel
@@ -152,7 +152,7 @@ class MainActivity : FragmentActivity() {
152152
viewModel.check(this)
153153
setContent {
154154
val isPitchBlackThemeEnabled by viewModel.isPitchBlackThemeEnabled
155-
EssentialsTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
155+
PatchworkTheme(pitchBlackTheme = isPitchBlackThemeEnabled) {
156156
val context = LocalContext.current
157157
val view = LocalView.current
158158
val versionName = try {

app/src/main/java/com/brittytino/essentials/EssentialsApp.kt renamed to app/src/main/java/com/brittytino/essentials/PatchworkApp.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import android.os.Build
88
import com.brittytino.essentials.services.ScreenOffReceiver
99
import com.brittytino.essentials.utils.ShizukuUtils
1010

11-
class EssentialsApp : Application() {
11+
class PatchworkApp : Application() {
1212
companion object {
1313
lateinit var context: Context
1414
private set

0 commit comments

Comments
 (0)