[Xposed Framework Modules] fabi280:
I think it could actually work if I'd use Stock AOSP and not Omni

-----------------
15.01.2014 21:56:44 UTC
Loading Xposed v42 (for Zygote)...
Loading modules from /data/app/net.treth.d.completekeyguarddisabler-1.apk
Loading class net.treth.d.completekeyguarddisabler.CompleteKeyguardDisabler
In package com.android.keyguard [4.4]
hooking method showLocked in class 'com.android.keyguard.KeyguardViewMediator'
hooking method showSecurityScreen in class 'com.android.keyguard.KeyguardViewHost'
de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.keyguard.KeyguardViewHost
at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:179)
at net.treth.d.completekeyguarddisabler.CompleteKeyguardDisabler.handleLoadPackage(CompleteKeyguardDisabler.java:37)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:202)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:527)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.android.keyguard.KeyguardViewHost
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:50)
... 19 more
Caused by: java.lang.NoClassDefFoundError: com/android/keyguard/KeyguardViewHost
... 23 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.keyguard.KeyguardViewHost" on path: DexPathList[[zip file "/system/priv-app/Keyguard.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
... 23 more
Not locking the screen
Not locking the screen
Not locking the screen
Not locking the screen
Not locking the screen

I've noticed that effect also on the Active Display feature of the rom. I guess they have fixed it...

Take a look at this:

https://github.com/omnirom/android_...r/policy/activedisplay/ActiveDisplayView.java

Line 675

private void unlockKeyguardActivity() {
try {
// The intent we are sending is for the application, which
// won't have permission to immediately start an activity after
// the user switches to home. We know it is safe to do at this
// point, so make sure new activity switches are now allowed.
ActivityManagerNative.getDefault().resumeAppSwitches();
// Also, notifications can be launched from the lock screen,
// so dismiss the lock screen when the activity starts.
ActivityManagerNative.getDefault().dismissKeyguardOnNextActivity();
} catch (RemoteException e) {
}
handleForceHideNotificationView();
}

I guess this could help

This was the change that fixed it - at least I'm thinking that it would be: https://github.com/omnirom/android_frameworks_base/commit/72642b27a90bc760ee803c40a15c164a6a2ffa1c

Look at Line 645-660