Default disabled the lockscreen problem in android 4.4.2 system

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Default disabled the lockscreen problem in android 4.4.2 system

跳至解决方案
1,046 次查看
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 项奖励
1 解答
782 次查看
mrleo
Contributor IV

HI,all

I have solved this issue!

Thanks,

Leo

在原帖中查看解决方案

0 项奖励
2 回复数
782 次查看
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 项奖励
783 次查看
mrleo
Contributor IV

HI,all

I have solved this issue!

Thanks,

Leo

0 项奖励