commit | 412c0f0b67d29d12b4cd43672e2e0de9cd8d198d | [log] [tgz] |
---|---|---|
author | Seungjae Yoo <seungjaeyoo@google.com> | Tue Jul 16 13:05:48 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 16 13:05:48 2024 +0000 |
tree | 9c9e8b5d2b03020053293367c33c561a92a25420 | |
parent | f8dd53eb64996e43ddac2ea81afea6fea265db17 [diff] | |
parent | 5f41c00906602d1f36bf018503f2d828cde85619 [diff] |
Merge "VmLauncherApp: Small fix for writing \0 in the end of clipboard text" into main am: 5f41c00906 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/3175381 Change-Id: I850b32580dbc1d3f7cc4f7142d4e5552242da4be Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/vmlauncher_app/java/com/android/virtualization/vmlauncher/MainActivity.java b/vmlauncher_app/java/com/android/virtualization/vmlauncher/MainActivity.java index 4980e55..8bb0fd4 100644 --- a/vmlauncher_app/java/com/android/virtualization/vmlauncher/MainActivity.java +++ b/vmlauncher_app/java/com/android/virtualization/vmlauncher/MainActivity.java
@@ -553,6 +553,7 @@ try (OutputStream stream = new AutoCloseOutputStream(pfd)) { stream.write(header); stream.write(text.getBytes()); + stream.write('\0'); stream.flush(); Log.d(TAG, "successfully wrote clipboard data to the VM"); return true;