This commit is contained in:
FongMi 2023-05-01 22:31:02 +08:00
parent f8deea72c6
commit 6c38111a5d
4 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,9 @@
package com.github.catvod.ali;
import android.app.AlertDialog;
import android.content.ComponentName;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.os.SystemClock;
@ -446,6 +448,9 @@ public class API {
dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
Init.execute(() -> startService(data.getParams()));
Init.show("請使用阿里雲盤 App 掃描二維碼");
Intent intent = new Intent().setComponent(new ComponentName(Init.context(), "com.alicloud.databox.biz.scan.CustomizeCaptureActivity"));
intent.putExtra("qr_scan_result", data.getCodeContent());
Init.getActivity().startActivity(intent);
} catch (Exception ignored) {
}
}

Binary file not shown.

View File

@ -1 +1 @@
9eb909e7a180e28b617c5fd15bda5b22
1e723507eaf6289101e308debe054c74

View File

@ -1,5 +1,5 @@
{
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;9eb909e7a180e28b617c5fd15bda5b22",
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar",
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
"sites": [
{