summaryrefslogtreecommitdiffstats
path: root/tests/framework-tests
diff options
context:
space:
mode:
authorWink Saville <>2009-04-02 01:37:02 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-02 01:37:02 -0700
commit767a662ecde33c3979bf02b793d392aca0403162 (patch)
treef55548c33a8267c39acc60f72051f9856e95e672 /tests/framework-tests
parente9c08056fafab720856ab8516ea0e623a5c0e360 (diff)
downloadframeworks_base-767a662ecde33c3979bf02b793d392aca0403162.zip
frameworks_base-767a662ecde33c3979bf02b793d392aca0403162.tar.gz
frameworks_base-767a662ecde33c3979bf02b793d392aca0403162.tar.bz2
AI 144185: Integrate cdma into the main code base.
Automated import of CL 144185
Diffstat (limited to 'tests/framework-tests')
-rw-r--r--tests/framework-tests/src/com/android/internal/policy/impl/LockPatternKeyguardViewTest.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/framework-tests/src/com/android/internal/policy/impl/LockPatternKeyguardViewTest.java b/tests/framework-tests/src/com/android/internal/policy/impl/LockPatternKeyguardViewTest.java
index 0368651..fd05fed 100644
--- a/tests/framework-tests/src/com/android/internal/policy/impl/LockPatternKeyguardViewTest.java
+++ b/tests/framework-tests/src/com/android/internal/policy/impl/LockPatternKeyguardViewTest.java
@@ -17,8 +17,7 @@
package com.android.internal.policy.impl;
import android.content.Context;
-
-import com.android.internal.telephony.SimCard;
+import com.android.internal.telephony.IccCard;
import android.test.AndroidTestCase;
import android.view.View;
import android.view.KeyEvent;
@@ -39,7 +38,7 @@ public class LockPatternKeyguardViewTest extends AndroidTestCase {
private static class MockUpdateMonitor extends KeyguardUpdateMonitor {
- public SimCard.State simState = SimCard.State.READY;
+ public IccCard.State simState = IccCard.State.READY;
public boolean inPortrait = false;
public boolean keyboardOpen = false;
@@ -48,7 +47,7 @@ public class LockPatternKeyguardViewTest extends AndroidTestCase {
}
@Override
- public SimCard.State getSimState() {
+ public IccCard.State getSimState() {
return simState;
}
@@ -339,7 +338,7 @@ public class LockPatternKeyguardViewTest extends AndroidTestCase {
public void testMenuDoesntGoToUnlockScreenOnWakeWhenPukLocked() {
// PUK locked
- mUpdateMonitor.simState = SimCard.State.PUK_REQUIRED;
+ mUpdateMonitor.simState = IccCard.State.PUK_REQUIRED;
// wake by menu
mLPKV.wakeWhenReadyTq(KeyEvent.KEYCODE_MENU);