forked from melod1n/fast-messenger
Rename the app's namespace and applicationId to dev.meloda.fastvk, and update the package name in ACTION_MANAGE_UNKNOWN_APP_SOURCES intent. Remove unnecessary onLowMemory method in the OnlineService.
This commit is contained in:
@@ -7,10 +7,10 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "dev.meloda.fast"
|
namespace = "dev.meloda.fastvk"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "dev.meloda.fast"
|
applicationId = "dev.meloda.fastvk"
|
||||||
|
|
||||||
versionCode = libs.versions.versionCode.get().toInt()
|
versionCode = libs.versions.versionCode.get().toInt()
|
||||||
versionName = libs.versions.versionName.get()
|
versionName = libs.versions.versionName.get()
|
||||||
|
|||||||
@@ -95,11 +95,6 @@ class OnlineService : Service() {
|
|||||||
}.also { coroutine -> coroutine.invokeOnCompletion { onlineJob = null } }
|
}.also { coroutine -> coroutine.invokeOnCompletion { onlineJob = null } }
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onLowMemory() {
|
|
||||||
Log.d(STATE_TAG, "onLowMemory")
|
|
||||||
super.onLowMemory()
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
Log.d(STATE_TAG, "onDestroy")
|
Log.d(STATE_TAG, "onDestroy")
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ object AndroidUtils {
|
|||||||
action = if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
|
action = if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
|
||||||
Settings.ACTION_SECURITY_SETTINGS
|
Settings.ACTION_SECURITY_SETTINGS
|
||||||
} else {
|
} else {
|
||||||
data = Uri.parse("package:dev.meloda.fast")
|
data = Uri.parse("package:dev.meloda.fastvk")
|
||||||
Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES
|
Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user