Files
android_multiviewwer/app
lun_admin 48d279afc2 refactor: Task 8 완료 - 공용 NetworkClient(OkHttpClient) 도입 및 Response.use/예외 처리 보강
- utils/NetworkClient.kt 신규 생성: ConnectionPool(5, 60s) 및 타임아웃(30s)이 설정된 공용 OkHttpClient 싱글톤 제공
- ForeGroundService.kt:
  * sendToI(msg)와 sendToI(boolean)의 중복 OkHttp 호출을 단일 sendToI(msg)로 통합
  * serviceScope.launch(Dispatchers.IO) 사용 및 try-catch + Response.use {} 적용으로 커넥션/예외 누수 방지
- PlayerActivity.kt downloadSubtitle(): 매 호출 OkHttpClient() 신규 생성 제거, NetworkClient.client 및 Response.use {} 적용
- 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (3s)
2026-11-16 11:16:47 +09:00
..
..
2026-02-24 18:04:59 +09:00
..
2024-08-12 17:02:52 +09:00
2024-09-12 15:23:03 +09:00
..
2024-08-12 17:02:52 +09:00