commit | 2d260e9e3576c742e61112111cd226d0a5d25ff3 | [log] [tgz] |
---|---|---|
author | Quang Anh Luong <qal@google.com> | Tue Dec 17 18:30:16 2024 +0900 |
committer | Quang Anh Luong <qal@google.com> | Wed Dec 18 13:53:04 2024 +0900 |
tree | 7563bdbf1bbd51e6d79ba9db79d5934f1d4fe5df | |
parent | 495fe091109cdfd6069c908213cba322b508de38 [diff] |
Fix legacy tether behavior for duplicate requests Legacy duplicate tethering requests would restart tethering if a pending request existed that was different (via equals()) from the new request. However, this behavior existed before uid/package name was added to TetheringRequest#equals(), so we should use new method to check equality while ignoring uid/package name. Bug: 216524590 Test: atest TetheringTest TetheringManagerTest Change-Id: I962c7b4d8efc7f631077d6fa0f87f52ee779192e