Optimize notification icons for ColorOS and adapt to native notification icon specifications

Overview

ColorOS 通知图标增强

Eclipse Marketplace Eclipse Marketplace Eclipse Marketplace


Optimize notification icons for ColorOS and adapt to native notification icon specifications.
为 ColorOS 优化通知图标以及适配原生通知图标规范,理论支持 OxygenOS 和 RealmeUI。

开始使用

点击下载最新版本 Eclipse Marketplace

⚠️ 适配说明

  • 此模块仅支持 LSPosed(作用域“系统界面”)、EdXposed(随时停止支持)、不支持太极无极
  • 目前仅在 ColorOS 12 for OnePlus 上测试通过,如有问题请提交 issues
  • 建议在不低于 ColorOS 11 的版本上使用

请勿用于非法用途

  • 本模块完全开源免费,如果好用你可以打赏支持开发,但是请不要用于非法用途。
  • 本模块发布地址仅有 Xposed-Modules-RepoRelease蓝奏云,从其他非正规渠道下载到的版本或对您造成任何影响均与我们无关。

贡献通知图标优化名单

此项目是 AndroidNotifyIconAdapt 项目的一部分,详情请参考下方。

历史背景

继 MIUI 之后的第二大系统 ColorOS 虽然支持原生通知图标,但是第三方推送五颜六色的图标系统并没有做适配,甚至系统自己的图标都是彩色的,极其不友好。
而且从 ColorOS 12 开始,原生图标丢失了着色属性,这也是一种对原生 Android 生态的破坏。

许可证

Copyright (C) 2019-2022 Fankes Studio([email protected])

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see 
   .

Powered by YukiHookAPI

版权所有 © 2019-2022 Fankes Studio([email protected])

Comments
  • [问题与 BUG 反馈] Android 11 版本的 ColorOS 适配

    [问题与 BUG 反馈] Android 11 版本的 ColorOS 适配

    系统版本(必填)

    Oneplus 9rt A12

    系统类型(请保留一个)

    • ColorOS12

    Android 版本(必填)

    Android 11 模块版本(必填)

    1.52

    使用的 Xposed 框架名称与框架版本(必填)

    Lsp 1.8.0 6482 zygisk

    问题的具体描述

    前两天系统更新了,现在才发现lsp log,系统界面com.oplusos.systemui.statusbar.phone.OplusNotificationIconAreaController应该换成了com.android.systemui.statusbar.phone.NotificationIconAreaController,我找到了updateIconsForLayout方法

    提供模块问题 Log 或必要 Log

    展开查看
    
    

    java.lang.IllegalStateException: VariousClass match failed of those ["com.oplusos.systemui.statusbar.phone.OplusNotificationIconAreaController","com.coloros.systemui.statusbar.phone.ColorosNotificationIconAreaController"] at a3.b.a(P:7) at i3.b.k(P:1) at i3.b.m(P:1) at p1.d.r(P:8) at f3.a.q(P:2) at i3.b.p(P:1) at i3.b.o(P:1) at o1.a$a.c(P:11) at o1.a$a.b(P:1) at z2.a.g(P:11) at p3.a.b(P:1) at com.fankes.coloros.notify.hook.HookEntry_YukiHookXposedInit.handleLoadPackage(P:24) at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(Unknown Source:2) at de.robv.android.xposed.callbacks.XC_LoadPackage.call(Unknown Source:6) at de.robv.android.xposed.callbacks.XCallback.callAll(Unknown Source:26) at H.afterHookedMethod(Unknown Source:104) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:132) at LSPHooker_.getClassLoader(Unknown Source:8) at android.app.LoadedApk.getResources(LoadedApk.java:1262) at android.app.ContextImpl.createAppContext(ContextImpl.java:2776) at android.app.ContextImpl.createAppContext(ContextImpl.java:2768) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7128) at java.lang.reflect.Method.invoke(Native Method) at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:103) at LSPHooker_.handleBindApplication(Unknown Source:11) at android.app.ActivityThread.access$1600(ActivityThread.java:314) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2176) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:269) at android.app.ActivityThread.main(ActivityThread.java:8301) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:992)

    bug fixed 
    opened by luckyzyx 12
  • [问题与 BUG 反馈] 状态栏及下拉界面DPI变小

    [问题与 BUG 反馈] 状态栏及下拉界面DPI变小

    系统版本(必填)

    • IN2020_11_C.03

    系统类型(请保留一个)

    • ColorOS

    Android 版本(必填)

    • 12

    模块版本(必填)

    • 1.5&1.51

    使用的 Xposed 框架名称与框架版本(必填)

    • LSPosed Zygisk 1.80(6482)

    同时使用的带有系统界面作用域的 Xposed 模块(选填)

    • 系统界面(com.android.systemui)

    问题的具体描述

    • 1.5 版本开始出现此问题
    • 复现条件为安装应用后(添加或升级)
    • 个人猜测与动态刷新用户界面设备为2k分辨率有关

    reapper

    提供模块问题 Log 或必要 Log

    • (LSPosed 可在日志管理中查看并筛选包含 ColorOSNotifyIcon 的日志)
    展开查看
    
    

    不熟悉 LSPosed 的日志筛选处理,抱歉。

    bug wontfix 
    opened by XiangNorth 8
  • [通知优化图标适配反馈]

    [通知优化图标适配反馈]

    需要适配的 APP 名称/包名/通知图标颜色 (必填)

    小米计算器/com.miui.calculator/橙白

    提供相关 APP 的下载渠道截图以及简要说明用途 (必填)

    https://play.google.com/store/apps/details?id=com.miui.calculator&hl=en&gl=US ColorOS的计算器功能太差,只能用其他的。 弹出窗口时,状态栏会生成一个计算器浮窗的通知。

    提供相关 APP 的通知单色图标适配素材 大小 50x50 (选填)

    opened by hmy65 4
  • [问题与 BUG 反馈] *自定义通知面板背景透明度不起作用*

    [问题与 BUG 反馈] *自定义通知面板背景透明度不起作用*

    系统版本(必填)

    • V12.1 IN2020_11_C.21

    系统类型(请保留一个)

    • ColorOS

    Android 版本(必填)

    • 12

    模块版本(必填)

    • 1.77

    使用的 Xposed 框架名称与框架版本(必填)

    • LSPosed Zygisk 1.8.3 (6552)

    同时使用的带有系统界面作用域的 Xposed 模块(选填)

    • ColorOSTool和WooBox For ColorOS 但是全部停用重启后 也不管用

    问题的具体描述

    • 自定义通知面板背景透明度勾选并设置值后 通知无变化 cgi-bin_mmwebwx-bin_webwxgetmsgimg_ MsgID=2236767929193075207 skey=@crypt_eb84ecc_052a50605ffa99b6fea9787c35896927 mmweb_appid=wx_webfilehelper

    提供模块问题 Log 或必要 Log

    bug wontfix 
    opened by mzss99 4
  • [通知优化图标适配反馈]

    [通知优化图标适配反馈]

    需要适配的 APP 名称/包名/通知图标颜色 (必填)

    • 完美世界电竞/com.pwrd.steam.esports/#000000

    提供相关 APP 的下载渠道截图以及简要说明用途 (必填)

    • 各大应用商店都能下载,CSGO完美平台的官方游戏社区app,类似王者营地

    提供相关 APP 的通知单色图标适配素材 大小 50x50 (选填)

    • (可填写资源下载地址或直接添加附件提交,不接受百度网盘、天翼云盘以及各种快传、私有云盘)

    • (若直接在附件提交这里可不填)

    opened by Cai231 2
  • [通知优化图标适配反馈]

    [通知优化图标适配反馈]

    需要适配的 APP 名称/包名/通知图标颜色 (必填)

    • realme社区/com.realmecomm.app/#FFD700

    提供相关 APP 的下载渠道截图以及简要说明用途 (必填)

    Screenshot_2022-07-12-10-52-22-18_9d6ca196173956b012958210db5a71fe ColorOS软件商店下载

    提供相关 APP 的通知单色图标适配素材 大小 50x50 (选填)

    opened by 18591615351 2
  • [通知优化图标适配反馈]电话本(联系人)

    [通知优化图标适配反馈]电话本(联系人)

    需要适配的 APP 名称/包名/通知图标颜色 (必填)

    • 电话本(一加)/ com.android.contacts /#166ed2

    提供相关 APP 的下载渠道截图以及简要说明用途 (必填)

    • 内置系统软件,未接电话图标 Screenshot_2022-03-04-21-24-04-40_b783bf344239542 IMG_20220304_212359

    提供相关 APP 的通知单色图标适配素材 大小 50x50 (选填)

    • 和原适配的电话图标一致,颜色不一样,一加的电话颜色也是#166ed2而不是绿色,如果能增加个选项就好了
    duplicate 
    opened by AzusaHana 2
  • [通知图标优化适配反馈]

    [通知图标优化适配反馈]

    APP 名称

    一木清单

    APP 包名

    com.wangc.todolist

    通知图标颜色 (HEX)

    No response

    下载渠道、来源地址链接

    酷安,或者各大手机软件商店均提供下载

    简单描述适配的通知图标使用场景

    该App在状态栏的通知图标始终是彩色的,因为它是最近新出的一款软件,由于是清单类软件,所以通知也比较多,彩色的话,比较不舒服。在此求大大适配通知图标,非常感谢!

    通知单色图标适配素材 (大小 50x50~72x72)

    一木清单_1 3 0

    确认一下你提交的信息

    • [X] 我确保上述信息准确无误
    opened by jiangyuhan13 1
  • [通知图标优化适配反馈]

    [通知图标优化适配反馈]

    APP 名称

    天气

    APP 包名

    com.coloros.weather2

    通知图标颜色 (HEX)

    No response

    下载渠道、来源地址链接

    系统自带

    简单描述适配的通知图标使用场景

    已适配的天气为天气服务的图标(com.coloros.weather.service)天气(com.coloros.weather2)软件的推送的消息未适配 Screenshot_2022-11-19-02-42-18-24_282d022627b3c6a616b39ea68b467221 Screenshot_2022-11-19-02-42-15-15_282d022627b3c6a616b39ea68b467221

    通知单色图标适配素材 (大小 50x50~72x72)

    No response

    确认一下你提交的信息

    • [X] 我确保上述信息准确无误
    opened by ZTGE 1
  • [通知图标优化适配反馈]

    [通知图标优化适配反馈]

    APP 名称

    澎湃新闻

    APP 包名

    com.wondertek.paper

    通知图标颜色 (HEX)

    No response

    下载渠道、来源地址链接

    play商店

    简单描述适配的通知图标使用场景

    中间空白

    通知单色图标适配素材 (大小 50x50~72x72)

    No response

    确认一下你提交的信息

    • [X] 我确保上述信息准确无误
    opened by peter-518 1
  • [通知图标优化适配反馈]

    [通知图标优化适配反馈]

    APP 名称

    南方航空

    APP 包名

    com.csair.mbp

    通知图标颜色 (HEX)

    No response

    下载渠道、来源地址链接

    酷安

    简单描述适配的通知图标使用场景

    HMS推送会变成彩色图标 Screenshot_2022-11-10-12-22-35-96_b783bf344239542886fee7b48fa4b892

    通知单色图标适配素材 (大小 50x50~72x72)

    No response

    确认一下你提交的信息

    • [X] 我确保上述信息准确无误
    opened by ZTGE 1
  • [待解决] Android 13 适配问题

    [待解决] Android 13 适配问题

    系统版本(必填)

    • V13 LE2120_11_F.03

    系统类型(请保留一个)

    • ColorOS

    Android 版本(必填)

    • Android 13

    模块版本(必填)

    • 1.85

    使用的 Xposed 框架名称与框架版本(必填)

    • LSPosed Zygisk 1.83(6597)

    同时使用的带有系统界面作用域的 Xposed 模块(选填)

    问题的具体描述

    • 开启模块后,打开QQ音乐会导致系统界面崩溃

    提供模块问题 Log 或必要 Log

    展开查看
    
    

    ----part 3 start---- [ 2022-08-23T00:44:33.973 10212: 19892: 19892 I/LSPosed-Bridge ] [ColorOSNotify][E]--> [com.android.systemui] Try to hook class com.android.systemui.statusbar.notification.NotificationUtils[public static boolean com.android.systemui.statusbar.notification.NotificationUtils.isGrayscaleOplus(android.widget.ImageView,com.oplusos.util.OplusContrastColorUtil)] got an Exception [Default] [ 2022-08-23T00:44:33.974 10212: 19892: 19892 E/LSPosed-Bridge ] java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at a3.c$b$a.a(P:2) at a3.c$b$a.e(Unknown Source:5) at a3.c$b$a.b(Unknown Source:5) at m1.d.Q(P:13) at m1.d.B(Unknown Source:0) at m1.d$k.c(Unknown Source:26) at m1.d$k.a(Unknown Source:2) at z2.b$b$d.b(P:4) at r3.a$b$e.replaceHookedMethod(Unknown Source:14) at de.robv.android.xposed.XC_MethodReplacement.beforeHookedMethod(Unknown Source:0) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:79) at LSPHooker_.isGrayscaleOplus(Unknown Source:11) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.updateIconColor(NotificationHeaderViewWrapper.java:260) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.resolveHeaderViews(NotificationHeaderViewWrapper.java:219) at java.lang.reflect.Method.invoke(Native Method) at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:110) at LSPHooker_.resolveHeaderViews(Unknown Source:8) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.(NotificationHeaderViewWrapper.java:161) at com.android.systemui.statusbar.notification.row.wrapper.NotificationTemplateViewWrapper.(NotificationTemplateViewWrapper.java:94) at com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapper.(NotificationMediaTemplateViewWrapper.java:35) at com.android.systemui.statusbar.notification.row.wrapper.NotificationViewWrapper.wrap(NotificationViewWrapper.java:131) at com.android.systemui.statusbar.notification.row.NotificationContentView.setContractedChild(NotificationContentView.java:499) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:641) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.access$1400(NotificationContentInflater.java:67) at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:563) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5830) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5738) at android.os.AsyncTask.finish(AsyncTask.java:771) at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8321) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1012) Caused by: java.lang.IllegalStateException: unable to getPixels(), pixel access is not supported on Config#HARDWARE bitmaps at android.graphics.Bitmap.checkHardware(Bitmap.java:425) at android.graphics.Bitmap.getPixels(Bitmap.java:1985) at com.android.internal.util.ImageUtils.isGrayscale(ImageUtils.java:96) at com.android.internal.util.ContrastColorUtil.isGrayscaleIcon(ContrastColorUtil.java:104) at com.android.internal.util.ContrastColorUtil.isGrayscaleIcon(ContrastColorUtil.java:129) ... 39 more [ 2022-08-23T00:44:33.980 10212: 19892: 19892 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference at LSPHooker_.isGrayscaleOplus(Unknown Source:17) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.updateIconColor(NotificationHeaderViewWrapper.java:260) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.resolveHeaderViews(NotificationHeaderViewWrapper.java:219) at java.lang.reflect.Method.invoke(Native Method) at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:110) at LSPHooker_.resolveHeaderViews(Unknown Source:8) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.(NotificationHeaderViewWrapper.java:161) at com.android.systemui.statusbar.notification.row.wrapper.NotificationTemplateViewWrapper.(NotificationTemplateViewWrapper.java:94) at com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapper.(NotificationMediaTemplateViewWrapper.java:35) at com.android.systemui.statusbar.notification.row.wrapper.NotificationViewWrapper.wrap(NotificationViewWrapper.java:131) at com.android.systemui.statusbar.notification.row.NotificationContentView.setContractedChild(NotificationContentView.java:499) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:641) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.access$1400(NotificationContentInflater.java:67) at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:563) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5830) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5738) at android.os.AsyncTask.finish(AsyncTask.java:771) at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8321) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1012) [ 2022-08-23T00:44:34.415 10212: 21280: 21280 I/LSPosed-Bridge ] Loading module com.fankes.coloros.notify from /data/app/~~oajdjDTo7-BYPOeRyziOLg==/com.fankes.coloros.notify-QeECcmLs6rBc_TIMrCWtLA==/base.apk [ 2022-08-23T00:44:34.424 10212: 21280: 21280 I/LSPosed-Bridge ] Loading class com.fankes.coloros.notify.hook.HookEntry_YukiHookXposedInit [ 2022-08-23T00:44:38.609 10212: 21280: 21280 I/LSPosed-Bridge ] [ColorOSNotify][E]--> [com.android.systemui] Try to hook class com.android.systemui.statusbar.notification.NotificationUtils[public static boolean com.android.systemui.statusbar.notification.NotificationUtils.isGrayscaleOplus(android.widget.ImageView,com.oplusos.util.OplusContrastColorUtil)] got an Exception [Default] [ 2022-08-23T00:44:38.610 10212: 21280: 21280 E/LSPosed-Bridge ] java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at a3.c$b$a.a(P:2) at a3.c$b$a.e(Unknown Source:5) at a3.c$b$a.b(Unknown Source:5) at m1.d.Q(P:13) at m1.d.B(Unknown Source:0) at m1.d$k.c(Unknown Source:26) at m1.d$k.a(Unknown Source:2) at z2.b$b$d.b(P:4) at r3.a$b$e.replaceHookedMethod(Unknown Source:14) at de.robv.android.xposed.XC_MethodReplacement.beforeHookedMethod(Unknown Source:0) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:79) at LSPHooker_.isGrayscaleOplus(Unknown Source:11) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.updateIconColor(NotificationHeaderViewWrapper.java:260) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.resolveHeaderViews(NotificationHeaderViewWrapper.java:219) at java.lang.reflect.Method.invoke(Native Method) at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:110) at LSPHooker_.resolveHeaderViews(Unknown Source:8) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.(NotificationHeaderViewWrapper.java:161) at com.android.systemui.statusbar.notification.row.wrapper.NotificationTemplateViewWrapper.(NotificationTemplateViewWrapper.java:94) at com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapper.(NotificationMediaTemplateViewWrapper.java:35) at com.android.systemui.statusbar.notification.row.wrapper.NotificationViewWrapper.wrap(NotificationViewWrapper.java:131) at com.android.systemui.statusbar.notification.row.NotificationContentView.setContractedChild(NotificationContentView.java:499) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:641) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.access$1400(NotificationContentInflater.java:67) at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:563) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5830) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5738) at android.os.AsyncTask.finish(AsyncTask.java:771) at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8321) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1012) Caused by: java.lang.IllegalStateException: unable to getPixels(), pixel access is not supported on Config#HARDWARE bitmaps at android.graphics.Bitmap.checkHardware(Bitmap.java:425) at android.graphics.Bitmap.getPixels(Bitmap.java:1985) at com.android.internal.util.ImageUtils.isGrayscale(ImageUtils.java:96) at com.android.internal.util.ContrastColorUtil.isGrayscaleIcon(ContrastColorUtil.java:104) at com.android.internal.util.ContrastColorUtil.isGrayscaleIcon(ContrastColorUtil.java:129) ... 39 more [ 2022-08-23T00:44:38.612 10212: 21280: 21280 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference at LSPHooker_.isGrayscaleOplus(Unknown Source:17) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.updateIconColor(NotificationHeaderViewWrapper.java:260) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.resolveHeaderViews(NotificationHeaderViewWrapper.java:219) at java.lang.reflect.Method.invoke(Native Method) at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:110) at LSPHooker_.resolveHeaderViews(Unknown Source:8) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.(NotificationHeaderViewWrapper.java:161) at com.android.systemui.statusbar.notification.row.wrapper.NotificationTemplateViewWrapper.(NotificationTemplateViewWrapper.java:94) at com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapper.(NotificationMediaTemplateViewWrapper.java:35) at com.android.systemui.statusbar.notification.row.wrapper.NotificationViewWrapper.wrap(NotificationViewWrapper.java:131) at com.android.systemui.statusbar.notification.row.NotificationContentView.setContractedChild(NotificationContentView.java:499) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:641) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.access$1400(NotificationContentInflater.java:67) at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:563) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5830) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5738) at android.os.AsyncTask.finish(AsyncTask.java:771) at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8321) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1012) [ 2022-08-23T00:44:38.853 10212: 21614: 21614 I/LSPosed-Bridge ] Loading module com.fankes.coloros.notify from /data/app/~~oajdjDTo7-BYPOeRyziOLg==/com.fankes.coloros.notify-QeECcmLs6rBc_TIMrCWtLA==/base.apk [ 2022-08-23T00:44:38.860 10212: 21614: 21614 I/LSPosed-Bridge ] Loading class com.fankes.coloros.notify.hook.HookEntry_YukiHookXposedInit [ 2022-08-23T00:44:42.826 10212: 21614: 21614 I/LSPosed-Bridge ] [ColorOSNotify][E]--> [com.android.systemui] Try to hook class com.android.systemui.statusbar.notification.NotificationUtils[public static boolean com.android.systemui.statusbar.notification.NotificationUtils.isGrayscaleOplus(android.widget.ImageView,com.oplusos.util.OplusContrastColorUtil)] got an Exception [Default] [ 2022-08-23T00:44:42.826 10212: 21614: 21614 E/LSPosed-Bridge ] java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at a3.c$b$a.a(P:2) at a3.c$b$a.e(Unknown Source:5) at a3.c$b$a.b(Unknown Source:5) at m1.d.Q(P:13) at m1.d.B(Unknown Source:0) at m1.d$k.c(Unknown Source:26) at m1.d$k.a(Unknown Source:2) at z2.b$b$d.b(P:4) at r3.a$b$e.replaceHookedMethod(Unknown Source:14) at de.robv.android.xposed.XC_MethodReplacement.beforeHookedMethod(Unknown Source:0) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:79) at LSPHooker_.isGrayscaleOplus(Unknown Source:11) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.updateIconColor(NotificationHeaderViewWrapper.java:260) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.resolveHeaderViews(NotificationHeaderViewWrapper.java:219) at java.lang.reflect.Method.invoke(Native Method) at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:110) at LSPHooker_.resolveHeaderViews(Unknown Source:8) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.(NotificationHeaderViewWrapper.java:161) at com.android.systemui.statusbar.notification.row.wrapper.NotificationTemplateViewWrapper.(NotificationTemplateViewWrapper.java:94) at com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapper.(NotificationMediaTemplateViewWrapper.java:35) at com.android.systemui.statusbar.notification.row.wrapper.NotificationViewWrapper.wrap(NotificationViewWrapper.java:131) at com.android.systemui.statusbar.notification.row.NotificationContentView.setContractedChild(NotificationContentView.java:499) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:641) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.access$1400(NotificationContentInflater.java:67) at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:563) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5830) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5738) at android.os.AsyncTask.finish(AsyncTask.java:771) at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8321) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1012) Caused by: java.lang.IllegalStateException: unable to getPixels(), pixel access is not supported on Config#HARDWARE bitmaps at android.graphics.Bitmap.checkHardware(Bitmap.java:425) at android.graphics.Bitmap.getPixels(Bitmap.java:1985) at com.android.internal.util.ImageUtils.isGrayscale(ImageUtils.java:96) at com.android.internal.util.ContrastColorUtil.isGrayscaleIcon(ContrastColorUtil.java:104) at com.android.internal.util.ContrastColorUtil.isGrayscaleIcon(ContrastColorUtil.java:129) ... 39 more [ 2022-08-23T00:44:42.829 10212: 21614: 21614 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference at LSPHooker_.isGrayscaleOplus(Unknown Source:17) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.updateIconColor(NotificationHeaderViewWrapper.java:260) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.resolveHeaderViews(NotificationHeaderViewWrapper.java:219) at java.lang.reflect.Method.invoke(Native Method) at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method) at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:110) at LSPHooker_.resolveHeaderViews(Unknown Source:8) at com.android.systemui.statusbar.notification.row.wrapper.NotificationHeaderViewWrapper.(NotificationHeaderViewWrapper.java:161) at com.android.systemui.statusbar.notification.row.wrapper.NotificationTemplateViewWrapper.(NotificationTemplateViewWrapper.java:94) at com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapper.(NotificationMediaTemplateViewWrapper.java:35) at com.android.systemui.statusbar.notification.row.wrapper.NotificationViewWrapper.wrap(NotificationViewWrapper.java:131) at com.android.systemui.statusbar.notification.row.NotificationContentView.setContractedChild(NotificationContentView.java:499) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:641) at com.android.systemui.statusbar.notification.row.NotificationContentInflater.access$1400(NotificationContentInflater.java:67) at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:563) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5830) at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5738) at android.os.AsyncTask.finish(AsyncTask.java:771) at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:240) at android.os.Looper.loop(Looper.java:351) at android.app.ActivityThread.main(ActivityThread.java:8321) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1012) [ 2022-08-23T00:44:43.079 10212: 21886: 21886 I/LSPosed-Bridge ] Loading module com.fankes.coloros.notify from /data/app/~~oajdjDTo7-BYPOeRyziOLg==/com.fankes.coloros.notify-QeECcmLs6rBc_TIMrCWtLA==/base.apk [ 2022-08-23T00:44:43.085 10212: 21886: 21886 I/LSPosed-Bridge ] Loading class com.fankes.coloros.notify.hook.HookEntry_YukiHookXposedInit

    系统界面:https://wwd.lanzouy.com/inwUg0a1xgvc 密码:6ct3

    bug 
    opened by HapeLee 2
Releases(1.85)
Owner
Fankesyooni
Salted Fish
Fankesyooni
Icons, Borders, Radius ... for Android buttons

⚠️ This library was made years ago when it wasn't that easy to customize Android buttons like today. I highly recommend you to use Material Design but

Mehdi Sakout 1.8k Dec 10, 2022
Library to change Android launcher App Icon and App Name programmatically !

AppIconNameChanger Change Android App launcher Icon and App Name programmatically ! Download Demo APK from HERE Kindly use the following links to use

Prabhakar Thota 587 Dec 29, 2022
📲💬 react-native-fontext is a lightweight library to integrate fonts in your React Native application that works seamlessly in android and iOS devices.

React Native Fontext react-native-fontext is a lightweight library to integrate fonts in your React Native application that works seamlessly in androi

mroads 9 Dec 3, 2021
Matomo wrapper for React-Native. Supports Android and iOS. Fixed issues for native platforms build that are present in the official package.

@mccsoft/react-native-matomo Matomo wrapper for React-Native. Supports Android and iOS. Fixed issues for native platforms build that are present in th

MCC Soft 4 Dec 29, 2022
A monotone line-based icon pack for android

Arcticons (Arctic icons) is a line-based icon pack forked from Frost but rebuild with consistent sizing and adjustments specifically for lines in mind

Donno 413 Jan 2, 2023
Let third-party launcher always get themed icon in MIUI (Maybe also works for other Android based OS).

English 简体中文 Introduction This module can let third party launcher always use icons with MIUI/Flyme Themes. It may also work with other custom Android

Strawing 5 Sep 18, 2022
A Python native extension written in Kotlin Native

Kotlin Python Ext This is a proof of concept for a Python extension in Kotlin. It is recommended to read the Official Python C API Documentation befor

Martmists 20 Jun 22, 2022
Native-loader - Safely load native libraries in Java

Native Loader ??️ Safe native loading in Java based off of the native-loader use

Mixtape 1 Oct 19, 2022
React-native-user-interface - Change React Native userinterface at runtime

react-native-user-interface change RN userinterface at runtime. Installation npm

Ahmed Eid 0 Jan 11, 2022
Latihan Notification dengan NotificationBuilder, NotificatonManager, dan Penting Intent

Latihan-Background-Process-dan-Networking-4 Latihan Notification dengan NotificationBuilder, NotificatonManager, dan Penting Intent Codelab kali ini a

Ubean 0 Nov 23, 2021
A real time notification App which reminds its user with daily schedules

On Time Pro ⌚ A real time notification App which reminds its user with daily schedules, time-table ⌛ , due assignments ?? , regular classes with just

Elevate Lab 3 Feb 1, 2022
A small bot for gitlab notification

Welcome to gitty ?? A small bot for gitlab notification with integration on different platform Usage You gotta change variables in .env on your own do

Starchenko Ilya 1 Nov 2, 2022
🌄 Photo editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and PhotoEditor (Android)

React Native Photo Editor (RNPE) ?? Image editor using native modules for iOS and Android. Inherit from 2 available libraries, Brightroom (iOS) and Ph

Baron Ha. 242 Dec 28, 2022
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.

Ionic Ionic is an open source app development toolkit for building modern, fast, top-quality cross-platform native and Progressive Web Apps from a sin

Ionic 48.4k Jan 3, 2023
Initiate immediate phone call for React Native on iOS and Android.

react-native-immediate-call-library Initiate immediate phone call for React Native on iOS and Android. Getting started Using npm: npm install react-na

null 7 Sep 7, 2022
A 2020s compatible React Native keyboard avoiding view for Android and iOS that just works.

react-native-keyboard-shift Example Snack coming soon Until then: Clone this repo: git clone https://github.com/FullStackCraft/react-native-keyboard-s

Full Stack Craft 66 Aug 16, 2022
⚡️ A supercharged native Web View for iOS and Android ⚡️

⚡️ A supercharged native Web View for iOS and Android ⚡️ Ionic Portals is a supercharged native Web View component for iOS and Android that lets you a

Ionic 46 Dec 27, 2022
NativeScript empowers you to access native platform APIs from JavaScript directly. Angular, Capacitor, Ionic, React, Svelte, Vue and you name it compatible.

NativeScript empowers you to access native APIs from JavaScript directly. The framework currently provides iOS and Android runtimes for rich mobile de

NativeScript 22k Dec 31, 2022
CMPLR Technologies 8 Apr 5, 2022