Code Monkey home page Code Monkey logo

Comments (5)

l4v3nx avatar l4v3nx commented on August 15, 2024

btw rom:arrow os 12.1 device: poco x3 pro (vayu)

from pixelxpert.

siavash79 avatar siavash79 commented on August 15, 2024

Can you please share some data with me:

Which battery style did you select?

Did the style work correctly or did you experience any visible problems?

Had you changed your battery style during the last systemUI restart and finding this error message?

from pixelxpert.

l4v3nx avatar l4v3nx commented on August 15, 2024

This error appears while booting and when i try to change battery style icon. And after that systemui crashes (i don't think that this is systemui reboot, because if i enable percentage, it doesn't reboot) and gives another error:
[ 2022-04-25T06:43:00.385 10102: 14582: 14582 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'void sh.siava.AOSPMods.Utils.batteryStyles.BatteryDrawable.setShowPercent(boolean)' on a null object reference
at sh.siava.AOSPMods.systemui.BatteryStyleManager.refreshBatteryIcons(BatteryStyleManager.java:127)
at sh.siava.AOSPMods.systemui.BatteryStyleManager.updatePrefs(BatteryStyleManager.java:119)
at sh.siava.AOSPMods.XPrefs.loadEverything(XPrefs.java:43)
at sh.siava.AOSPMods.XPrefs.lambda$static$0(XPrefs.java:21)
at sh.siava.AOSPMods.XPrefs$$ExternalSyntheticLambda0.onSharedPreferenceChanged(Unknown Source:0)
at com.crossbowffs.remotepreferences.RemotePreferences$PreferenceContentObserver.onChange(RemotePreferences.java:522)
at android.database.ContentObserver.onChange(ContentObserver.java:169)
at android.database.ContentObserver.onChange(ContentObserver.java:187)
at android.database.ContentObserver.onChange(ContentObserver.java:202)
at android.database.ContentObserver.lambda$dispatchChange$0$ContentObserver(ContentObserver.java:282)
at android.database.ContentObserver$$ExternalSyntheticLambda0.run(Unknown Source:10)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7870)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Upd: this error comes when i try to change icon from default: sysui chashes and give error above

from pixelxpert.

l4v3nx avatar l4v3nx commented on August 15, 2024

Just checked lsposed logs and saw this error

Screenshot_20220424-191629_LSPosed LSPosed_2022-04-24T19_10_14.959.zip

And this error comes after rebooting with default icon

from pixelxpert.

siavash79 avatar siavash79 commented on August 15, 2024

Fixed in 66af461

from pixelxpert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.