AI 144098: am: CL 144093 Fix NPE in ActivityUnitTestCase.

Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 144098
This commit is contained in:
Brett Chabot
2009-04-01 15:15:33 -07:00
committed by The Android Open Source Project
parent d7f347bdc8
commit 79ad626231

View File

@@ -136,7 +136,7 @@ public abstract class ActivityUnitTestCase<T extends Activity>
ComponentName cn = new ComponentName(mActivityClass.getPackage().getName(),
mActivityClass.getName());
intent.setComponent(cn);
ActivityInfo info = null;
ActivityInfo info = new ActivityInfo();
CharSequence title = mActivityClass.getName();
mMockParent = new MockParent();
String id = null;