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:
committed by
The Android Open Source Project
parent
3547cc0124
commit
ff51fe211d
@@ -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