0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-27 05:23:00 +00:00
This commit is contained in:
X1nto 2020-08-08 22:30:45 +04:00
parent a7e2d4a252
commit 985999899b
2 changed files with 2 additions and 3 deletions

View file

@ -16,10 +16,9 @@ object AppUtils {
fun isInstallationRunning(context: Context): Boolean {
val serviceClasses = listOf(VancedDownloadService::class.java, MicrogDownloadService::class.java, AppInstaller::class.java, AppInstallerService::class.java, SplitInstaller::class.java, SplitInstallerService::class.java, RootSplitInstallerService::class.java)
serviceClasses.any { service ->
return serviceClasses.any { service ->
isServiceRunning(service, context)
}
return false
}
@Suppress("DEPRECATION")

View file

@ -10,7 +10,7 @@
<item
android:id="@+id/toolbar_settings"
android:title="@string/title_about"
android:title="@string/title_settings"
android:icon="@drawable/ic_settings_black_24dp"
app:showAsAction="ifRoom" />