update
This commit is contained in:
parent
c2b80a6763
commit
2d2e5b8940
@ -16,8 +16,8 @@ android {
|
|||||||
applicationId = "com.hi.melody.music.noise"
|
applicationId = "com.hi.melody.music.noise"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 3
|
versionCode = 4
|
||||||
versionName = "1.0.3"
|
versionName = "1.0.4"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
|
|||||||
@ -92,21 +92,21 @@ class LaunchActivity : MoBaseActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun toMainActivity() {
|
private fun toMainActivity() {
|
||||||
// if (!withPermission()) {
|
if (!withPermission()) {
|
||||||
// if (type == 1) {//如果type等于1,则是从后台进入的应用,不进行跳转直接关闭启动页
|
if (type == 1) {//如果type等于1,则是从后台进入的应用,不进行跳转直接关闭启动页
|
||||||
// finish()
|
finish()
|
||||||
// } else {
|
} else {
|
||||||
// startActivity(Intent(this, MainActivity::class.java))
|
startActivity(Intent(this, MainActivity::class.java))
|
||||||
// finish()
|
finish()
|
||||||
// }
|
}
|
||||||
// } else {
|
} else {
|
||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
finish()
|
finish()
|
||||||
} else {
|
} else {
|
||||||
startActivity(Intent(this, PrimaryActivity::class.java))
|
startActivity(Intent(this, PrimaryActivity::class.java))
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun loadAd() {
|
private fun loadAd() {
|
||||||
|
|||||||
@ -5,7 +5,7 @@ object Constants {
|
|||||||
const val KEY_SHOULD_ENTER_MUSIC_JSON = "key_should_enter_music_json"
|
const val KEY_SHOULD_ENTER_MUSIC_JSON = "key_should_enter_music_json"
|
||||||
const val DEFAULT_SHOULD_ENTER_MUSIC_JSON = """
|
const val DEFAULT_SHOULD_ENTER_MUSIC_JSON = """
|
||||||
{
|
{
|
||||||
"versionCode": 3,
|
"versionCode": 4,
|
||||||
"enter": false
|
"enter": false
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -313,7 +313,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
android:text="@string/download"
|
android:text="@string/download_save_offline"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="14dp" />
|
android:textSize="14dp" />
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user