commit | dcdc208f32d7e1e136fe34c345c9a072a39eeaad | [log] [tgz] |
---|---|---|
author | Tom Chan <tomchan@google.com> | Mon Dec 18 19:53:27 2023 +0000 |
committer | Tom Chan <tomchan@google.com> | Wed Feb 07 20:58:35 2024 +0000 |
tree | bfa77edd0f84a972c9ca97185165618c65e5652b | |
parent | 497253831d97507888df54119ca8f8737fc0db5a [diff] |
Add (un)registerDataRequestObserver API. This API allows a privileged app to listen to data requests from the WearableSensingService. The app can then provide the requested data using the existing provideData API. Rate limiting will be added in a follow-up to limit the scope of this change. Test: atest CtsWearableSensingServiceTestCases (see the CTS changes in the same topic) Bug: 301427767 Change-Id: I39fc7b094e7780a121e08428877baa671c634275