Skip to content

Releases: Xposed-Modules-Repo/io.github.howard20181.notificationiconfix

1.6.7

03 Jun 08:45
Compare
Choose a tag to compare

Changelog

  • Fix performance degradation caused by reflection call
    In the previous version, ActivityThread.currentActivityThread().getSystemUiContext() was changed to reflection call, because in Android 16, the return type of getSystemUiContext() was changed from ContextImpl to Context but the method signature was kept the same, which made it impossible to call it in the form of hidden api stub and only reflection was allowed. Since there was no cache for the results, each call to createIcons or updateIcons required a reflection call, which caused a serious degradation in notification display performance.

1.6.6

03 Jun 06:59
Compare
Choose a tag to compare

Changelog

  • Fix Android 16 compatibility

1.6.5

01 Jun 16:59
Compare
Choose a tag to compare

Change log

  • Adjust the transparency tolerance of the detection icon to trim the icon to more accurately determine whether it is a grayscale icon
    isAbsolutelyAlpha -> isAlpha: Alpha channel tolerance 50 away from full transparency

1.6.4

27 May 21:02
Compare
Choose a tag to compare

Changelog

  • Fixed grayscale icon judgment errors for certain icon types that cannot be converted to a bitmap, such as GradientDrawable

1.6.3

13 May 10:50
Compare
Choose a tag to compare

Change log

  1. Reduce the transparent area before judging the grayscale icon to fix the grayscale icon judgment error in some cases
  2. Fix the problem that the processed media's small icon is always black
  3. Manually recycle some unused bitmaps instead of waiting for the system UI GC, which may be beneficial to performance, but not obvious
  4. Always replace notification icons with a resolution less than 48 × 48
  5. Fix the grayscale icon size limit calculation error, which was not converted according to the screen pixel density before

1.6.2

09 May 03:15
Compare
Choose a tag to compare

ChangeLog

  • Rolling back changes to fix grayscale icon determination
    image

There are no comments in the code. After a few months, I forgot about the bugs I had fixed. An insignificant modification is a building block that falls apart at the first touch.

1.6.1

08 May 08:51
Compare
Choose a tag to compare

Change log

  1. (HyperOS & MIUI based on Android 12+) Fix the occasional removal of icon background and padding
  2. (All) Fix the grayscale icon judgment error caused by the target size calculation of square bitmap compression being skipped (stupid mistake +1)
    image

Originally, I planned not to release 1.x updates before the next major version, but there are still many bugs.

1.6

01 May 11:22
Compare
Choose a tag to compare
1.6

Change log

  1. Processing media notification icons
  2. Support more MIUI versions
    The system UIs that are being adapted are:
fuxi_MIUI14.0.5.0_android14
fuxi_MIUI23.5.6_android14
fuxi_MIUI14.0.31_android13
fuxi_MIUI14.0.23.6.26_android13
cupid_MIUI13.0.21.0_android12
venus_MIUI13.0.4_android12
venus_MIUI12.5.1.0_android12
umi_OS1.0.5_android13
dipper_MIUI12.5.2.0_android10
houji all CN version
cepheus_MIUI12.5.6_android11
cepheus_OS2.0.1.2_android14

If you encounter a bug, please provide the system version number and Android version number to help fix it

  1. Minor bug fixes

The next version will try to add support for third-party notification icon packages. It is safer to release a version before major changes.

1.5

27 Feb 14:40
Compare
Choose a tag to compare
1.5

Changelog

  • (Revert) Modify the grayscale icon judgment threshold
  • (HyperOS and MIUI) Grayscale icon judgment does not exempt color icons with transparent areas pushed from MiPush
  • Fix the icon ratio issue when compressing the surrounding transparent area
  • Fix the icon being cut off when compressing the surrounding transparent area

1.4.1

20 Feb 15:31
Compare
Choose a tag to compare

Change log

  • Modify the grayscale icon judgment threshold
    image

  • Modify the icon inversion threshold
    image