Big changes

- Add myself as a developer
- Change package name to org.frknkrc44.hma_oss
- Rename Hide-My-Applist to HMA-OSS
- Add my own links
- Other fixes and improvements
This commit is contained in:
frknkrc44 2025-08-11 18:33:51 +03:00
commit 554d01092c
No known key found for this signature in database
GPG key ID: 784AE1CC0DCFD34F
59 changed files with 133 additions and 186 deletions

View file

@ -6,13 +6,13 @@ body:
- type: markdown
attributes:
value: |
Thanks for reporting issues of Hide-My-Applist!
Thanks for reporting issues of HMA-OSS!
To prevent spam, please fill in the title after "[Bug]".
To make it easier for us to help you please enter detailed information below.
感谢给 Hide-My-Applist 汇报问题!
感谢给 HMA-OSS 汇报问题!
为了使我们更好地帮助你,请提供以下信息。
为了防止重复汇报与垃圾信息,标题请务必使用英文,在“[Bug]”之后填写内容。
- type: textarea
@ -50,8 +50,8 @@ body:
required: true
- type: input
attributes:
label: Hide-My-Applist version/Hide-My-Applist 版本
description: Please check [Actions](https://github.com/Dr-TSNG/Hide-My-Applist/actions/workflows/main.yml) for the latest CI debug build. Don't just type "latest". Specify actual version (**MUST** contains `.rXXX.XXX-debug`), otherwise your issue will be closed./请前往 [Actions](https://github.com/Dr-TSNG/Hide-My-Applist/actions/workflows/main.yml) 获取最新的 CI debug 版本。不要直接填用“最新版”。版本号**必须**包含 `·rXXX.XXX-debug`,否则 issue 会被自动关闭。
label: HMA-OSS version/HMA-OSS 版本
description: Please check [Actions](https://github.com/frknkrc44/HMA-OSS/actions/workflows/main.yml) for the latest CI debug build. Don't just type "latest". Specify actual version (**MUST** contains `.rXXX.XXX-debug`), otherwise your issue will be closed./请前往 [Actions](https://github.com/frknkrc44/HMA-OSS/actions/workflows/main.yml) 获取最新的 CI debug 版本。不要直接填用“最新版”。版本号**必须**包含 `·rXXX.XXX-debug`,否则 issue 会被自动关闭。
placeholder: V_._._(-Beta).r___._______-debug
validations:
required: true

View file

@ -1,12 +1,11 @@
# Hide My Applist
# HMA-OSS
[![Stars](https://img.shields.io/github/stars/Dr-TSNG/Hide-My-Applist?label=Stars)](https://github.com/Dr-TSNG)
[![Crowdin](https://badges.crowdin.net/hide-my-applist/localized.svg)](https://crowdin.com/project/hide-my-applist)
[![Build](https://img.shields.io/github/actions/workflow/status/Dr-TSNG/Hide-My-Applist/main.yml?branch=master&logo=github)](https://github.com/Dr-TSNG/Hide-My-Applist/actions)
[![Release](https://img.shields.io/github/v/release/Dr-TSNG/Hide-My-Applist?label=Release)](https://github.com/Dr-TSNG/Hide-My-Applist/releases/latest)
[![Download](https://img.shields.io/github/downloads/Dr-TSNG/Hide-My-Applist/total)](https://github.com/Dr-TSNG/Hide-My-Applist/releases/latest)
[![Channel](https://img.shields.io/badge/Telegram-Channel-blue.svg?logo=telegram)](https://t.me/HideMyApplist)
[![License](https://img.shields.io/github/license/Dr-TSNG/Hide-My-Applist?label=License)](https://choosealicense.com/licenses/gpl-3.0/)
[![Stars](https://github.com/frknkrc44/HMA-OSS?label=Stars)](https://github.com/frknkrc44)
[![Build](https://img.shields.io/github/actions/workflow/status/frknkrc44/HMA-OSS/main.yml?branch=master&logo=github)](https://github.com/frknkrc44/HMA-OSS/actions)
[![Release](https://img.shields.io/github/v/release/frknkrc44/HMA-OSS?label=Release)](https://github.com/frknkrc44/HMA-OSS/releases/latest)
[![Download](https://img.shields.io/github/downloads/frknkrc44/HMA-OSS/total)](https://github.com/frknkrc44/HMA-OSS/releases/latest)
[![Channel](https://img.shields.io/badge/Telegram-Channel-blue.svg?logo=telegram)](https://t.me/aerathfuns)
[![License](https://img.shields.io/github/license/frknkrc44/HMA-OSS?label=License)](https://choosealicense.com/licenses/gpl-3.0/)
![banner](banner.png)
@ -21,8 +20,5 @@ Additionally, some apps use various loopholes to acquire your app list, in order
This module can work as an Xposed module to hide apps or reject app list requests, and provides some methods to test whether you have hidden your app list properly.
## Translation Contributing
You can contribute translation [here](https://crowdin.com/project/hide-my-applist).
## Update Log
[Reference to the release page](https://github.com/Dr-TSNG/Hide-My-Applist/releases)
[Reference to the release page](https://github.com/frknkrc44/HMA-OSS/releases)

View file

@ -1,12 +1,11 @@
# Hide My Applist
# HMA-OSS
[![Stars](https://img.shields.io/github/stars/Dr-TSNG/Hide-My-Applist?label=Stars)](https://github.com/Dr-TSNG)
[![Crowdin](https://badges.crowdin.net/hide-my-applist/localized.svg)](https://crowdin.com/project/hide-my-applist)
[![Build](https://img.shields.io/github/actions/workflow/status/Dr-TSNG/Hide-My-Applist/main.yml?branch=master&logo=github)](https://github.com/Dr-TSNG/Hide-My-Applist/actions)
[![Release](https://img.shields.io/github/v/release/Dr-TSNG/Hide-My-Applist?label=Release)](https://github.com/Dr-TSNG/Hide-My-Applist/releases/latest)
[![Download](https://img.shields.io/github/downloads/Dr-TSNG/Hide-My-Applist/total)](https://github.com/Dr-TSNG/Hide-My-Applist/releases/latest)
[![Channel](https://img.shields.io/badge/Telegram-Channel-blue.svg?logo=telegram)](https://t.me/HideMyApplist)
[![License](https://img.shields.io/github/license/Dr-TSNG/Hide-My-Applist?label=License)](https://choosealicense.com/licenses/gpl-3.0/)
[![Stars](https://github.com/frknkrc44/HMA-OSS?label=Stars)](https://github.com/frknkrc44)
[![Build](https://img.shields.io/github/actions/workflow/status/frknkrc44/HMA-OSS/main.yml?branch=master&logo=github)](https://github.com/frknkrc44/HMA-OSS/actions)
[![Release](https://img.shields.io/github/v/release/frknkrc44/HMA-OSS?label=Release)](https://github.com/frknkrc44/HMA-OSS/releases/latest)
[![Download](https://img.shields.io/github/downloads/frknkrc44/HMA-OSS/total)](https://github.com/frknkrc44/HMA-OSS/releases/latest)
[![Channel](https://img.shields.io/badge/Telegram-Channel-blue.svg?logo=telegram)](https://t.me/aerathfuns)
[![License](https://img.shields.io/github/license/frknkrc44/HMA-OSS?label=License)](https://choosealicense.com/licenses/gpl-3.0/)
![banner](banner.png)
@ -19,4 +18,4 @@
该模块提供了一些检测方式用于测试您是否成功地隐藏了某些特定的包名,如 Magisk/Edxposed Manager;同时可作为 Xposed 模块用于隐藏应用列表或特定应用,保护隐私。
## 更新日志
[参考发布页面](https://github.com/Dr-TSNG/Hide-My-Applist/releases)
[参考发布页面](https://github.com/frknkrc44/HMA-OSS/releases)

View file

@ -14,7 +14,7 @@ plugins {
}
android {
namespace = "com.tsng.hidemyapplist"
namespace = "org.frknkrc44.hma_oss"
buildFeatures {
buildConfig = true
@ -80,22 +80,6 @@ materialThemeBuilder {
generatePalette = true
}
fun afterEval() = android.applicationVariants.forEach { variant ->
val variantCapped = variant.name.replaceFirstChar { it.titlecase(Locale.ROOT) }
val variantLowered = variant.name.lowercase(Locale.ROOT)
tasks.register<Sync>("build$variantCapped") {
dependsOn("assemble$variantCapped")
from(layout.buildDirectory.dir("outputs/apk/$variantLowered"))
into(layout.buildDirectory.dir("apk/$variantLowered"))
rename(".*.apk", "HMA-V${variant.versionName}-${variant.buildType.name}.apk")
}
}
afterEvaluate {
afterEval()
}
dependencies {
implementation(projects.common)
runtimeOnly(projects.xposed)

View file

@ -13,6 +13,6 @@
-keep class icu.nullptr.hidemyapplist.data.UpdateData$* { *; }
-keep,allowoptimization class * extends androidx.preference.PreferenceFragmentCompat
-keepclassmembers class com.tsng.hidemyapplist.databinding.** {
-keepclassmembers class org.frknkrc44.hma_oss.databinding.** {
public <methods>;
}

View file

@ -4,7 +4,7 @@
<uses-permission
android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />
tools:ignore="PackageVisibilityPolicy,QueryAllPackagesPermission" />
<uses-permission android:name="android.permission.INTERNET" />
@ -29,26 +29,12 @@
</intent-filter>
</activity>
<activity-alias
android:name=".MainActivityLauncher"
android:exported="true"
android:label="@string/app_name"
android:targetActivity="icu.nullptr.hidemyapplist.ui.activity.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<provider
android:name="icu.nullptr.hidemyapplist.service.ServiceProvider"
android:authorities="com.tsng.hidemyapplist.ServiceProvider"
android:authorities="org.frknkrc44.hma_oss.ServiceProvider"
android:exported="true"
tools:ignore="ExportedContentProvider" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-7935522387526005~2750782344" />
<meta-data
android:name="xposedmodule"
android:value="true" />

View file

@ -3,7 +3,6 @@ package icu.nullptr.hidemyapplist
import android.annotation.SuppressLint
import android.app.Application
import androidx.appcompat.app.AppCompatDelegate
import com.tsng.hidemyapplist.R
import icu.nullptr.hidemyapplist.service.ConfigManager
import icu.nullptr.hidemyapplist.service.PrefManager
import icu.nullptr.hidemyapplist.ui.receiver.AppChangeReceiver
@ -11,6 +10,7 @@ import icu.nullptr.hidemyapplist.ui.util.makeToast
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import me.zhanghai.android.appiconloader.AppIconLoader
import org.frknkrc44.hma_oss.R
import rikka.material.app.LocaleDelegate
import java.util.*
import kotlin.system.exitProcess

View file

@ -28,6 +28,7 @@ private data class UpdateData(
}
suspend fun fetchLatestUpdate(): UpdateInfo? {
/*
val updateData = RxHttp.get(Constants.UPDATE_URL_BASE + "updates.json")
.toAwait<UpdateData>()
.tryAwait() ?: return null
@ -39,4 +40,6 @@ suspend fun fetchLatestUpdate(): UpdateInfo? {
.toAwaitString()
.tryAwait() ?: return null
return UpdateInfo(item.versionName, item.versionCode, content, item.downloadUrl)
*/
return null
}

View file

@ -2,11 +2,11 @@ package icu.nullptr.hidemyapplist.service
import android.os.Build
import android.util.Log
import com.tsng.hidemyapplist.R
import icu.nullptr.hidemyapplist.common.BuildConfig
import icu.nullptr.hidemyapplist.common.JsonConfig
import icu.nullptr.hidemyapplist.hmaApp
import icu.nullptr.hidemyapplist.ui.util.makeToast
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.common.BuildConfig
import java.io.File
object ConfigManager {

View file

@ -17,7 +17,6 @@ object PrefManager {
private const val PREF_FOLLOW_SYSTEM_ACCENT = "follow_system_accent"
private const val PREF_THEME_COLOR = "theme_color"
private const val PREF_HIDE_ICON = "hide_icon"
private const val PREF_DISABLE_UPDATE = "disable_update"
private const val PREF_RECEIVE_BETA_UPDATE = "receive_beta_update"
@ -57,25 +56,6 @@ object PrefManager {
get() = pref.getString(PREF_THEME_COLOR, "MATERIAL_BLUE")!!
set(value) = pref.edit().putString(PREF_THEME_COLOR, value).apply()
var hideIcon: Boolean
get() = pref.getBoolean(PREF_HIDE_ICON, false)
set(value) {
pref.edit().putBoolean(PREF_HIDE_ICON, value).apply()
val component = ComponentName(hmaApp, "com.tsng.hidemyapplist.MainActivityLauncher")
val status =
if (value) PackageManager.COMPONENT_ENABLED_STATE_DISABLED
else PackageManager.COMPONENT_ENABLED_STATE_ENABLED
hmaApp.packageManager.setComponentEnabledSetting(component, status, PackageManager.DONT_KILL_APP)
}
var disableUpdate: Boolean
get() = pref.getBoolean(PREF_DISABLE_UPDATE, false)
set(value) = pref.edit().putBoolean(PREF_DISABLE_UPDATE, value).apply()
var receiveBetaUpdate: Boolean
get() = pref.getBoolean(PREF_RECEIVE_BETA_UPDATE, false)
set(value) = pref.edit().putBoolean(PREF_RECEIVE_BETA_UPDATE, value).apply()
var appFilter_showSystem: Boolean
get() = pref.getBoolean(PREF_APP_FILTER_SHOW_SYSTEM, false)
set(value) = pref.edit().putBoolean(PREF_APP_FILTER_SHOW_SYSTEM, value).apply()

View file

@ -4,8 +4,8 @@ import android.annotation.SuppressLint
import android.widget.ImageView
import android.widget.TextView
import com.drakeet.about.*
import com.tsng.hidemyapplist.BuildConfig
import com.tsng.hidemyapplist.R
import org.frknkrc44.hma_oss.BuildConfig
import org.frknkrc44.hma_oss.R
class AboutActivity : AbsAboutActivity() {
@ -17,6 +17,9 @@ class AboutActivity : AbsAboutActivity() {
}
override fun onItemsCreated(items: MutableList<Any>) {
items.add(Category(getString(R.string.title_about_fork)))
items.add(Card(getString(R.string.about_fork_description)))
items.add(Category(getString(R.string.title_about)))
items.add(Card(getString(R.string.about_description)))
@ -28,6 +31,8 @@ class AboutActivity : AbsAboutActivity() {
items.add(Category(getString(R.string.about_developer)))
items.add(Contributor(R.drawable.cont_author, "\uD835\uDD93\uD835\uDD9A\uD835\uDD91\uD835\uDD91\uD835\uDD95\uD835\uDD99\uD835\uDD97", "Developer", "https://github.com/Dr-TSNG"))
items.add(Line())
items.add(Contributor(R.drawable.cont_fk, "frknkrc44", "HMA-OSS Developer", "https://github.com/frknkrc44"))
items.add(Line())
items.add(Contributor(R.drawable.cont_k, "Ketal", "Collaborator", "https://github.com/keta1"))
items.add(Line())
items.add(Contributor(R.drawable.cont_aviraxp, "aviraxp", "Collaborator", "https://github.com/aviraxp"))
@ -37,11 +42,9 @@ class AboutActivity : AbsAboutActivity() {
items.add(Contributor(R.drawable.cont_cpp_master, "LoveSy", "Idea provider", "https://github.com/yujincheng08"))
items.add(Category(getString(R.string.about_support)))
items.add(Card("Github\nhttps://github.com/Dr-TSNG/Hide-My-Applist"))
items.add(Card("Github\nhttps://github.com/frknkrc44/HMA-OSS"))
items.add(Line())
items.add(Card("Telegram\nhttps://t.me/HideMyApplist"))
items.add(Line())
items.add(Card("Play store\nhttps://play.google.com/store/apps/details?id=com.tsng.hidemyapplist"))
items.add(Card("Telegram\nhttps://t.me/aerathfuns"))
items.add(Category(getString(R.string.about_open_source)))
items.add(License("MultiType", "drakeet", License.APACHE_2, "https://github.com/drakeet/MultiType"))

View file

@ -7,8 +7,8 @@ import androidx.navigation.findNavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.NavigationUI.setupWithNavController
import com.google.android.material.color.DynamicColors
import com.tsng.hidemyapplist.R
import com.tsng.hidemyapplist.databinding.ActivityMainBinding
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.databinding.ActivityMainBinding
import icu.nullptr.hidemyapplist.ui.util.ThemeUtils
import rikka.material.app.MaterialActivity

View file

@ -7,8 +7,8 @@ import android.os.Build
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.tsng.hidemyapplist.R
import com.tsng.hidemyapplist.databinding.LogItemViewBinding
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.databinding.LogItemViewBinding
import icu.nullptr.hidemyapplist.service.PrefManager
import icu.nullptr.hidemyapplist.ui.util.ThemeUtils.themeColor
import java.util.regex.Pattern

View file

@ -2,7 +2,7 @@ package icu.nullptr.hidemyapplist.ui.adapter
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.tsng.hidemyapplist.R
import org.frknkrc44.hma_oss.R
import icu.nullptr.hidemyapplist.service.ConfigManager
import icu.nullptr.hidemyapplist.ui.view.ListItemView
import java.text.Collator

View file

@ -2,7 +2,7 @@ package icu.nullptr.hidemyapplist.ui.fragment
import android.os.Bundle
import com.google.android.material.transition.MaterialSharedAxis
import com.tsng.hidemyapplist.R
import org.frknkrc44.hma_oss.R
import icu.nullptr.hidemyapplist.service.ConfigManager
import icu.nullptr.hidemyapplist.ui.adapter.AppManageAdapter
import icu.nullptr.hidemyapplist.ui.util.navController

View file

@ -10,8 +10,8 @@ import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.LinearLayoutManager
import by.kirich1409.viewbindingdelegate.viewBinding
import com.tsng.hidemyapplist.R
import com.tsng.hidemyapplist.databinding.FragmentAppSelectBinding
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.databinding.FragmentAppSelectBinding
import icu.nullptr.hidemyapplist.service.PrefManager
import icu.nullptr.hidemyapplist.ui.adapter.AppSelectAdapter
import icu.nullptr.hidemyapplist.ui.util.navController

View file

@ -12,8 +12,8 @@ import androidx.navigation.fragment.navArgs
import androidx.preference.*
import by.kirich1409.viewbindingdelegate.viewBinding
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.tsng.hidemyapplist.R
import com.tsng.hidemyapplist.databinding.FragmentSettingsBinding
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.databinding.FragmentSettingsBinding
import icu.nullptr.hidemyapplist.common.JsonConfig
import icu.nullptr.hidemyapplist.service.ConfigManager
import icu.nullptr.hidemyapplist.ui.util.navController

View file

@ -1,27 +1,23 @@
package icu.nullptr.hidemyapplist.ui.fragment
import android.annotation.SuppressLint
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.text.Html
import android.view.View
import androidx.activity.result.contract.ActivityResultContracts
import androidx.activity.result.contract.ActivityResultContracts.CreateDocument
import androidx.core.net.toUri
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.FragmentNavigatorExtras
import by.kirich1409.viewbindingdelegate.viewBinding
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.google.android.material.transition.MaterialElevationScale
import com.tsng.hidemyapplist.BuildConfig
import com.tsng.hidemyapplist.R
import com.tsng.hidemyapplist.databinding.FragmentHomeBinding
import icu.nullptr.hidemyapplist.data.fetchLatestUpdate
import org.frknkrc44.hma_oss.BuildConfig
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.databinding.FragmentHomeBinding
import icu.nullptr.hidemyapplist.hmaApp
import icu.nullptr.hidemyapplist.service.ConfigManager
import icu.nullptr.hidemyapplist.service.PrefManager
import icu.nullptr.hidemyapplist.service.ServiceClient
import icu.nullptr.hidemyapplist.ui.activity.AboutActivity
import icu.nullptr.hidemyapplist.ui.util.ThemeUtils.getColor
@ -29,9 +25,6 @@ import icu.nullptr.hidemyapplist.ui.util.ThemeUtils.themeColor
import icu.nullptr.hidemyapplist.ui.util.makeToast
import icu.nullptr.hidemyapplist.ui.util.navController
import icu.nullptr.hidemyapplist.ui.util.setupToolbar
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import java.io.IOException
class HomeFragment : Fragment(R.layout.fragment_home) {
@ -109,7 +102,7 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
.setMessage(R.string.home_download_test_app_message)
.setNegativeButton(android.R.string.cancel, null)
.setPositiveButton(android.R.string.ok) { _, _ ->
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/Dr-TSNG/ApplistDetector/releases")))
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("https://github.com/frknkrc44/HMA-OSS")))
}
.show()
} else startActivity(intent)
@ -121,11 +114,14 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
restoreSAFLauncher.launch("application/json")
}
/*
lifecycleScope.launch {
loadUpdateDialog()
}
*/
}
@SuppressLint("StringFormatInvalid")
override fun onStart() {
super.onStart()
val serviceVersion = ServiceClient.serviceVersion
@ -148,7 +144,7 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
binding.moduleStatus.setText(R.string.home_xposed_not_activated)
}
if (serviceVersion != 0) {
if (serviceVersion < icu.nullptr.hidemyapplist.common.BuildConfig.SERVICE_VERSION) {
if (serviceVersion < org.frknkrc44.hma_oss.common.BuildConfig.SERVICE_VERSION) {
binding.serviceStatus.text = getString(R.string.home_xposed_service_old)
} else {
binding.serviceStatus.text = getString(R.string.home_xposed_service_on, serviceVersion)
@ -161,6 +157,7 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
}
}
/*
private suspend fun loadUpdateDialog() {
if (PrefManager.disableUpdate) return
val updateInfo = fetchLatestUpdate() ?: return
@ -192,4 +189,5 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
}
}
}
*/
}

View file

@ -9,8 +9,8 @@ import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutManager
import by.kirich1409.viewbindingdelegate.viewBinding
import com.tsng.hidemyapplist.R
import com.tsng.hidemyapplist.databinding.FragmentLogsBinding
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.databinding.FragmentLogsBinding
import icu.nullptr.hidemyapplist.hmaApp
import icu.nullptr.hidemyapplist.service.PrefManager
import icu.nullptr.hidemyapplist.service.ServiceClient

View file

@ -15,8 +15,8 @@ import androidx.preference.PreferenceFragmentCompat
import androidx.preference.SwitchPreference
import by.kirich1409.viewbindingdelegate.viewBinding
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.tsng.hidemyapplist.R
import com.tsng.hidemyapplist.databinding.FragmentSettingsBinding
import org.frknkrc44.hma_oss.R
import org.frknkrc44.hma_oss.databinding.FragmentSettingsBinding
import icu.nullptr.hidemyapplist.common.CommonUtils
import icu.nullptr.hidemyapplist.common.Constants
import icu.nullptr.hidemyapplist.hmaApp
@ -61,12 +61,9 @@ class SettingsFragment : Fragment(R.layout.fragment_settings), PreferenceFragmen
"followSystemAccent" -> PrefManager.followSystemAccent
"blackDarkTheme" -> PrefManager.blackDarkTheme
"detailLog" -> ConfigManager.detailLog
"hideIcon" -> PrefManager.hideIcon
"appDataIsolation" -> CommonUtils.isAppDataIsolationEnabled
"voldAppDataIsolation" -> CommonUtils.isVoldAppDataIsolationEnabled
"forceMountData" -> ConfigManager.forceMountData
"disableUpdate" -> PrefManager.disableUpdate
"receiveBetaUpdate" -> PrefManager.receiveBetaUpdate
else -> throw IllegalArgumentException("Invalid key: $key")
}
}
@ -87,11 +84,8 @@ class SettingsFragment : Fragment(R.layout.fragment_settings), PreferenceFragmen
"blackDarkTheme" -> PrefManager.blackDarkTheme = value
"detailLog" -> ConfigManager.detailLog = value
"forceMountData" -> ConfigManager.forceMountData = value
"hideIcon" -> PrefManager.hideIcon = value
"appDataIsolation" -> Unit
"voldAppDataIsolation" -> Unit
"disableUpdate" -> PrefManager.disableUpdate = value
"receiveBetaUpdate" -> PrefManager.receiveBetaUpdate = value
else -> throw IllegalArgumentException("Invalid key: $key")
}
}

Some files were not shown because too many files have changed in this diff Show more