| commit | e3d1e4caa9e920d539b3bf5eeb18fc2e152b89eb | [log] [tgz] |
|---|---|---|
| author | Isaac Katzenelson <isaackatz@google.com> | Wed Feb 15 18:48:50 2023 +0000 |
| committer | Andrew Sapperstein <asapperstein@google.com> | Fri Feb 17 14:46:31 2023 +0000 |
| tree | 3aa5b4ed9c65aae8d49af4963fa7f1bf667410da | |
| parent | 7137d9165d25c7ddec6fe92e9d83a83ceceeafb0 [diff] |
Remove constructors and defer creating the Handler to onBind. Previously, the Handler couldn't be built because we tried to call getMainLooper() before the Service's base context was attached. Bug: 268741053 API-Coverage-Bug: 265968015 Test: atest SharedConnectivityServiceTest Change-Id: I70caac89ca69545e62b177872ef144b031cc4846