Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1ea0411b authored by Evan Chen's avatar Evan Chen
Browse files

Introduce CDM device presence base on UUID

1. Introduce a new API startObservingDevicePresence` that
able to observing the devices base on association id or
uuid.

2. Introduce a new request called DevicePresenceRequest allows
app to be able setUuid or setAssociationId. Not that,
caller can only use one setter. And only system app is able
to use setUuid.

2. Introduce a new callback that that system app
will be recieve when device is connected / disconnected.

3. Introduce a new Permission REQUEST_OBSERVE_DEVICE_UUID_PRESENCE
that with signature protection level.

4. Introduce a new ObservingDevicePresenceResult with
a new callback onDeviceEvent(ObservingDevicePresenceResult)

5. Deprecate the startObservingDevicePresence(MacAddress).

Test: cts
Bug: 316015619

Change-Id: I4e311866d7640218ed6dd9937911f984e88355ef
parent 9881b8a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment