Default disabled the lockscreen problem in android 4.4.2 system

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Default disabled the lockscreen problem in android 4.4.2 system

ソリューションへジャンプ
991件の閲覧回数
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 解決策
727件の閲覧回数
mrleo
Contributor IV

HI,all

I have solved this issue!

Thanks,

Leo

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
727件の閲覧回数
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 件の賞賛
728件の閲覧回数
mrleo
Contributor IV

HI,all

I have solved this issue!

Thanks,

Leo

0 件の賞賛