mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 20:07:39 +00:00
Fix string resources in shortcut
This commit is contained in:
parent
ee2c801fe0
commit
56a76df28e
@ -67,7 +67,7 @@ public class ShortcutReceiver extends BroadcastReceiver {
|
|||||||
.setRank(3)
|
.setRank(3)
|
||||||
.build());
|
.build());
|
||||||
shortCuts.add(new ShortcutInfo.Builder(mm, "downloads")
|
shortCuts.add(new ShortcutInfo.Builder(mm, "downloads")
|
||||||
.setShortLabel(mm.getString(R.string.download))
|
.setShortLabel(mm.getString(R.string.downloads))
|
||||||
.setIntent(new Intent(mm, Data.classMap.get(SplashActivity.class))
|
.setIntent(new Intent(mm, Data.classMap.get(SplashActivity.class))
|
||||||
.putExtra(Const.Key.OPEN_SECTION, "downloads")
|
.putExtra(Const.Key.OPEN_SECTION, "downloads")
|
||||||
.setAction(Intent.ACTION_VIEW)
|
.setAction(Intent.ACTION_VIEW)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user