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:
committed by
The Android Open Source Project
parent
d7f347bdc8
commit
79ad626231
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user