parent
cddef05978
commit
f142dd82f9
|
|
@ -785,9 +785,16 @@ class SettingActivity : BaseActivity() {
|
||||||
DialogDoMainChoose.OnListItemListener {
|
DialogDoMainChoose.OnListItemListener {
|
||||||
override fun listItemClick() {
|
override fun listItemClick() {
|
||||||
RxToast.info(getString(R.string.StorageSuccessful))
|
RxToast.info(getString(R.string.StorageSuccessful))
|
||||||
val intent=Intent(CommonUtils.getApp(), SplashActivity::class.java)
|
MainApplication.restartApp(this@SettingActivity,object:MainApplication.OnRestartButtonListener{
|
||||||
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)
|
|
||||||
startActivity(intent)
|
override fun enterButton() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun cancelButton() {
|
||||||
|
dialogDoMainChoose?.dismiss()
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@ subprojects {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
create("2222") {
|
create("0000") {
|
||||||
isDefault = true
|
isDefault = true
|
||||||
dimension = flavorDimensionList[0]
|
dimension = flavorDimensionList[0]
|
||||||
buildConfigField("boolean", "PREMIUM", "Boolean.parseBoolean(\"false\")")
|
buildConfigField("boolean", "PREMIUM", "Boolean.parseBoolean(\"false\")")
|
||||||
|
|
@ -149,7 +149,7 @@ subprojects {
|
||||||
buildConfigField("String", "applicationId", "\"com.jsq.wufu\"")
|
buildConfigField("String", "applicationId", "\"com.jsq.wufu\"")
|
||||||
buildConfigField("String", "service_url", "\"https://api.yijianlianjsq.com/\"")
|
buildConfigField("String", "service_url", "\"https://api.yijianlianjsq.com/\"")
|
||||||
buildConfigField("boolean", "is_free", "false")
|
buildConfigField("boolean", "is_free", "false")
|
||||||
buildConfigField("String", "productId", "\"2222\"")
|
buildConfigField("String", "productId", "\"0000\"")
|
||||||
manifestPlaceholders(
|
manifestPlaceholders(
|
||||||
mapOf(
|
mapOf(
|
||||||
"APP_NAME" to "@string/wf",
|
"APP_NAME" to "@string/wf",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue