mirror of
https://github.com/fankes/ColorOSNotifyIcon.git
synced 2025-09-09 03:54:19 +08:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
8b906032f2
|
|||
6cd9cb79ac
|
|||
8bdff8d558
|
|||
3ccde65af6
|
|||
7503a64efd
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[](https://github.com/fankes/ColorOSNotifyIcon)
|
[](https://github.com/fankes/ColorOSNotifyIcon)
|
||||||
[](https://github.com/fankes/ColorOSNotifyIcon/blob/master/LICENSE)
|
[](https://github.com/fankes/ColorOSNotifyIcon/blob/master/LICENSE)
|
||||||
[](https://github.com/fankes/ColorOSNotifyIcon/releases)
|
[](https://github.com/fankes/ColorOSNotifyIcon/releases)
|
||||||
[](https://github.com/fankes/ColorOSNotifyIcon/releases)
|
[](https://github.com/fankes/ColorOSNotifyIcon/releases)
|
||||||
[](https://github.com/Xposed-Modules-Repo/com.fankes.coloros.notify/releases)
|
[](https://github.com/Xposed-Modules-Repo/com.fankes.coloros.notify/releases)
|
||||||
[](https://t.me/XiaofangInternet)
|
[](https://t.me/XiaofangInternet)
|
||||||
|
@@ -72,8 +72,8 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'de.robv.android.xposed:api:82'
|
compileOnly 'de.robv.android.xposed:api:82'
|
||||||
implementation 'com.highcapable.yukihookapi:api:1.1.9'
|
implementation 'com.highcapable.yukihookapi:api:1.1.10'
|
||||||
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.9'
|
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.10'
|
||||||
implementation 'com.github.duanhong169:drawabletoolbox:1.0.7'
|
implementation 'com.github.duanhong169:drawabletoolbox:1.0.7'
|
||||||
implementation "com.github.topjohnwu.libsu:core:5.0.4"
|
implementation "com.github.topjohnwu.libsu:core:5.0.4"
|
||||||
implementation 'androidx.annotation:annotation:1.6.0'
|
implementation 'androidx.annotation:annotation:1.6.0'
|
||||||
|
@@ -42,6 +42,7 @@ object HookEntry : IYukiHookXposedInit {
|
|||||||
elements(PRIORITY)
|
elements(PRIORITY)
|
||||||
}
|
}
|
||||||
isDebug = false
|
isDebug = false
|
||||||
|
isEnablePrefsBridgeCache = false
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onHook() = encase {
|
override fun onHook() = encase {
|
||||||
|
@@ -129,7 +129,7 @@ class MainActivity : BaseActivity<ActivityMainBinding>() {
|
|||||||
binding.notifyIconAutoSyncText.text = ConfigData.notifyIconFixAutoTime
|
binding.notifyIconAutoSyncText.text = ConfigData.notifyIconFixAutoTime
|
||||||
binding.moduleEnableSwitch.bind(ConfigData.ENABLE_MODULE) {
|
binding.moduleEnableSwitch.bind(ConfigData.ENABLE_MODULE) {
|
||||||
onInitialize {
|
onInitialize {
|
||||||
binding.moduleEnableLogSwitch.isVisible = it
|
binding.moduleEnableLogItem.isVisible = it
|
||||||
binding.expAllDebugLogButton.isVisible = it && ConfigData.isEnableModuleLog
|
binding.expAllDebugLogButton.isVisible = it && ConfigData.isEnableModuleLog
|
||||||
binding.notifyIconConfigItem.isVisible = it
|
binding.notifyIconConfigItem.isVisible = it
|
||||||
binding.devNotifyConfigItem.isVisible = it
|
binding.devNotifyConfigItem.isVisible = it
|
||||||
|
@@ -253,17 +253,37 @@
|
|||||||
android:layout_marginLeft="15dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
|
android:layout_marginBottom="5dp"
|
||||||
android:text="启用模块"
|
android:text="启用模块"
|
||||||
android:textColor="@color/colorTextGray"
|
android:textColor="@color/colorTextGray"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginRight="15dp"
|
||||||
|
android:layout_marginBottom="10dp"
|
||||||
|
android:alpha="0.6"
|
||||||
|
android:lineSpacingExtra="6dp"
|
||||||
|
android:text="模块关闭后一切功能都将彻底停止工作。"
|
||||||
|
android:textColor="@color/colorTextDark"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/module_enable_log_item"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginBottom="10dp"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<com.fankes.coloros.notify.ui.widget.MaterialSwitch
|
<com.fankes.coloros.notify.ui.widget.MaterialSwitch
|
||||||
android:id="@+id/module_enable_log_switch"
|
android:id="@+id/module_enable_log_switch"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="35dp"
|
android:layout_height="30dp"
|
||||||
android:layout_marginLeft="15dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="10dp"
|
||||||
android:text="启用调试日志"
|
android:text="启用调试日志"
|
||||||
android:textColor="@color/colorTextGray"
|
android:textColor="@color/colorTextGray"
|
||||||
android:textSize="15sp" />
|
android:textSize="15sp" />
|
||||||
@@ -288,13 +308,13 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="15dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:alpha="0.6"
|
android:alpha="0.6"
|
||||||
android:lineSpacingExtra="6dp"
|
android:lineSpacingExtra="6dp"
|
||||||
android:text="模块关闭后一切功能都将彻底停止工作。"
|
android:text="默认情况下不建议开启此选项,仅在模块故障时开启,此时你可以发送调试日志给开发者帮助我们快速定位问题。"
|
||||||
android:textColor="@color/colorTextDark"
|
android:textColor="@color/colorTextDark"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/dev_notify_config_item"
|
android:id="@+id/dev_notify_config_item"
|
||||||
|
@@ -12,8 +12,8 @@ ext {
|
|||||||
targetSdk : 33
|
targetSdk : 33
|
||||||
]
|
]
|
||||||
app = [
|
app = [
|
||||||
versionName : '1.97',
|
versionName : '1.99',
|
||||||
versionCode : 20,
|
versionCode : 22,
|
||||||
signingConfigs: [
|
signingConfigs: [
|
||||||
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
|
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
|
||||||
secretConfigsFileName: "key_store_secret.json"
|
secretConfigsFileName: "key_store_secret.json"
|
||||||
|
Reference in New Issue
Block a user