mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Fixed the file implementations, they weren't using a mode, and the base path was always set to /tmp/.
We now get the systems idea of where the users download folder is and use that as the base path when receiving a file. PiperOrigin-RevId: 406406731
This commit is contained in:
committed by
Copybara-Service
parent
acf516189b
commit
44fad7d8fb
@@ -105,7 +105,7 @@ ExceptionOr<ByteArray> BluetoothSocket::BluetoothInputStream::Read(
|
||||
|
||||
Buffer buffer = Buffer(size);
|
||||
|
||||
winrt_stream_.ReadAsync(buffer, size, InputStreamOptions::None).get();
|
||||
winrt_stream_.ReadAsync(buffer, size, InputStreamOptions::Partial).get();
|
||||
|
||||
DataReader dataReader = DataReader::FromBuffer(buffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user