suraj0208 / WhatsappExtensions

Xposed module for WhatsApp
Apache License 2.0
100 stars 34 forks source link

fix nougat #37

Closed Jasi2169 closed 5 years ago

Jasi2169 commented 6 years ago

fix nougat issue

Jasi2169 commented 6 years ago

i only made this change and it worked fine because i believe people will come to mainactivity which will be the last activity to be paused or destroyed

rather then writing same code you can call this function anytime to make changes to prefs by passing context

public void makeread(Context c){ c.getpackagename bla bla

but that is not rerquired

Jasi2169 commented 6 years ago

@suraj0208 did you compiled it ? my nougat fix is working fine

many modules are broken and my one line is fixing it i am modifying many modules privately myself all working fine

suraj0208 commented 6 years ago

I'm trying it. I'll get back to you.

Edit: There is LockPreferenceService which opens shared preferences with mode_private how to address this problem? The service is used for permanent archive, lock etc.

Edit1: Currently I'm doing a chmod via su in LockPreferenceService . Its working for me but not for some users. I'll push the code to a new branch. https://github.com/suraj0208/WhatsappExtensions/tree/nougat_fix

climatesultan commented 6 years ago

I am getting error with the custom wallpaper, it works untill selection of image and croping it. But when I click done it just crashes.!! And also the lock is not working now