android_packages_modules_Co.../Tethering/common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr 0692aff5c5 Add more consistent null checks
This change moves the null check into the service implementation. Since
exceptions on oneway binder interfaces are ignored (across process), the
code was changed to just return early instead.

This also adds a couple of Objects.requireNonNull() assertions in
TetheringManager to assert the existing @NonNull annotation.

Test: TH
Bug: 337167681
Change-Id: I5301ed084bb26c2f910041e9b25314f8181718d1
2024-07-02 11:53:17 -07:00
..
TetheringLib Add more consistent null checks 2024-07-02 11:53:17 -07:00