commit | 0cc8d81cc79a18a50ac4aa8833725c5be048cc70 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Fri Mar 21 16:58:44 2025 +0900 |
committer | Chalard Jean <jchalard@google.com> | Fri Mar 21 19:29:06 2025 +0900 |
tree | a5766d42bbe88b1a62dec1095961932e4579495f | |
parent | 324365a9014280a32395363e00642d01cc67814b [diff] |
Make sure tests know to handle both early creation true and false This is necessary to pass tests whatever the values of the features are. NetworkAgentTest was updated assuming the feature was true, so this patch revives the old code for when it's false. TestableNetworkAgent reads the feature directly from ConnectivityManager when it's not mocked. Test: CtsNetTestCases Change-Id: Ia556fbb1d1b6a38a4995b021981e2693d778bfff