am 84ec90cb: Fix for 2129239: Always enable the menu hard key in LockScreen when \'ro.monkey\' is set.

Merge commit '84ec90cbdf950bfa129c30d504f117178c3e3ade'

* commit '84ec90cbdf950bfa129c30d504f117178c3e3ade':
  Fix for 2129239: Always enable the menu hard key in LockScreen when 'ro.monkey' is set.
This commit is contained in:
Jim Miller
2009-10-12 11:24:13 -07:00
committed by Android Git Automerger

View File

@@ -30,6 +30,8 @@ import android.widget.*;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.media.AudioManager;
import android.os.SystemProperties;
import com.android.internal.telephony.IccCard;
import java.util.Date;
@@ -151,7 +153,8 @@ class LockScreen extends LinearLayout implements KeyguardScreen, KeyguardUpdateM
mCallback = callback;
mDisableMenuKeyInLockScreen = getResources()
.getBoolean(R.bool.config_disableMenuKeyInLockScreen);
.getBoolean(R.bool.config_disableMenuKeyInLockScreen)
&& !SystemProperties.getBoolean("ro.monkey", false);
mCreatedInPortrait = updateMonitor.isInPortrait();