Skip to content

Commit

Permalink
refactor(android): 移除不必要的日志输出
Browse files Browse the repository at this point in the history
- 注释掉了 ReactNativeBlobUtilReq.java 中的几个 RNLog.w() 调用
- 这些日志输出主要用于调试,现在已不再需要
  • Loading branch information
jeff-cc committed Dec 17, 2024
1 parent 39fc6d1 commit 1cb6ef1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ public void run() {
Context appCtx = ReactNativeBlobUtilImpl.RCTContext.getApplicationContext();
String t123 = String.valueOf(options.addAndroidDownloads.hasKey("storeLocal"));
String t1234 = String.valueOf(options.addAndroidDownloads.getBoolean("storeLocal"));
RNLog.w(ReactNativeBlobUtilImpl.RCTContext, t123);
RNLog.w(ReactNativeBlobUtilImpl.RCTContext, t1234);
// RNLog.w(ReactNativeBlobUtilImpl.RCTContext, t123);
// RNLog.w(ReactNativeBlobUtilImpl.RCTContext, t1234);
// use download manager instead of default HTTP implementation
if (options.addAndroidDownloads != null && options.addAndroidDownloads.hasKey("useDownloadManager")) {

Expand Down Expand Up @@ -279,7 +279,7 @@ public void run() {


if (options.addAndroidDownloads.hasKey("storeLocal") && options.addAndroidDownloads.getBoolean("storeLocal")) {
RNLog.w(ReactNativeBlobUtilImpl.RCTContext, "a");
// RNLog.w(ReactNativeBlobUtilImpl.RCTContext, "a");
String path = (String) ReactNativeBlobUtilFS.getSystemfolders(ReactNativeBlobUtilImpl.RCTContext).get("DownloadDir");
path = path + UUID.randomUUID().toString();

Expand Down

0 comments on commit 1cb6ef1

Please sign in to comment.