summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothCodecConfig.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2019-02-28 12:06:45 -0700
committerJeff Sharkey <jsharkey@android.com>2019-02-28 23:29:04 -0700
commit13613a3f176ab3e10367685367443dddeee77db5 (patch)
treeb79eedb5189dcf0660b938b1b7f3b00af8d898ed /framework/java/android/bluetooth/BluetoothCodecConfig.java
parentef1bb7544282711a03959fb9187af95229b9f228 (diff)
All Parcelable CREATOR fields are @NonNull.
If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothCodecConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothCodecConfig.java b/framework/java/android/bluetooth/BluetoothCodecConfig.java
index c9d0ef247c..591c418c93 100644
--- a/framework/java/android/bluetooth/BluetoothCodecConfig.java
+++ b/framework/java/android/bluetooth/BluetoothCodecConfig.java
@@ -247,7 +247,7 @@ public final class BluetoothCodecConfig implements Parcelable {
return 0;
}
- public static final Parcelable.Creator<BluetoothCodecConfig> CREATOR =
+ public static final @android.annotation.NonNull Parcelable.Creator<BluetoothCodecConfig> CREATOR =
new Parcelable.Creator<BluetoothCodecConfig>() {
public BluetoothCodecConfig createFromParcel(Parcel in) {
final int codecType = in.readInt();