qwerty12 / NFCLockscreenoffEnabler

An Xposed Mod to ensure NFC remains enabled when the phone screen is off, or if you're at the lockscreen
GNU General Public License v3.0
14 stars 22 forks source link

Hi , do not support android5.0 with xposed 3.0 alpha2 #3

Open 0987363 opened 9 years ago

0987363 commented 9 years ago

rt do not support android5.0 with xposed 3.0 alpha2

SneakyWhoami commented 9 years ago

04-19 20:32:46.456 E/Xposed (1858): java.lang.NoSuchMethodError: com.android.nfc.NfcService#checkScreenState()#bestmatch

Uhh in nfcservice theres a thing like this in nfcservice: Public NfcService(Application nfcApplication) { ... mContext = nfcApplication; ... mScreenStateHelper = new ScreenStateHelper(mContext); ... mScreenState = mScreenStateHelper.checkScreenState(); ... }

Anyway, so doesnt work in android because they moved the interrogation function to another object, right? All the constants appear to be named the same so hopefully just a matter of renaming and relinking?

either way, beyond me as i dont speak java. But the problem is a wee change in lollipop's nfc thingy and i bet the nfc lockscreen enabler dev(/s?) Can handle it :-)