Commit 26a0da28 authored by wanglei's avatar wanglei

...

parent c2cc9958
...@@ -22,7 +22,7 @@ object ShortcutUtils { ...@@ -22,7 +22,7 @@ object ShortcutUtils {
val shortcut1 = ShortcutInfo.Builder(this, "11111") val shortcut1 = ShortcutInfo.Builder(this, "11111")
.setShortLabel("Scan Pdf") .setShortLabel("Scan Pdf")
.setIcon(Icon.createWithResource(this, R.mipmap.scan_tool)) .setIcon(Icon.createWithResource(this, R.mipmap.saomiao_shortcut))
.setIntent(Intent(Intent.ACTION_MAIN, null, this, SplashActivity::class.java).apply { .setIntent(Intent(Intent.ACTION_MAIN, null, this, SplashActivity::class.java).apply {
putExtra("actionId", ConstObject.SHORTCUT_SCAN_PDF) putExtra("actionId", ConstObject.SHORTCUT_SCAN_PDF)
}) })
...@@ -30,7 +30,7 @@ object ShortcutUtils { ...@@ -30,7 +30,7 @@ object ShortcutUtils {
val shortcut2 = ShortcutInfo.Builder(this, "22222") val shortcut2 = ShortcutInfo.Builder(this, "22222")
.setShortLabel("Split Pdf") .setShortLabel("Split Pdf")
.setIcon(Icon.createWithResource(this, R.mipmap.split)) .setIcon(Icon.createWithResource(this, R.mipmap.chaifen_shortcut))
.setIntent(Intent(Intent.ACTION_MAIN, null, this, SplashActivity::class.java).apply { .setIntent(Intent(Intent.ACTION_MAIN, null, this, SplashActivity::class.java).apply {
putExtra("actionId", ConstObject.SHORTCUT_MERGE_PDF) putExtra("actionId", ConstObject.SHORTCUT_MERGE_PDF)
}) })
...@@ -38,7 +38,7 @@ object ShortcutUtils { ...@@ -38,7 +38,7 @@ object ShortcutUtils {
val shortcut3 = ShortcutInfo.Builder(this, "33333") val shortcut3 = ShortcutInfo.Builder(this, "33333")
.setShortLabel("Merge Pdf") .setShortLabel("Merge Pdf")
.setIcon(Icon.createWithResource(this, R.mipmap.merge)) .setIcon(Icon.createWithResource(this, R.mipmap.hebing_shortcut))
.setIntent(Intent(Intent.ACTION_MAIN, null, this, SplashActivity::class.java).apply { .setIntent(Intent(Intent.ACTION_MAIN, null, this, SplashActivity::class.java).apply {
putExtra("actionId", ConstObject.SHORTCUT_MERGE_PDF) putExtra("actionId", ConstObject.SHORTCUT_MERGE_PDF)
}) })
......
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