From 04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc Mon Sep 17 00:00:00 2001 From: Wink Saville <> Date: Thu, 2 Apr 2009 11:00:54 -0700 Subject: AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger. Automated import of CL 144245 --- .../internal/policy/impl/LockPatternKeyguardViewTest.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tests/framework-tests/src') 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); -- cgit v1.1