luckybilly / CC

业界首个支持渐进式组件化改造的Android组件化开源框架,支持跨进程调用。Componentize your android project gradually.
https://luckybilly.github.io/CC-website/
Apache License 2.0
4.04k stars 636 forks source link

有几处log不受标志位控制关不掉 #155

Closed Simon1121 closed 4 years ago

Simon1121 commented 4 years ago

class SubProcessCCInterceptor implements ICCInterceptor

service.call(remoteCC, new IRemoteCallback.Stub() { @Override public void callback(RemoteCCResult remoteCCResult) throws RemoteException { try { if (CC.VERBOSE_LOG) { CC.verboseLog(cc.getCallId(), "receive RemoteCCResult from process:%s, RemoteCCResult: %s" , processName, remoteCCResult.toString()); } setResult(remoteCCResult.toCCResult()); } catch(Exception e) { e.printStackTrace(); setResult(CCResult.error(CCResult.CODE_ERROR_REMOTE_CC_DELIVERY_FAILED)); } } }); } catch (DeadObjectException e) { RemoteCCService.remove(processName); connectionCache.remove(processName); call(remoteCC); } catch (Exception e) { e.printStackTrace(); setResult(CCResult.error(CCResult.CODE_ERROR_REMOTE_CC_DELIVERY_FAILED)); }

luckybilly commented 4 years ago

@Simon1121 你好,2.1.6版已作了相关优化