[Galaxy S 4 Developer Discussion [Developers-Only]] broodplank1337:
Oh ok nice, I actually thought you had that working already since it was pretty easy to find :P

Nice that you found it! the isSecure string returned this for me:

broodplank@Bulldozer /media/broodplank/linuxdata/AOSP-KK/frameworks/base/packages $ grep -r 'isSecure' ../Keyguard/src/com/android/keyguard/KeyguardService.java: public boolean isSecure() {
./Keyguard/src/com/android/keyguard/KeyguardService.java: return mKeyguardViewMediator.isSecure();
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: mShowing = (mUpdateMonitor.isDeviceProvisioned() || mLockPatternUtils.isSecure())
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: mLockPatternUtils.getPowerButtonInstantlyLocks() || !mLockPatternUtils.isSecure();
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: if (mScreenOn && mLockPatternUtils.isSecure()) {
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: public boolean isSecure() {
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: return mLockPatternUtils.isSecure()
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: if (isSecure() || !ENABLE_INSECURE_STATUS_BAR_EXPAND) {
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: if (isSecure()) {
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: + " isSecure=" + isSecure() + " --> flags=0x" + Integer.toHexString(flags));
./Keyguard/src/com/android/keyguard/KeyguardViewMediator.java: return mKeyguardDonePending || !isSecure();
./Keyguard/src/com/android/keyguard/KeyguardActivityLauncher.java: if (lockPatternUtils.isSecure()) {
./Keyguard/src/com/android/keyguard/KeyguardActivityLauncher.java: boolean isSecure = lockPatternUtils.isSecure();
./Keyguard/src/com/android/keyguard/KeyguardActivityLauncher.java: if (!isSecure || showsWhileLocked) {
./Keyguard/src/com/android/keyguard/KeyguardActivityLauncher.java: if (!isSecure) {
./Keyguard/src/com/android/keyguard/KeyguardActivityLauncher.java: return getLockPatternUtils().isSecure() ? SECURE_CAMERA_INTENT : INSECURE_CAMERA_INTENT;
./Keyguard/src/com/android/keyguard/EmergencyButton.java: enabled = mLockPatternUtils.isSecure();
./Keyguard/src/com/android/keyguard/KeyguardSelectorView.java: boolean secureCameraDisabled = mLockPatternUtils.isSecure()
./Keyguard/test/src/com/android/keyguard/test/KeyguardTestActivity.java: public boolean isSecure() {
./SystemUI/src/com/android/systemui/statusbar/phone/KeyguardTouchDelegate.java: public boolean isSecure() {
./SystemUI/src/com/android/systemui/statusbar/phone/KeyguardTouchDelegate.java: return service.isSecure();
./SystemUI/src/com/android/systemui/statusbar/phone/KeyguardTouchDelegate.java: Slog.e(TAG, "RemoteException calling keyguard.isSecure()!", e);
./SystemUI/src/com/android/systemui/statusbar/phone/KeyguardTouchDelegate.java: Slog.w(TAG, "isSecure(): NO SERVICE!");
./SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java: && KeyguardTouchDelegate.getInstance(getContext()).isSecure();

Great!

Also good that you know where to look for the camera part, I also have that, I don't know the fix directly but atleast I always know where to look (that differ a lot from not having a clue whatsoever). And you're welcome, programming is indeed a subject that can only be discussed with people that are a programmer. people who are not will either not get it at all or totally overflow immediately by the amount of "unknown" information they have heard just now hehe

I'm always active in this forum so if you open up a new thread ill be there :p