commit | 9624c34468032a8a06ded3bb857ea0c9d1b27eb2 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Thu Apr 08 13:05:03 2021 +0000 |
committer | Junyu Lai <junyulai@google.com> | Fri Jun 11 01:43:26 2021 +0000 |
tree | 319c11279f9845740774424c88a72d6cac5275d8 | |
parent | 4bc7aca76a02eae59802e0484b1bcfe305ff84e5 [diff] |
Use registerIgnoringScore NetworkFactory has a method to see all requests regardless of the score. This is more robust and future-proof than setting a legacy int of 101 – there is no guarantee no agent will ever set more than 101 (in fact, VPNs already set 101, so this is already brittle). Bug: 184831106 Test: FrameworksTelephonyTests Merged-In: I0acb338d608016f2e144685f9088bf1384dea25f Change-Id: I0acb338d608016f2e144685f9088bf1384dea25f (cherry-picked from ag/14126949)