More prep for ComponentContext not extending Context
Summary: Per title Reviewed By: astreet Differential Revision: D12839032 fbshipit-source-id: c69805fd68a6530d1e56edad3bb5edf4089ee98a
This commit is contained in:
committed by
Facebook Github Bot
parent
81ef493a23
commit
f3833a6e5a
@@ -135,8 +135,8 @@ public class RootComponentSpec {
|
||||
|
||||
@OnEvent(ClickEvent.class)
|
||||
static void openDiagnostics(final ComponentContext c) {
|
||||
Intent intent = new Intent(c, FlipperDiagnosticActivity.class);
|
||||
c.startActivity(intent);
|
||||
Intent intent = new Intent(c.getBaseContext(), FlipperDiagnosticActivity.class);
|
||||
c.getBaseContext().startActivity(intent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user