diff options
| author | Sergey Nikolaienkov <sergeynv@google.com> | 2021-10-25 13:24:05 +0200 |
|---|---|---|
| committer | Sergey Nikolaienkov <sergeynv@google.com> | 2021-11-24 14:48:29 +0100 |
| commit | 74a54c9fceb2db7e1b999cc9bad37066ce1d91b5 (patch) | |
| tree | a1b648ae1838dcbbde3fd4c6705770401f9dadf8 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 3c8b0b82debc55ee634025555935a096bf834f7a (diff) | |
Refresh CompanionDeviceManager's API surface
Make the AssociationInfo and DeviceId classes public.
Deprecate the existing public associate() method that take a callback
based on onDeviceFound(), and introduce a new one that takes an
AssociationRequestCallback.
Deprecate the existing public disassociate() method that takes a MAC
address, and introduce another one that takes an associationId.
Deprecate the existing public getAssociations() method that returns a
list of MAC addresses, and introduce a new public method
getMyAssociations() that retuns a list of AssociationInfo objects.
Introduce new system API to retrieve list of all associations for a
user: getAllAssociations().
Introduce new system APIs for monitoring changes to the existing
associations: OnAssociationsChangedListener interface, and
add(remove)OnAssociationsChangedListener() methods.
Bug: 194301022
Test: atest CompanionDeviceManagerTest
Test: atest BluetoothInstrumentationTests
Test: atest SettingsRoboTests:NotificationBackendTest
Change-Id: Ic0235db29b26ed1a427c71edb2eb0df76fa4dc4c
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
