Test
This commit is contained in:
parent
78de6ce8cb
commit
e8665d1d71
|
|
@ -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.
|
|
@ -1 +1 @@
|
|||
9eb909e7a180e28b617c5fd15bda5b22
|
||||
1e723507eaf6289101e308debe054c74
|
||||
|
|
|
|||
Loading…
Reference in New Issue