Remove getBaseContext
Summary: We have getAndroidContext() instead. This will probably take a few iterations to land, but getting it out there so that I can try :) Reviewed By: muraziz Differential Revision: D12921523 fbshipit-source-id: 038ecf8c411fdbde6831051b219a43716007ac49
This commit is contained in:
committed by
Facebook Github Bot
parent
db42e8e970
commit
7b569a1692
@@ -135,8 +135,8 @@ public class RootComponentSpec {
|
||||
|
||||
@OnEvent(ClickEvent.class)
|
||||
static void openDiagnostics(final ComponentContext c) {
|
||||
Intent intent = new Intent(c.getBaseContext(), FlipperDiagnosticActivity.class);
|
||||
c.getBaseContext().startActivity(intent);
|
||||
Intent intent = new Intent(c.getAndroidContext(), FlipperDiagnosticActivity.class);
|
||||
c.getAndroidContext().startActivity(intent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user