diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-04-01 22:37:43 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-04-01 22:37:43 +0000 |
| commit | 463454432bb55b24c655e16e84c0143bf41ea485 (patch) | |
| tree | c1113a5c977559a0d6670d13a05ffed6ba56a894 /core/java | |
| parent | 72e80b5b1a727e8f4aad628137d0c2be6c03e423 (diff) | |
| parent | 875ff327e0a92e7bf415c061989af21dc126a871 (diff) | |
Merge "BluetoothHealth: hide auto-created default constructors"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothHealth.java | 5 | ||||
| -rw-r--r-- | core/java/android/bluetooth/BluetoothHealthAppConfiguration.java | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothHealth.java b/core/java/android/bluetooth/BluetoothHealth.java index e2e56fd02ab7..5fd60e001693 100644 --- a/core/java/android/bluetooth/BluetoothHealth.java +++ b/core/java/android/bluetooth/BluetoothHealth.java @@ -99,6 +99,11 @@ public final class BluetoothHealth implements BluetoothProfile { @Deprecated public static final int CHANNEL_TYPE_STREAMING = 11; + /** + * Hide auto-created default constructor + * @hide + */ + BluetoothHealth() {} /** * Register an application configuration that acts as a Health SINK. diff --git a/core/java/android/bluetooth/BluetoothHealthAppConfiguration.java b/core/java/android/bluetooth/BluetoothHealthAppConfiguration.java index 9788bbf74e3e..e960ed64dcb9 100644 --- a/core/java/android/bluetooth/BluetoothHealthAppConfiguration.java +++ b/core/java/android/bluetooth/BluetoothHealthAppConfiguration.java @@ -33,6 +33,13 @@ import android.os.Parcelable; */ @Deprecated public final class BluetoothHealthAppConfiguration implements Parcelable { + + /** + * Hide auto-created default constructor + * @hide + */ + BluetoothHealthAppConfiguration() {} + @Override public int describeContents() { return 0; |
