AnsweredAssumed Answered

Default disabled the lockscreen  problem in android 4.4.2 system

Question asked by mrleo on Oct 16, 2015
Latest reply on Nov 1, 2015 by Xiyuan Zhou

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

Outcomes