Commit 3a7d12d3 authored by wanglei's avatar wanglei

...

parent 5f3cfb55
......@@ -130,7 +130,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>() {
val appName = this.resources.getString(R.string.app_name)
// 在Activity中调用创建快捷方式的方法
ShortcutUtils.requestCreateShortcut(
this, "my_shortcut_id", "$appName Shortcut", "Open My App quickly",
this, "my_shortcut_id", appName, appName,
Splash2Activity::class.java, R.mipmap.logo
)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment