How to disable the slide-lock screen?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable the slide-lock screen?

1,467 Views
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

Labels (1)
4 Replies

135 Views
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 Kudos

135 Views
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 Kudos

135 Views
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

135 Views
JayZhang
Contributor I

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

0 Kudos