diff options
| author | Jack He <siyuanh@google.com> | 2017-08-22 16:06:54 -0700 |
|---|---|---|
| committer | Jack He <siyuanh@google.com> | 2017-08-24 19:09:48 +0000 |
| commit | a355e5efaf45a534ee6437aa4bae7d30f18c0ec2 (patch) | |
| tree | fbc120fa95a5cc0c3d1936a955e09d356f2d029b /core/java/android/bluetooth/BluetoothMasInstance.java | |
| parent | b09cf3fbf1c7e340bc06e8aba06461d4a0bae457 (diff) | |
Fix checkstyle errors (1/2)
* Automatic style corrections through IDE
Bug: 63596319
Test: make checkbuild, no manual changes, no functional changes
Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
Diffstat (limited to 'core/java/android/bluetooth/BluetoothMasInstance.java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothMasInstance.java | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/core/java/android/bluetooth/BluetoothMasInstance.java b/core/java/android/bluetooth/BluetoothMasInstance.java index 4459e2c44bdc..8447282d3e7b 100644 --- a/core/java/android/bluetooth/BluetoothMasInstance.java +++ b/core/java/android/bluetooth/BluetoothMasInstance.java @@ -36,7 +36,7 @@ public final class BluetoothMasInstance implements Parcelable { @Override public boolean equals(Object o) { if (o instanceof BluetoothMasInstance) { - return mId == ((BluetoothMasInstance)o).mId; + return mId == ((BluetoothMasInstance) o).mId; } return false; } @@ -58,14 +58,15 @@ public final class BluetoothMasInstance implements Parcelable { public static final Parcelable.Creator<BluetoothMasInstance> CREATOR = new Parcelable.Creator<BluetoothMasInstance>() { - public BluetoothMasInstance createFromParcel(Parcel in) { - return new BluetoothMasInstance(in.readInt(), in.readString(), - in.readInt(), in.readInt()); - } - public BluetoothMasInstance[] newArray(int size) { - return new BluetoothMasInstance[size]; - } - }; + public BluetoothMasInstance createFromParcel(Parcel in) { + return new BluetoothMasInstance(in.readInt(), in.readString(), + in.readInt(), in.readInt()); + } + + public BluetoothMasInstance[] newArray(int size) { + return new BluetoothMasInstance[size]; + } + }; public void writeToParcel(Parcel out, int flags) { out.writeInt(mId); @@ -75,10 +76,10 @@ public final class BluetoothMasInstance implements Parcelable { } public static final class MessageType { - public static final int EMAIL = 0x01; - public static final int SMS_GSM = 0x02; + public static final int EMAIL = 0x01; + public static final int SMS_GSM = 0x02; public static final int SMS_CDMA = 0x04; - public static final int MMS = 0x08; + public static final int MMS = 0x08; } public int getId() { |
