summaryrefslogtreecommitdiffstats
path: root/tests/framework-tests/src
diff options
context:
space:
mode:
authorWink Saville <>2009-04-02 11:00:54 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-02 11:00:54 -0700
commit04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc (patch)
tree1e96e55835f059a7b4b7b89a62ca0a9d7f0a5c17 /tests/framework-tests/src
parent3afdd56470d6d4dcb20fe0f68ec9e54a167a9d74 (diff)
downloadframeworks_base-04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc.zip
frameworks_base-04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc.tar.gz
frameworks_base-04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc.tar.bz2
AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.
Automated import of CL 144245
Diffstat (limited to 'tests/framework-tests/src')
-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);