修复短视频的bug

main
Matthew 9 months ago
parent 2d20f877c3
commit 8fae024a01

@ -604,7 +604,9 @@ public class DeviceActivity extends AppCompatActivity {
final String cmd = "content update --uri content://" + PACKAGE_NAME_MP + ".provider/takeVideo --bind path:s:\""
+ remoteFilePath + "\" --bind usb:b:" + usb + " --bind cameraId:i:" + Integer.toString(cameraId) + " --bind channel:i:"
+ Integer.toString(channel) + " --bind preset:i:" + Integer.toString(preset) + " --bind leftTopOsd:s:" + Base64.encodeToString(leftTopOsdBytes, Base64.DEFAULT | Base64.NO_WRAP) + "";
+ Integer.toString(channel) + " --bind preset:i:" + Integer.toString(preset) + " --bind duration:i:" + Integer.toString(duration)
+ " --bind videoId:l:" + Long.toString(dt.getTime() / 1000) + " --bind width:i:" + Integer.toString(width) + " --bind height:i:"
+ Integer.toString(height) + " --bind leftTopOsd:s:" + Base64.encodeToString(leftTopOsdBytes, Base64.DEFAULT | Base64.NO_WRAP) + "";
// adbShellResponse = null;

Loading…
Cancel
Save