Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zigbye82 - Indicator disappears on doing adjust settings and reboot #35

Closed
ADTC opened this issue Aug 19, 2014 · 1 comment
Closed

zigbye82 - Indicator disappears on doing adjust settings and reboot #35

ADTC opened this issue Aug 19, 2014 · 1 comment

Comments

@ADTC
Copy link
Collaborator

ADTC commented Aug 19, 2014

I had an issue in version 0.9 whenever i enabled bold or italic options (only these options) and reboot the net meter would disappear. I would have to uncheck bold or italic and reboot for the meter to come back.
In version1.0 if i adjust any of the settings and reboot the meter disappears. It comes back if i reset default settings.
I wiped data but the problem is still there.

Log file

Loading Xposed v54 (for Zygote)...
Running ROM 'GINGERBREAD' with fingerprint 'samsung/GT-S5360/GT-S5360:2.3.6/GINGERBREAD/XWKTN:user/release-keys'
Loading modules from /system/app/tw.fatminmin.xposed.networkspeedindicator.apk
  Loading class tw.fatminmin.xposed.networkspeedindicator.Module
de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.systemui.statusbar.policy.Clock
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
    at tw.fatminmin.xposed.networkspeedindicator.Module.handleLoadPackage(Module.java:62)
...
Caused by: java.lang.ClassNotFoundException: com.android.systemui.statusbar.policy.Clock
...
Caused by: java.lang.NoClassDefFoundError: com.android.systemui.statusbar.policy.Clock
...
Caused by: java.lang.ClassNotFoundException: com.android.systemui.statusbar.policy.Clock in loader dalvik.system.PathClassLoader[/system/app/SystemUI.apk]
...
java.lang.ClassCastException: java.lang.String
    at de.robv.android.xposed.XSharedPreferences.getStringSet(XSharedPreferences.java:171)
    at tw.fatminmin.xposed.networkspeedindicator.widget.TrafficView.loadPreferences(TrafficView.java:462)
    at tw.fatminmin.xposed.networkspeedindicator.widget.TrafficView.<init>(TrafficView.java:68)
    at tw.fatminmin.xposed.networkspeedindicator.Module$3.handleLayoutInflated(Module.java:151)
@ADTC ADTC changed the title zigbye82 - Indicator disappears on zigbye82 - Indicator disappears on doing adjust settings and reboot Aug 19, 2014
@ADTC ADTC added the bug label Aug 19, 2014
@ADTC
Copy link
Collaborator Author

ADTC commented Aug 19, 2014

Appears same issue as #32

@ADTC ADTC added the duplicate label Aug 19, 2014
ADTC added a commit that referenced this issue Aug 19, 2014
Older ROM does not have the new Clock class.
The error should be caught and ignored.
Issues #32 and #35
ADTC added a commit that referenced this issue Aug 19, 2014
* Resets all preferences on upgrade from a designated "incompatible
version" or older
* TrafficView falls back to default if preferences cannot load on
startup
Issues #31, #32, #35
@ADTC ADTC closed this as completed Aug 19, 2014
Repository owner locked and limited conversation to collaborators Mar 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant