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:
Ian Childs
2018-11-07 04:17:55 -08:00
committed by Facebook Github Bot
parent db42e8e970
commit 7b569a1692
2 changed files with 4 additions and 4 deletions

View File

@@ -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);
}
}