diff options
| author | Etienne Ruffieux <eruffieux@google.com> | 2021-10-25 21:38:16 +0000 |
|---|---|---|
| committer | Etienne Ruffieux <eruffieux@google.com> | 2021-10-25 21:42:17 +0000 |
| commit | 255c70fbbcf9f4521cbc8dad7f8a7f16c7c0e305 (patch) | |
| tree | 0ff12f6f2b278657db7dfa811fc78c23ce862b7e /core/java/android/bluetooth/BluetoothDevice.java | |
| parent | e8f2077feec8c548dbc2c6d08016b76edcc56eb8 (diff) | |
Revert "Removed BluetoothDevice#prepareToEnterProcess"
This reverts commit e8f2077feec8c548dbc2c6d08016b76edcc56eb8.
Reason for revert: Introducing regression for gms core
Test: None
Change-Id: I644b10c1869c12e1622300de43bfbdb57fb583d8
Diffstat (limited to 'core/java/android/bluetooth/BluetoothDevice.java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothDevice.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothDevice.java b/core/java/android/bluetooth/BluetoothDevice.java index 9caeb297ace3..c71fcc637cb9 100644 --- a/core/java/android/bluetooth/BluetoothDevice.java +++ b/core/java/android/bluetooth/BluetoothDevice.java @@ -1186,6 +1186,11 @@ public final class BluetoothDevice implements Parcelable, Attributable { mAttributionSource = attributionSource; } + /** {@hide} */ + public void prepareToEnterProcess(@NonNull AttributionSource attributionSource) { + setAttributionSource(attributionSource); + } + @Override public boolean equals(@Nullable Object o) { if (o instanceof BluetoothDevice) { |
