diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2018-03-27 10:12:18 -0700 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@google.com> | 2018-03-30 16:01:22 -0700 |
commit | 674696f92a4faeb80b6f3044817f08453acbf151 (patch) | |
tree | 4b1c6d8dccdd88ebae98fbb7f610c1491f8c54a2 /broadcastradio | |
parent | a6c6f2ecfc8e4161afea31d3b8563ced9d5fb48a (diff) | |
download | android_hardware_interfaces-674696f92a4faeb80b6f3044817f08453acbf151.tar.gz android_hardware_interfaces-674696f92a4faeb80b6f3044817f08453acbf151.tar.bz2 android_hardware_interfaces-674696f92a4faeb80b6f3044817f08453acbf151.zip |
Clear out ambiguity in broadcastradio@2.0 comments.
Bug: 76798863
Test: it builds
Change-Id: Icd13a187d3a002e6d1d0af8d360de31a75949b69
Diffstat (limited to 'broadcastradio')
-rw-r--r-- | broadcastradio/2.0/ITunerCallback.hal | 10 | ||||
-rw-r--r-- | broadcastradio/2.0/types.hal | 8 |
2 files changed, 13 insertions, 5 deletions
diff --git a/broadcastradio/2.0/ITunerCallback.hal b/broadcastradio/2.0/ITunerCallback.hal index ede8350ef..b20a0b2d9 100644 --- a/broadcastradio/2.0/ITunerCallback.hal +++ b/broadcastradio/2.0/ITunerCallback.hal @@ -17,12 +17,14 @@ package android.hardware.broadcastradio@2.0; interface ITunerCallback { /** - * Method called by the HAL when a tuning operation fails + * Method called by the HAL when a tuning operation fails asynchronously * following a step(), scan() or tune() command. * - * @param result OK if tune succeeded; - * TIMEOUT in case of time out. - * @param selector A ProgramSelector structure passed from tune(), + * This callback is only called when the step(), scan() or tune() command + * returned OK at first. + * + * @param result TIMEOUT in case of time out. + * @param selector A ProgramSelector structure passed from tune() call; * empty for step() and scan(). */ oneway onTuneFailed(Result result, ProgramSelector selector); diff --git a/broadcastradio/2.0/types.hal b/broadcastradio/2.0/types.hal index a9b960098..1ce61dfe9 100644 --- a/broadcastradio/2.0/types.hal +++ b/broadcastradio/2.0/types.hal @@ -351,10 +351,16 @@ struct ProgramInfo { * related content (i.e. DAB soft-links). This field is a list of pointers * to other programs on the program list. * - * Please note, that these identifiers does not have to exist on the program + * This is not a list of programs that carry the same content (i.e. + * DAB hard-links, RDS AF). Switching to programs from this list usually + * require user action. + * + * Please note, that these identifiers do not have to exist on the program * list - i.e. DAB tuner may provide information on FM RDS alternatives * despite not supporting FM RDS. If the system has multiple tuners, another * one may have it on its list. + * + * This field is optional (can be empty). */ vec<ProgramIdentifier> relatedContent; |