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

Commit 8b811b38 authored by Sandeep Bandaru's avatar Sandeep Bandaru
Browse files

Implement `onInferenceInfo` callback for `ProcessingCallback`

This new callback is invoked when an `InferenceInfo` is received from the service.
To enable this new callback, caller need to set `OnDeviceIntelligenceManager.KEY_REQUEST_INFERENCE_INFO` to true in the associated request Bundle.

The `InferenceInfo` is also added in `InferenceInfoStore` to support `getLatestInferenceInfo` for battery usage tracking.

Flag: android.app.ondeviceintelligence.flags.on_device_intelligence_25q4
Bug: 372658837
Change-Id: I36ebe317760c8c45e8cad9f556e7511702727cf9
parent e71d26f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment