|
@@ -44,17 +44,19 @@ public class BaseActionActivity extends BaseActivity {
|
|
|
Intent intent = new Intent("android.intent.action.CALL_PRIVILEGED", Uri.parse("tel:" + callNumber));
|
|
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
|
startActivity(intent);
|
|
|
+ finish();
|
|
|
}
|
|
|
|
|
|
- public void onVideo(String userId) {
|
|
|
- Log.d(TAG, "onVideo: ");
|
|
|
- String pkg = "com.xplora.xpvideo";
|
|
|
+ public void videoAction(String userId) {
|
|
|
+ Log.d(TAG, "videoAction: ");
|
|
|
+ String pkg = "com.sikey.skvideo";
|
|
|
String cls = pkg + ".activity.MainActivity";
|
|
|
ComponentName componet = new ComponentName(pkg, cls);
|
|
|
Intent intent = new Intent();
|
|
|
- intent.putExtra("ExtraVideoType", 1); //0:呼入 1:呼出
|
|
|
+ intent.putExtra("ExtraVideoType", 1); //1:呼出 2:呼入
|
|
|
intent.putExtra("ExtraVideoTargetId", userId);
|
|
|
intent.setComponent(componet);
|
|
|
startActivity(intent);
|
|
|
+ finish();
|
|
|
}
|
|
|
}
|