Create AsyncDevSupportManager + associated classes

Summary:
This is the second step in creating a new DevSupportManager impl with more async-friendly APIs for bundle loading, which I'll use in bridgeless mode. This diff creates a new interface, AsyncDevSupportManager, and two implementations, mirroring what we currently have.

This new interface doesn't define any methods yet.

Changelog: [Android][Changed] Specify DevSupportManager.setPackagerLocationCustomizer in DevSupportManager impls

Reviewed By: mdvacca

Differential Revision: D19870812

fbshipit-source-id: 042a43e1a3055aba6d7325f948060300b5bf17f3
This commit is contained in:
Emily Janzer
2020-02-27 12:14:58 -08:00
committed by Facebook Github Bot
parent 3f13c9abe6
commit 506e3a208e
2 changed files with 3 additions and 2 deletions
@@ -1227,7 +1227,8 @@ public abstract class DevSupportManagerBase
}
@Override
public void setPackagerLocationCustomizer(PackagerLocationCustomizer packagerLocationCustomizer) {
public void setPackagerLocationCustomizer(
DevSupportManager.PackagerLocationCustomizer packagerLocationCustomizer) {
mPackagerLocationCustomizer = packagerLocationCustomizer;
}
}
@@ -153,7 +153,7 @@ public class DisabledDevSupportManager implements DevSupportManager {
@Override
public void setPackagerLocationCustomizer(
PackagerLocationCustomizer packagerLocationCustomizer) {}
DevSupportManager.PackagerLocationCustomizer packagerLocationCustomizer) {}
@Override
public void handleException(Exception e) {