Default disabled the lockscreen problem in android 4.4.2 system

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Default disabled the lockscreen problem in android 4.4.2 system

Jump to solution
993 Views
mrleo
Contributor IV

Hi all,

I found a problem in android 4.4.2 system on my custom imx6dl board.

When boot the system,I want to default disable the lockscreen.

I modify the code in path android_4.4/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java

below is the modifed code. Change mExternallyEnabled to false.

     /**

     * External apps (like the phone app) can tell us to disable the keygaurd.

     */

    private boolean mExternallyEnabled = false;//true

Then build the android system code.

After burn the new system imge to the board.

First boot the system the virtcul key recent key is can view,google browser app can open ok.

But reboot the system,or second boot the system, virtcul key recent key is disappear,home key is all not work ok, browser app can not open ok.

Open google  browser can found below errors:

--------- beginning of /dev/log/main

I/ActivityManager( 2578): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=3037 uid=10017 gids={50017, 3003, 1028, 1015, 1023}

E/ActivityThread( 3037): Failed to find provider info for com.google.settings

E/ActivityThread( 3037): Failed to find provider info for com.google.settings

W/InputMethodManagerService( 2578): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41caac50 attribute=null, token = android.os.BinderProxy@41da1578

Is this the freescale imx6 android 4.4.2_1.0.0-ga bsp BUG???

Have some one met this issues?

Please give me a help to solve this issues.

Thanks,

Leo

0 Kudos
1 Solution
729 Views
mrleo
Contributor IV

HI,all

I have solved this issue!

Thanks,

Leo

View solution in original post

0 Kudos
2 Replies
729 Views
conteczxy
Contributor III

Hi Leo,

How did you fix the problem, could you give your solution here?

I met the same problem as you, and my friend met it too, we are confused by it.

Thanks,

0 Kudos
730 Views
mrleo
Contributor IV

HI,all

I have solved this issue!

Thanks,

Leo

0 Kudos