(Map<String, String> params)
| 61 | } |
| 62 | |
| 63 | private void onFile(Map<String, String> params) { |
| 64 | String path = params.get("path"); |
| 65 | if (TextUtils.isEmpty(path)) return; |
| 66 | if (path.endsWith(".apk")) FileUtil.openFile(Path.local(path)); |
| 67 | else if (path.endsWith(".srt") || path.endsWith(".ssa") || path.endsWith(".ass")) RefreshEvent.subtitle(path); |
| 68 | else ServerEvent.setting(path); |
| 69 | } |
| 70 | |
| 71 | private void onPush(Map<String, String> params) { |
| 72 | String url = params.get("url"); |