mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-13 09:21:46 +08:00
Move URL escaping to Inspector layer
Reviewed By: Hypuk Differential Revision: D5967544 fbshipit-source-id: d741e6324aff7583778cb13c862505b61ca02a3d
This commit is contained in:
committed by
Facebook Github Bot
parent
eae4fe810f
commit
ef2e29f54c
@@ -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