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

Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 144107
This commit is contained in:
Brett Chabot
2009-04-02 09:56:38 -07:00
committed by The Android Open Source Project
parent 3547cc0124
commit ff51fe211d

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;