mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
Proper shortcut name
This commit is contained in:
parent
c97fb385cd
commit
c609a01e55
@ -29,7 +29,7 @@ object Shortcuts {
|
|||||||
val manager = context.getSystemService<ShortcutManager>() ?: return
|
val manager = context.getSystemService<ShortcutManager>() ?: return
|
||||||
val intent = context.packageManager.getLaunchIntentForPackage(context.packageName) ?: return
|
val intent = context.packageManager.getLaunchIntentForPackage(context.packageName) ?: return
|
||||||
val info = ShortcutInfo.Builder(context, Const.Nav.HOME)
|
val info = ShortcutInfo.Builder(context, Const.Nav.HOME)
|
||||||
.setShortLabel(context.getString(R.string.app_name))
|
.setShortLabel(context.getString(R.string.magisk))
|
||||||
.setIntent(intent)
|
.setIntent(intent)
|
||||||
.setIcon(context.getIcon(R.drawable.ic_launcher))
|
.setIcon(context.getIcon(R.drawable.ic_launcher))
|
||||||
.build()
|
.build()
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
app:layout_constraintStart_toEndOf="@+id/hide_icon"
|
app:layout_constraintStart_toEndOf="@+id/hide_icon"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@string/app_name" />
|
tools:text="@string/magisk" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/hide_package"
|
android:id="@+id/hide_package"
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@string/app_name" />
|
tools:text="@string/magisk" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/log_date"
|
android:id="@+id/log_date"
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
app:layout_constraintEnd_toStartOf="@+id/policy_indicator"
|
app:layout_constraintEnd_toStartOf="@+id/policy_indicator"
|
||||||
app:layout_constraintStart_toEndOf="@+id/policy_app_icon"
|
app:layout_constraintStart_toEndOf="@+id/policy_app_icon"
|
||||||
app:layout_constraintTop_toTopOf="@+id/policy_app_icon"
|
app:layout_constraintTop_toTopOf="@+id/policy_app_icon"
|
||||||
tools:text="@string/app_name" />
|
tools:text="@string/magisk" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/policy_package_name"
|
android:id="@+id/policy_package_name"
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- Static strings -->
|
<!-- Static strings -->
|
||||||
<string name="app_name" translatable="false">Magisk Manager</string>
|
|
||||||
<string name="magisk" translatable="false">Magisk</string>
|
<string name="magisk" translatable="false">Magisk</string>
|
||||||
<string name="magiskhide" translatable="false">MagiskHide</string>
|
<string name="magiskhide" translatable="false">MagiskHide</string>
|
||||||
<string name="empty" translatable="false"/>
|
<string name="empty" translatable="false"/>
|
||||||
|
@ -28,6 +28,6 @@ kapt.incremental.apt=true
|
|||||||
|
|
||||||
# Magisk
|
# Magisk
|
||||||
magisk.stubVersion=16
|
magisk.stubVersion=16
|
||||||
magisk.versionCode=21401
|
magisk.versionCode=21402
|
||||||
magisk.ndkVersion=21d
|
magisk.ndkVersion=21d
|
||||||
magisk.fullNdkVersion=21.3.6528147
|
magisk.fullNdkVersion=21.3.6528147
|
||||||
|
Loading…
Reference in New Issue
Block a user