NullMark newly added files in //device/bluetooth
Bug: 389129271 Change-Id: I2ca34b451c277a07b338e7a79edfc9d6a2930458 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6394713 Owners-Override: Mohamed Heikal <mheikal@chromium.org> Auto-Submit: Mohamed Heikal <mheikal@chromium.org> Reviewed-by: Martin Kong <martinkong@google.com> Commit-Queue: Martin Kong <martinkong@google.com> Cr-Commit-Position: refs/heads/main@{#1438343}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
fcb426ffb5
commit
c73add4724
device/bluetooth/android/java/src/org/chromium/device/bluetooth
@ -9,6 +9,7 @@ import androidx.annotation.VisibleForTesting;
|
||||
import org.jni_zero.CalledByNative;
|
||||
|
||||
import org.chromium.base.Log;
|
||||
import org.chromium.build.annotations.NullMarked;
|
||||
import org.chromium.device.bluetooth.wrapper.BluetoothSocketWrapper;
|
||||
import org.chromium.device.bluetooth.wrapper.ThreadUtilsWrapper;
|
||||
|
||||
@ -25,6 +26,7 @@ import java.io.OutputStream;
|
||||
*
|
||||
* <p>Lifetime is controlled by device::BluetoothSocketAndroid.
|
||||
*/
|
||||
@NullMarked
|
||||
public class ChromeBluetoothSocket {
|
||||
private static final String TAG = "Bluetooth";
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class Outcome<T> {
|
||||
private @Nullable Exception mException;
|
||||
|
||||
/** Creates an Outcome with the given result. */
|
||||
Outcome(T result) {
|
||||
Outcome(@Nullable T result) {
|
||||
mResult = result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user