mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Move URL escaping to Inspector layer
Reviewed By: Hypuk Differential Revision: D5967544 fbshipit-source-id: d741e6324aff7583778cb13c862505b61ca02a3d
This commit is contained in:
1 parent
eae4fe810f
commit
ef2e29f54c
4 files changed
+16
-11
No files matched your search
@@ -6,7 +6,6 @@ import static com.facebook.react.modules.systeminfo.AndroidInfoHelpers.getFriend
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.Application;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
import com.facebook.react.bridge.JSBundleLoader;
|
||||
@@ -266,8 +265,9 @@ public class ReactInstanceManagerBuilder {
|
||||
mUIImplementationProvider = new UIImplementationProvider();
|
||||
}
|
||||
|
||||
String appName = Uri.encode(mApplication.getPackageName());
|
||||
String deviceName = Uri.encode(getFriendlyDeviceName());
|
||||
// We use the name of the device and the app for debugging & metrics
|
||||
String appName = mApplication.getPackageName();
|
||||
String deviceName = getFriendlyDeviceName();
|
||||
|
||||
return new ReactInstanceManager(
|
||||
mApplication,
|
||||
|
||||
Reference in new issue
Block a user