How to disable the slide-lock screen?

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

How to disable the slide-lock screen?

3,330 次查看
YongJunChang
Contributor II

Hi all,

 

This is more like a general-android question, but hard to find the answer on Internet.

I'm developing an Android-based embedded system using i.MX53 QSB.

After done with my main application, I have been playing with an animated-boot logo.

But I cannot disable the slide-lock screen in Android.

I know some apps to disable this screen, but I wish to know how to do this in platform level.

 

Thanks in advance!

Yong

标签 (1)
标记 (2)
4 回复数

1,998 次查看
JohnsonZhang1z
Contributor I

An easier way:
in the root file default.prop, add a line in the last:
ro.FSL_REMOVE_KEYGUARD=1

it's OK.

0 项奖励
回复

1,999 次查看
YongJunChang
Contributor II

Great! It works like a charm. Thanks Bharathi.

Bharathi Subramanian said:

To permanently disable the slide-lock, modify the framework source code:

File: framework/base/policy/src/com/android/internal/policy/impl/KeyguardViewMediator.java
Function: doKeyguard()

In this function, comment the showLocked() call



0 项奖励
回复

1,999 次查看
BharathiSubrama
Contributor II

To permanently disable the slide-lock, modify the framework source code:

File: framework/base/policy/src/com/android/internal/policy/impl/KeyguardViewMediator.java
Function: doKeyguard()

In this function, comment the showLocked() call

1,999 次查看
JayZhang
Contributor I

I think you can refer the input subsystem, the button is the power button~~

0 项奖励
回复