LoginManager's context and loginLogger both hold a reference to the activity starting the login. This activity is leaked if the login process is canceled. It is also leaked if finishLogin() is never called, e.g. when the device's configuration/orientation is changed. finishLogin() only nulls out context and loginLogger in case of a successful login. This commit updates LoginManager and AppEventsLogger, so that it is not required anymore to hold a reference to the activity starting the login.
Summary: Added project_config to sdk so that IntelliJ indexes classes in the sdk. Makes it easier to use the sdk module in IntelliJ - especially when using auto imports. Removed facebook/libs symlink since it breaks buck project. Test Plan: Open project in IntelliJ Verify sdk module does not appear in project structure -- buck project Verify sdk module appears in IntelliJ -- gradle test