| commit | c3441007b2100fd02d834c866ee781595902322d | [log] [tgz] |
|---|---|---|
| author | Patrick Rohr <prohr@google.com> | Fri Mar 15 12:00:50 2024 -0700 |
| committer | Patrick Rohr <prohr@google.com> | Fri Mar 15 12:07:11 2024 -0700 |
| tree | 37a460161cf0deb340516ae5310b813322cf5138 | |
| parent | f42125c0ea3017070d3cf8a30a1dafe17ea09a01 [diff] |
Throw and catch exceptions for less bug prone lambda termination Previously, the initial comparison for mApfFilter == null called completeExceptionally() without actually breaking out of the lambda. In order to prevent this bug in the future, it is better to actually throw and catch the exception. This also slightly rewords an exception message to make it fit on one line. Test: adb shell cmd network_stack apf wlan0 status Change-Id: Ia7502cc74b3a0498fc4a14d9560acb60c6286cf9